simple.css 6.1 KB

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