osi.scss~ 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  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. $gray: #899594;
  55. $defaultFontSize: 28px;
  56. // Override theme settings (see ../template/settings.scss)
  57. $mainColor: #333;
  58. $headingColor: #333;
  59. $headingTextShadow: none;
  60. $backgroundColor: #e9f6fb;
  61. $linkColor: #ff8a00;
  62. $linkColorHover: lighten( $linkColor, 20% );
  63. $selectionBackgroundColor: $blueGray;
  64. $heading1TextShadow: none;
  65. $h1Size: 3.2em;
  66. // Background generator
  67. @mixin bodyBackground() {
  68. @include radial-gradient( #ecf4fb, rgba(255,255,255,1) );
  69. }
  70. // Theme template ------------------------------
  71. @import "../template/theme";
  72. // ---------------------------------------------
  73. /*********************************************
  74. * CUSTOM
  75. *********************************************/
  76. .reveal {
  77. letter-spacing: 0em;
  78. }
  79. .reveal p {
  80. margin-bottom: 0.6em;
  81. }
  82. .reveal .slides section {
  83. font-size: $defaultFontSize;
  84. }
  85. .reveal .slides {
  86. width: 1024px;
  87. }
  88. .reveal .custom.inverse {
  89. color: $inverseColor;
  90. }
  91. .reveal h1 {
  92. font-size: $h1Size;
  93. }
  94. .reveal h1,
  95. .reveal h2,
  96. .reveal h3 {
  97. color: $blueGray;
  98. }
  99. .reveal h1.chapter {
  100. color: $orange;
  101. margin-top: 0.8em;
  102. padding: 10px;
  103. }
  104. .reveal .release-date {
  105. color: $blueGray;
  106. }
  107. .reveal .right {
  108. text-align: right;
  109. width: 100%;
  110. }
  111. .reveal .left {
  112. text-align: left;
  113. width: 100%;
  114. }
  115. .reveal .name{
  116. margin-top: 1.5em;
  117. }
  118. .footer {
  119. bottom: 40px;
  120. left: 30px;
  121. position: fixed;
  122. width: 100%;
  123. z-index: 0;
  124. }
  125. .reveal .footnote,
  126. .reveal .note {
  127. bottom: 10px;
  128. color: $gray;
  129. display: inline-block;
  130. font-size: 45%;
  131. margin-left: auto;
  132. margin-right: auto;
  133. position: relative;
  134. text-align: center;
  135. width: 80%;
  136. }
  137. .reveal .note {
  138. color: $blueGray;
  139. }
  140. .reveal .illustration img,
  141. .reveal .diagramme img {
  142. border: none;
  143. box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  144. max-height: 65%;
  145. max-width: 65%;
  146. }
  147. .reveal .reference img {
  148. float: left;
  149. max-width: 98%;
  150. }
  151. .reveal td.reference {
  152. color: $gray;
  153. font-size: 70%;
  154. font-style: italic;
  155. width: 25%;
  156. }
  157. .reveal .illustration-full img,
  158. .reveal .diagramme-full img {
  159. border: none;
  160. box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  161. margin: 0;
  162. max-height: 85%;
  163. max-width: 85%;
  164. padding: 0;
  165. }
  166. .reveal .slides section.full,
  167. .reveal section.full img {
  168. margin: 0;
  169. padding: 0;
  170. }
  171. p.caption {
  172. font-size: 60%;
  173. font-style: italic;
  174. }
  175. .reveal code {
  176. box-shadow: $shadowLight;
  177. font-size: .75em;
  178. font-family: monospace;
  179. line-height: 1.2em;
  180. margin: 0 0.35em;
  181. padding: 0 .15em;
  182. word-wrap: break-word;
  183. }
  184. .reveal .high {
  185. color: $orange;
  186. }
  187. .reveal code.high {
  188. background-color: $orange;
  189. color: white;
  190. }
  191. .reveal .codeblock {
  192. display: block;
  193. font-size: .55em;
  194. margin: 0.15em 0 0.15em 1em;
  195. max-height: 495px;
  196. overflow: auto;
  197. padding: 0.3em 0.5em;
  198. }
  199. .reveal .ab {
  200. display: block;
  201. font-size: .6em;
  202. margin: 0.15em 0 0.15em 1em;
  203. max-height: 495px;
  204. overflow: auto;
  205. padding: 0.3em 0.5em;
  206. }
  207. .reveal blockquote {
  208. background: rgba(255,255,255,.05);
  209. box-shadow: none;
  210. color: $blueGray;
  211. line-height: 1.5em;
  212. margin: auto;
  213. padding: auto;
  214. font-style: italic;
  215. width: 100%;
  216. }
  217. .reveal blockquote.quote-small {
  218. background: rgba(255,255,255,.05);
  219. box-shadow: none;
  220. color: $blueGray;
  221. font-size: 0.8em;
  222. line-height: 1.2em;
  223. margin: auto auto 0.8em auto;
  224. padding: auto;
  225. font-style: italic;
  226. width: 100%;
  227. }
  228. .reveal .quoteinverse {
  229. background-color: $blueGray;
  230. color: white;
  231. padding: 0 0.15em;
  232. }
  233. .reveal .quote-underline {
  234. border-bottom: solid 5px $blueGray;
  235. }
  236. .reveal ol,
  237. .reveal ul {
  238. list-style-type: none;
  239. margin: 0 0 0.85em 1.5em;
  240. }
  241. .reveal li {
  242. margin-bottom: 0.6em;
  243. }
  244. .reveal li ul {
  245. margin-top: 0.6em;
  246. }
  247. .reveal ol li:before,
  248. .reveal ul li:before {
  249. color: $orange;
  250. content: "● ";
  251. }
  252. .reveal ul ul ul,
  253. .reveal ul ul {
  254. list-style-type: none;
  255. }
  256. .reveal ul ul li:before {
  257. color: $orange;
  258. content: "– ";
  259. }
  260. .reveal ul ul ul li:before {
  261. color: $blueGray;
  262. content: "· ";
  263. }
  264. .reveal ul ul ul li {
  265. line-height: 1;
  266. margin: 0 auto;
  267. padding: 0 auto;
  268. }
  269. .reveal ul ul,
  270. .reveal ul ol,
  271. .reveal ol ol,
  272. .reveal ol ul {
  273. margin-left: 1.5em;
  274. }
  275. .reveal ul,
  276. .reveal ol {
  277. text-indent: -0.7em;
  278. }
  279. .reveal ul ul,
  280. .reveal ul ol,
  281. .reveal ol ol,
  282. .reveal ol ul {
  283. text-indent: -0.6em;
  284. }
  285. .reveal blockquote li {
  286. margin-bottom: 0.7em;
  287. }
  288. .reveal blockquote ol li:before,
  289. .reveal blockquote ul li:before {
  290. color: $blueGray;
  291. content: "";
  292. }
  293. .reveal blockquote ul ul ul,
  294. .reveal blockquote ul ul {
  295. list-style-type: circle;
  296. }
  297. .reveal blockquote ul ul ul li:before,
  298. .reveal blockquote ul ul li:before {
  299. color: $blueGray;
  300. content: "";
  301. }
  302. .reveal blockquote ul ul,
  303. .reveal blockquote ul ol,
  304. .reveal blockquote ol ol,
  305. .reveal blockquote ol ul {
  306. margin-left: auto;
  307. }
  308. .reveal .highlight {
  309. background-color: $orange;
  310. border-radius: 0.4em;
  311. color: white;
  312. font-size: 0.75em;
  313. margin-left: 1em;
  314. padding: 0.1em 0.3em;
  315. }
  316. .reveal .highlight:before {
  317. content: "→ ";
  318. }
  319. .reveal table {
  320. margin-bottom: 1em;
  321. margin-top: 1.2em;
  322. width: 100%;
  323. tr.third td {
  324. width: 33%;
  325. }
  326. tr.half td {
  327. width: 50%;
  328. }
  329. .table-title {
  330. border-bottom: 15px solid rgba(255,255,255,0);
  331. color: $redTile;
  332. font-size: 110%;
  333. }
  334. .table-description {
  335. border-bottom: 10px solid rgba(255,255,255,0);
  336. font-size: 90%;
  337. }
  338. .table-extra {
  339. color: $green;
  340. font-size: 75%;
  341. &:before {
  342. content: "➤ ";
  343. }
  344. }
  345. }
  346. .reveal p.theme-name {
  347. color: $blueGray;
  348. font-family: $titleFont;
  349. font-size: 1.2em;
  350. float: left;
  351. margin-top: 0.5em;
  352. text-align: left;
  353. text-transform: uppercase;
  354. }
  355. .reveal table.new {
  356. font-size: 0.8em;
  357. line-height: 1.35;
  358. margin-bottom: 0.5em;
  359. margin-top: 0.5em;
  360. width: 100%;
  361. }
  362. .reveal .new th {
  363. color: $blueGray;
  364. font-family: $titleFont;
  365. text-transform: uppercase;
  366. width: 12%;
  367. }
  368. .reveal .new td:before {
  369. color: $orange;
  370. content: "· ";
  371. }
  372. .reveal .two-columns-left {
  373. float: left;
  374. margin: auto 0;
  375. width: 47.5%;
  376. }
  377. .reveal .two-columns-right {
  378. float: right;
  379. margin: auto 0;
  380. width: 47.5%;
  381. }
  382. .reveal .compare-table {
  383. border-collapse: collapse;
  384. line-height: 1.1;
  385. margin-top: 1em;
  386. padding: 0.4em;
  387. width: 100%;
  388. }
  389. .reveal .compare-table tr.first-row {
  390. padding-bottom: 1em;
  391. }
  392. .reveal .compare-table th {
  393. width: 16%;
  394. }
  395. .reveal .compare-table td {
  396. width: 28%;
  397. }
  398. .reveal .compare-table thead {
  399. font-size: 0.75em;
  400. }
  401. .reveal .compare-table.six thead {
  402. color: $blueGray;
  403. }
  404. .reveal .compare-table.seven thead {
  405. color: $green;
  406. }
  407. .reveal .compare-table.eight thead {
  408. color: $red;
  409. }
  410. .reveal .compare-table tbody {
  411. border-top: 5px solid rgba(255,255,255,0);
  412. font-size: 0.65em;
  413. }
  414. .reveal .compare-table thead th {
  415. font-family: $titleFont;
  416. font-size: 1.2em;
  417. position: relative;
  418. top: 0.2em;
  419. text-transform: uppercase;
  420. }
  421. .reveal section img.cover-img {
  422. background: none;
  423. border: none;
  424. box-shadow: none;
  425. margin: 0;
  426. }
  427. .reveal div.cover-osi {
  428. color: $blueGray;
  429. position: relative;
  430. top: 2em;
  431. }
  432. .reveal div.cover-osi h3 {
  433. color: $blueGray;
  434. }
  435. .reveal .downer {
  436. margin-top: 1.5em;
  437. }
  438. .reveal h3.people {
  439. margin-top: 0.8em;
  440. }
  441. .reveal table.people {
  442. font-size: 0.75em;
  443. line-height: 1;
  444. margin: 1em 0 1.7em 0;
  445. tr {
  446. width: 100%;
  447. }
  448. td {
  449. border-bottom: 5px solid rgba(255,255,255,0);
  450. margin: 0;
  451. padding: 0;
  452. width: 306px;
  453. }
  454. .td-middle {
  455. border-left: 15px solid rgba(255,255,255,0);
  456. border-right: 15px solid rgba(255,255,255,0);
  457. }
  458. img {
  459. max-width: 306px;
  460. }
  461. }
  462. .reveal .blue {
  463. color: $blueGray;
  464. }
  465. .reveal .orange {
  466. color: $orange;
  467. }
  468. .reveal .lowercase {
  469. text-transform: none;
  470. }
  471. .reveal div.programme {
  472. margin: 1em auto;
  473. }