1
0

simple.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. /**
  2. * A simple theme for reveal.js presentations, similar
  3. * to the default theme. The accent color is darkblue.
  4. *
  5. * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
  6. * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
  7. */
  8. @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
  9. @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
  10. section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
  11. color: #fff;
  12. }
  13. /*********************************************
  14. * GLOBAL STYLES
  15. *********************************************/
  16. :root {
  17. --background-color: #fff;
  18. --main-font: Lato, sans-serif;
  19. --main-font-size: 40px;
  20. --main-color: #000;
  21. --block-margin: 20px;
  22. --heading-margin: 0 0 20px 0;
  23. --heading-font: News Cycle, Impact, sans-serif;
  24. --heading-color: #000;
  25. --heading-line-height: 1.2;
  26. --heading-letter-spacing: normal;
  27. --heading-text-transform: none;
  28. --heading-text-shadow: none;
  29. --heading-font-weight: normal;
  30. --heading1-text-shadow: none;
  31. --heading1-size: 3.77em;
  32. --heading2-size: 2.11em;
  33. --heading3-size: 1.55em;
  34. --heading4-size: 1em;
  35. --code-font: monospace;
  36. --link-color: #00008B;
  37. --link-color-hover: #0000f1;
  38. --selection-background-color: rgba(0, 0, 0, 0.99);
  39. --selection-color: #fff;
  40. }
  41. .reveal-viewport {
  42. background: #fff;
  43. background-color: #fff;
  44. }
  45. .reveal {
  46. font-family: "Lato", sans-serif;
  47. font-size: 40px;
  48. font-weight: normal;
  49. color: #000;
  50. }
  51. .reveal ::selection {
  52. color: #fff;
  53. background: rgba(0, 0, 0, 0.99);
  54. text-shadow: none;
  55. }
  56. .reveal ::-moz-selection {
  57. color: #fff;
  58. background: rgba(0, 0, 0, 0.99);
  59. text-shadow: none;
  60. }
  61. .reveal .slides section,
  62. .reveal .slides section > section {
  63. line-height: 1.3;
  64. font-weight: inherit;
  65. }
  66. /*********************************************
  67. * HEADERS
  68. *********************************************/
  69. .reveal h1,
  70. .reveal h2,
  71. .reveal h3,
  72. .reveal h4,
  73. .reveal h5,
  74. .reveal h6 {
  75. margin: 0 0 20px 0;
  76. color: #000;
  77. font-family: "News Cycle", Impact, sans-serif;
  78. font-weight: normal;
  79. line-height: 1.2;
  80. letter-spacing: normal;
  81. text-transform: none;
  82. text-shadow: none;
  83. word-wrap: break-word;
  84. }
  85. .reveal h1 {
  86. font-size: 3.77em;
  87. }
  88. .reveal h2 {
  89. font-size: 2.11em;
  90. }
  91. .reveal h3 {
  92. font-size: 1.55em;
  93. }
  94. .reveal h4 {
  95. font-size: 1em;
  96. }
  97. .reveal h1 {
  98. text-shadow: none;
  99. }
  100. /*********************************************
  101. * OTHER
  102. *********************************************/
  103. .reveal p {
  104. margin: 20px 0;
  105. line-height: 1.3;
  106. }
  107. /* Remove trailing margins after titles */
  108. .reveal h1:last-child,
  109. .reveal h2:last-child,
  110. .reveal h3:last-child,
  111. .reveal h4:last-child,
  112. .reveal h5:last-child,
  113. .reveal h6:last-child {
  114. margin-bottom: 0;
  115. }
  116. /* Ensure certain elements are never larger than the slide itself */
  117. .reveal img,
  118. .reveal video,
  119. .reveal iframe {
  120. max-width: 95%;
  121. max-height: 95%;
  122. }
  123. .reveal strong,
  124. .reveal b {
  125. font-weight: bold;
  126. }
  127. .reveal em {
  128. font-style: italic;
  129. }
  130. .reveal ol,
  131. .reveal dl,
  132. .reveal ul {
  133. display: inline-block;
  134. text-align: left;
  135. margin: 0 0 0 1em;
  136. }
  137. .reveal ol {
  138. list-style-type: decimal;
  139. }
  140. .reveal ul {
  141. list-style-type: disc;
  142. }
  143. .reveal ul ul {
  144. list-style-type: square;
  145. }
  146. .reveal ul ul ul {
  147. list-style-type: circle;
  148. }
  149. .reveal ul ul,
  150. .reveal ul ol,
  151. .reveal ol ol,
  152. .reveal ol ul {
  153. display: block;
  154. margin-left: 40px;
  155. }
  156. .reveal dt {
  157. font-weight: bold;
  158. }
  159. .reveal dd {
  160. margin-left: 40px;
  161. }
  162. .reveal blockquote {
  163. display: block;
  164. position: relative;
  165. width: 70%;
  166. margin: 20px auto;
  167. padding: 5px;
  168. font-style: italic;
  169. background: rgba(255, 255, 255, 0.05);
  170. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  171. }
  172. .reveal blockquote p:first-child,
  173. .reveal blockquote p:last-child {
  174. display: inline-block;
  175. }
  176. .reveal q {
  177. font-style: italic;
  178. }
  179. .reveal pre {
  180. display: block;
  181. position: relative;
  182. width: 90%;
  183. margin: 20px auto;
  184. text-align: left;
  185. font-size: 0.55em;
  186. font-family: monospace;
  187. line-height: 1.2em;
  188. word-wrap: break-word;
  189. box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  190. }
  191. .reveal code {
  192. font-family: monospace;
  193. text-transform: none;
  194. tab-size: 2;
  195. }
  196. .reveal pre code {
  197. display: block;
  198. padding: 5px;
  199. overflow: auto;
  200. max-height: 400px;
  201. word-wrap: normal;
  202. }
  203. .reveal table {
  204. margin: auto;
  205. border-collapse: collapse;
  206. border-spacing: 0;
  207. }
  208. .reveal table th {
  209. font-weight: bold;
  210. }
  211. .reveal table th,
  212. .reveal table td {
  213. text-align: left;
  214. padding: 0.2em 0.5em 0.2em 0.5em;
  215. border-bottom: 1px solid;
  216. }
  217. .reveal table th[align=center],
  218. .reveal table td[align=center] {
  219. text-align: center;
  220. }
  221. .reveal table th[align=right],
  222. .reveal table td[align=right] {
  223. text-align: right;
  224. }
  225. .reveal table tbody tr:last-child th,
  226. .reveal table tbody tr:last-child td {
  227. border-bottom: none;
  228. }
  229. .reveal sup {
  230. vertical-align: super;
  231. font-size: smaller;
  232. }
  233. .reveal sub {
  234. vertical-align: sub;
  235. font-size: smaller;
  236. }
  237. .reveal small {
  238. display: inline-block;
  239. font-size: 0.6em;
  240. line-height: 1.2em;
  241. vertical-align: top;
  242. }
  243. .reveal small * {
  244. vertical-align: top;
  245. }
  246. .reveal img {
  247. margin: 20px 0;
  248. }
  249. /*********************************************
  250. * LINKS
  251. *********************************************/
  252. .reveal a {
  253. color: #00008B;
  254. text-decoration: none;
  255. transition: color 0.15s ease;
  256. }
  257. .reveal a:hover {
  258. color: #0000f1;
  259. text-shadow: none;
  260. border: none;
  261. }
  262. .reveal .roll span:after {
  263. color: #fff;
  264. background: #00003f;
  265. }
  266. /*********************************************
  267. * Frame helper
  268. *********************************************/
  269. .reveal .r-frame {
  270. border: 4px solid #000;
  271. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  272. }
  273. .reveal a .r-frame {
  274. transition: all 0.15s linear;
  275. }
  276. .reveal a:hover .r-frame {
  277. border-color: #00008B;
  278. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  279. }
  280. /*********************************************
  281. * NAVIGATION CONTROLS
  282. *********************************************/
  283. .reveal .controls {
  284. color: #00008B;
  285. }
  286. /*********************************************
  287. * PROGRESS BAR
  288. *********************************************/
  289. .reveal .progress {
  290. background: rgba(0, 0, 0, 0.2);
  291. color: #00008B;
  292. }
  293. /*********************************************
  294. * PRINT BACKGROUND
  295. *********************************************/
  296. @media print {
  297. .backgrounds {
  298. background-color: #fff;
  299. }
  300. }