simple.css 5.9 KB

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