simple.css 6.5 KB

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