simple.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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. * GLOBAL STYLES
  14. *********************************************/
  15. body {
  16. background: #fff;
  17. background-color: #fff; }
  18. html:-webkit-full-screen-ancestor {
  19. background: #fff;
  20. background-color: #fff; }
  21. html:-moz-full-screen-ancestor {
  22. background: #fff;
  23. background-color: #fff; }
  24. .reveal {
  25. font-family: "Lato", sans-serif;
  26. font-size: 40px;
  27. font-weight: normal;
  28. color: #000; }
  29. ::selection {
  30. color: #fff;
  31. background: rgba(0, 0, 0, 0.99);
  32. text-shadow: none; }
  33. ::-moz-selection {
  34. color: #fff;
  35. background: rgba(0, 0, 0, 0.99);
  36. text-shadow: none; }
  37. .reveal .slides > section,
  38. .reveal .slides > section > section {
  39. line-height: 1.3;
  40. font-weight: inherit; }
  41. /*********************************************
  42. * HEADERS
  43. *********************************************/
  44. .reveal h1,
  45. .reveal h2,
  46. .reveal h3,
  47. .reveal h4,
  48. .reveal h5,
  49. .reveal h6 {
  50. margin: 0 0 20px 0;
  51. color: #000;
  52. font-family: "News Cycle", Impact, sans-serif;
  53. font-weight: normal;
  54. line-height: 1.2;
  55. letter-spacing: normal;
  56. text-transform: none;
  57. text-shadow: none;
  58. word-wrap: break-word; }
  59. .reveal h1 {
  60. font-size: 3.77em; }
  61. .reveal h2 {
  62. font-size: 2.11em; }
  63. .reveal h3 {
  64. font-size: 1.55em; }
  65. .reveal h4 {
  66. font-size: 1em; }
  67. .reveal h1 {
  68. text-shadow: none; }
  69. /*********************************************
  70. * OTHER
  71. *********************************************/
  72. .reveal p {
  73. margin: 20px 0;
  74. line-height: 1.3; }
  75. /* Ensure certain elements are never larger than the slide itself */
  76. .reveal img,
  77. .reveal video,
  78. .reveal iframe {
  79. max-width: 95%;
  80. max-height: 95%; }
  81. .reveal strong,
  82. .reveal b {
  83. font-weight: bold; }
  84. .reveal em {
  85. font-style: italic; }
  86. .reveal ol,
  87. .reveal dl,
  88. .reveal ul {
  89. display: inline-block;
  90. text-align: left;
  91. margin: 0 0 0 1em; }
  92. .reveal ol {
  93. list-style-type: decimal; }
  94. .reveal ul {
  95. list-style-type: disc; }
  96. .reveal ul ul {
  97. list-style-type: square; }
  98. .reveal ul ul ul {
  99. list-style-type: circle; }
  100. .reveal ul ul,
  101. .reveal ul ol,
  102. .reveal ol ol,
  103. .reveal ol ul {
  104. display: block;
  105. margin-left: 40px; }
  106. .reveal dt {
  107. font-weight: bold; }
  108. .reveal dd {
  109. margin-left: 40px; }
  110. .reveal q,
  111. .reveal blockquote {
  112. quotes: none; }
  113. .reveal blockquote {
  114. display: block;
  115. position: relative;
  116. width: 70%;
  117. margin: 20px auto;
  118. padding: 5px;
  119. font-style: italic;
  120. background: rgba(255, 255, 255, 0.05);
  121. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  122. .reveal blockquote p:first-child,
  123. .reveal blockquote p:last-child {
  124. display: inline-block; }
  125. .reveal q {
  126. font-style: italic; }
  127. .reveal pre {
  128. display: block;
  129. position: relative;
  130. width: 90%;
  131. margin: 20px auto;
  132. text-align: left;
  133. font-size: 0.55em;
  134. font-family: monospace;
  135. line-height: 1.2em;
  136. word-wrap: break-word;
  137. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
  138. .reveal code {
  139. font-family: monospace; }
  140. .reveal pre code {
  141. display: block;
  142. padding: 5px;
  143. overflow: auto;
  144. max-height: 400px;
  145. word-wrap: normal; }
  146. .reveal table {
  147. margin: auto;
  148. border-collapse: collapse;
  149. border-spacing: 0; }
  150. .reveal table th {
  151. font-weight: bold; }
  152. .reveal table th,
  153. .reveal table td {
  154. text-align: left;
  155. padding: 0.2em 0.5em 0.2em 0.5em;
  156. border-bottom: 1px solid; }
  157. .reveal table th[align="center"],
  158. .reveal table td[align="center"] {
  159. text-align: center; }
  160. .reveal table th[align="right"],
  161. .reveal table td[align="right"] {
  162. text-align: right; }
  163. .reveal table tbody tr:last-child th,
  164. .reveal table tbody tr:last-child td {
  165. border-bottom: none; }
  166. .reveal sup {
  167. vertical-align: super; }
  168. .reveal sub {
  169. vertical-align: sub; }
  170. .reveal small {
  171. display: inline-block;
  172. font-size: 0.6em;
  173. line-height: 1.2em;
  174. vertical-align: top; }
  175. .reveal small * {
  176. vertical-align: top; }
  177. /*********************************************
  178. * LINKS
  179. *********************************************/
  180. .reveal a {
  181. color: #00008B;
  182. text-decoration: none;
  183. -webkit-transition: color .15s ease;
  184. -moz-transition: color .15s ease;
  185. transition: color .15s ease; }
  186. .reveal a:hover {
  187. color: #0000f1;
  188. text-shadow: none;
  189. border: none; }
  190. .reveal .roll span:after {
  191. color: #fff;
  192. background: #00003f; }
  193. /*********************************************
  194. * IMAGES
  195. *********************************************/
  196. .reveal section img {
  197. margin: 15px 0px;
  198. background: rgba(255, 255, 255, 0.12);
  199. border: 4px solid #000;
  200. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  201. .reveal section img.plain {
  202. border: 0;
  203. box-shadow: none; }
  204. .reveal a img {
  205. -webkit-transition: all .15s linear;
  206. -moz-transition: all .15s linear;
  207. transition: all .15s linear; }
  208. .reveal a:hover img {
  209. background: rgba(255, 255, 255, 0.2);
  210. border-color: #00008B;
  211. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  212. /*********************************************
  213. * NAVIGATION CONTROLS
  214. *********************************************/
  215. .reveal .controls .navigate-left,
  216. .reveal .controls .navigate-left.enabled {
  217. border-right-color: #00008B; }
  218. .reveal .controls .navigate-right,
  219. .reveal .controls .navigate-right.enabled {
  220. border-left-color: #00008B; }
  221. .reveal .controls .navigate-up,
  222. .reveal .controls .navigate-up.enabled {
  223. border-bottom-color: #00008B; }
  224. .reveal .controls .navigate-down,
  225. .reveal .controls .navigate-down.enabled {
  226. border-top-color: #00008B; }
  227. .reveal .controls .navigate-left.enabled:hover {
  228. border-right-color: #0000f1; }
  229. .reveal .controls .navigate-right.enabled:hover {
  230. border-left-color: #0000f1; }
  231. .reveal .controls .navigate-up.enabled:hover {
  232. border-bottom-color: #0000f1; }
  233. .reveal .controls .navigate-down.enabled:hover {
  234. border-top-color: #0000f1; }
  235. /*********************************************
  236. * PROGRESS BAR
  237. *********************************************/
  238. .reveal .progress {
  239. background: rgba(0, 0, 0, 0.2); }
  240. .reveal .progress span {
  241. background: #00008B;
  242. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  243. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  244. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }