osi.scss~ 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  1. /**
  2. * OSI theme for reveal.js.
  3. *
  4. */
  5. // Default mixins and settings -----------------
  6. @import "../template/mixins";
  7. @import "../template/settings";
  8. // ---------------------------------------------
  9. // Include theme-specific fonts
  10. @font-face {
  11. font-family: 'League Gothic';
  12. src: url('../../lib/font/league_gothic-webfont.eot');
  13. src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
  14. url('../../lib/font/league_gothic-webfont.woff') format('woff'),
  15. url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
  16. url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
  17. font-weight: normal;
  18. font-style: normal;
  19. }
  20. @font-face {
  21. font-family: 'Lato';
  22. font-style: normal;
  23. font-weight: 400;
  24. src: local('Lato Regular'), local('Lato-Regular'), url('../../lib/font/qIIYRU-oROkIk8vfvxw6QvesZW2xOQ-xsNqO47m55DA.woff') format('woff');
  25. }
  26. @font-face {
  27. font-family: 'Lato';
  28. font-style: normal;
  29. font-weight: 700;
  30. src: local('Lato Bold'), local('Lato-Bold'), url('../../lib/font/qdgUG4U09HnJwhYI-uK18wLUuEpTyoUstqEm5AMlJo4.woff') format('woff');
  31. }
  32. @font-face {
  33. font-family: 'Lato';
  34. font-style: italic;
  35. font-weight: 400;
  36. src: local('Lato Italic'), local('Lato-Italic'), url('../../lib/font/RYyZNoeFgb0l7W3Vu1aSWOvvDin1pK8aKteLpeZ5c0A.woff') format('woff');
  37. }
  38. @font-face {
  39. font-family: 'Lato';
  40. font-style: italic;
  41. font-weight: 700;
  42. src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url('../../lib/font/HkF_qI1x_noxlxhrhMQYELO3LdcAZYWl9Si6vvxL-qU.woff') format('woff');
  43. }
  44. @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
  45. // CUSTOM
  46. $inverseColor: #e7d6c3;
  47. $shadowLight: 0 0 6px rgba(0,0,0,.2);
  48. $blueGray: #647a8e;
  49. $redTile: #ca3b28;
  50. $red: #d2533a;
  51. $green: #5a9b47;
  52. $orange: #ff8a00;
  53. $titleFont: 'League Gothic';
  54. // Override theme settings (see ../template/settings.scss)
  55. $mainColor: #333;
  56. $headingColor: #333;
  57. $headingTextShadow: none;
  58. $backgroundColor: #e9f6fb;
  59. $linkColor: #ff8a00;
  60. $linkColorHover: lighten( $linkColor, 20% );
  61. $selectionBackgroundColor: $blueGray;
  62. $heading1TextShadow: none;
  63. $h1Size: 3.2em;
  64. // Background generator
  65. @mixin bodyBackground() {
  66. @include radial-gradient( #ecf4fb, rgba(255,255,255,1) );
  67. }
  68. // Theme template ------------------------------
  69. @import "../template/theme";
  70. // ---------------------------------------------
  71. /*********************************************
  72. * CUSTOM
  73. *********************************************/
  74. .reveal .slides {
  75. width: 1024px;
  76. }
  77. .reveal .custom.inverse {
  78. color: $inverseColor;
  79. }
  80. .reveal h1 {
  81. font-size: $h1Size;
  82. }
  83. .reveal h1.chapter {
  84. color: $orange;
  85. margin-top: 0.8em;
  86. padding: 10px;
  87. }
  88. .reveal .release-date {
  89. color: $blueGray;
  90. }
  91. .reveal .right {
  92. text-align: right;
  93. width: 100%;
  94. }
  95. .reveal .left {
  96. text-align: left;
  97. width: 100%;
  98. }
  99. .reveal .name{
  100. margin-top: 1.5em;
  101. }
  102. .footer {
  103. bottom: 40px;
  104. left: 30px;
  105. position: fixed;
  106. width: 100%;
  107. z-index: 0;
  108. }
  109. .reveal .footnote,
  110. .reveal .note {
  111. bottom: 10px;
  112. color: #899594;
  113. display: inline-block;
  114. font-size: 45%;
  115. margin-left: auto;
  116. margin-right: auto;
  117. position: relative;
  118. text-align: center;
  119. width: 80%;
  120. }
  121. .reveal .note {
  122. color: $blueGray;
  123. }
  124. .reveal .illustration img,
  125. .reveal .diagramme img {
  126. border: none;
  127. box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  128. max-height: 65%;
  129. max-width: 65%;
  130. }
  131. .reveal .illustration-full img,
  132. .reveal .diagramme-full img {
  133. border: none;
  134. box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  135. margin: 0;
  136. max-height: 85%;
  137. max-width: 85%;
  138. padding: 0;
  139. }
  140. .reveal .slides section.full,
  141. .reveal section.full img {
  142. margin: 0;
  143. padding: 0;
  144. }
  145. p.caption {
  146. font-size: 60%;
  147. font-style: italic;
  148. }
  149. .reveal code {
  150. box-shadow: $shadowLight;
  151. font-size: .75em;
  152. font-family: monospace;
  153. line-height: 1.2em;
  154. margin: 0 0.35em;
  155. padding: 0 .15em;
  156. word-wrap: break-word;
  157. }
  158. .reveal .high {
  159. color: $orange;
  160. }
  161. .reveal code.high {
  162. background-color: $orange;
  163. color: white;
  164. }
  165. .reveal .codeblock {
  166. display: block;
  167. font-size: .55em;
  168. margin: 0.15em 0 0.15em 1em;
  169. max-height: 495px;
  170. overflow: auto;
  171. padding: 0.3em 0.5em;
  172. }
  173. .reveal .ab {
  174. display: block;
  175. font-size: .6em;
  176. margin: 0.15em 0 0.15em 1em;
  177. max-height: 495px;
  178. overflow: auto;
  179. padding: 0.3em 0.5em;
  180. }
  181. .reveal blockquote {
  182. background: rgba(255,255,255,.05);
  183. box-shadow: none;
  184. color: $blueGray;
  185. line-height: 1.5em;
  186. margin: auto;
  187. padding: auto;
  188. font-style: italic;
  189. width: 100%;
  190. }
  191. .reveal blockquote.quote-small {
  192. background: rgba(255,255,255,.05);
  193. box-shadow: none;
  194. color: $blueGray;
  195. font-size: 0.8em;
  196. line-height: 1.2em;
  197. margin: auto auto 0.8em auto;
  198. padding: auto;
  199. font-style: italic;
  200. width: 100%;
  201. }
  202. .reveal .quoteinverse {
  203. background-color: $blueGray;
  204. color: white;
  205. padding: 0 0.15em;
  206. }
  207. .reveal .quote-underline {
  208. border-bottom: solid 5px $blueGray;
  209. }
  210. .reveal ol,
  211. .reveal ul {
  212. font-size: 0.9em;
  213. list-style-type: none;
  214. margin: 0 0 0 1.5em;
  215. }
  216. .reveal li {
  217. margin-bottom: 0.2em;
  218. }
  219. .reveal ol li:before,
  220. .reveal ul li:before {
  221. color: $orange;
  222. content: "● ";
  223. }
  224. .reveal ul ul ul,
  225. .reveal ul ul {
  226. list-style-type: none;
  227. }
  228. .reveal ul ul li:before {
  229. color: $orange;
  230. content: "– ";
  231. }
  232. .reveal ul ul ul li:before {
  233. color: $blueGray;
  234. content: "· ";
  235. }
  236. .reveal ul ul ul li {
  237. line-height: 1;
  238. margin: 0 auto;
  239. padding: 0 auto;
  240. }
  241. .reveal ul ul,
  242. .reveal ul ol,
  243. .reveal ol ol,
  244. .reveal ol ul {
  245. margin-left: 2.5em;
  246. }
  247. .reveal blockquote li {
  248. margin-bottom: 0.7em;
  249. }
  250. .reveal blockquote ol li:before,
  251. .reveal blockquote ul li:before {
  252. color: $blueGray;
  253. content: "";
  254. }
  255. .reveal blockquote ul ul ul,
  256. .reveal blockquote ul ul {
  257. list-style-type: circle;
  258. }
  259. .reveal blockquote ul ul ul li:before,
  260. .reveal blockquote ul ul li:before {
  261. color: $blueGray;
  262. content: "";
  263. }
  264. .reveal blockquote ul ul,
  265. .reveal blockquote ul ol,
  266. .reveal blockquote ol ol,
  267. .reveal blockquote ol ul {
  268. margin-left: auto;
  269. }
  270. .reveal .highlight {
  271. background-color: $orange;
  272. border-radius: 0.4em;
  273. color: white;
  274. font-size: 0.75em;
  275. margin-left: 1em;
  276. padding: 0.1em 0.3em;
  277. }
  278. .reveal .highlight:before {
  279. content: "→ ";
  280. }
  281. .reveal table {
  282. margin-bottom: 1em;
  283. }
  284. .reveal p.theme-name {
  285. color: $blueGray;
  286. font-family: $titleFont;
  287. font-size: 1.2em;
  288. float: left;
  289. margin-top: 0.5em;
  290. text-align: left;
  291. text-transform: uppercase;
  292. }
  293. .reveal table.new {
  294. font-size: 0.8em;
  295. line-height: 1.35;
  296. margin-bottom: 0.5em;
  297. margin-top: 0.5em;
  298. width: 100%;
  299. }
  300. .reveal .new th {
  301. color: $blueGray;
  302. font-family: $titleFont;
  303. text-transform: uppercase;
  304. width: 12%;
  305. }
  306. .reveal .new td:before {
  307. color: $orange;
  308. content: "· ";
  309. }
  310. .reveal .two-columns-left {
  311. float: left;
  312. margin: auto 0;
  313. width: 47.5%;
  314. }
  315. .reveal .two-columns-right {
  316. float: right;
  317. margin: auto 0;
  318. width: 47.5%;
  319. }
  320. .reveal table {
  321. width: 100%;
  322. }
  323. .reveal .compare-table {
  324. border-collapse: collapse;
  325. line-height: 1.1;
  326. margin-top: 1.5em;
  327. padding: 0.4em;
  328. width: 100%;
  329. }
  330. .reveal .compare-table tr.first-row {
  331. padding-bottom: 1em;
  332. }
  333. .reveal .compare-table th {
  334. width: 16%;
  335. }
  336. .reveal .compare-table td {
  337. width: 28%;
  338. }
  339. .reveal .compare-table thead {
  340. font-size: 0.75em;
  341. }
  342. .reveal .compare-table.six thead {
  343. color: $blueGray;
  344. }
  345. .reveal .compare-table.seven thead {
  346. color: $green;
  347. }
  348. .reveal .compare-table.eight thead {
  349. color: $red;
  350. }
  351. .reveal .compare-table tbody {
  352. border-top: 5px solid rgba(255,255,255,0);
  353. font-size: 0.65em;
  354. }
  355. .reveal .compare-table thead th {
  356. font-family: $titleFont;
  357. font-size: 1.2em;
  358. position: relative;
  359. top: 0.2em;
  360. text-transform: uppercase;
  361. }
  362. .reveal section img.cover-img {
  363. background: none;
  364. border: none;
  365. box-shadow: none;
  366. margin: 0;
  367. }
  368. .reveal div.cover-osi {
  369. color: $blueGray;
  370. position: relative;
  371. top: 2em;
  372. }
  373. .reveal div.cover-osi h3 {
  374. color: $blueGray;
  375. }
  376. .reveal .downer {
  377. margin-top: 1.5em;
  378. }
  379. .reveal h3.people {
  380. margin-top: 0.8em;
  381. }
  382. .reveal table.people {
  383. font-size: 0.75em;
  384. line-height: 1;
  385. margin: 1em 0 1.7em 0;
  386. tr {
  387. }
  388. td {
  389. border-bottom: 5px solid rgba(255,255,255,0);
  390. margin: 0;
  391. padding: 0;
  392. }
  393. .td-middle {
  394. border-left: 15px solid rgba(255,255,255,0);
  395. border-right: 15px solid rgba(255,255,255,0);
  396. }
  397. img {
  398. max-width: 100%;
  399. }
  400. }
  401. .reveal .blue {
  402. color: $blueGray;
  403. }
  404. .reveal .lowercase {
  405. text-transform: none;
  406. }