osi.scss 10.0 KB

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