simple.css 6.1 KB

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