simple.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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: #fff;
  15. background-color: #fff; }
  16. .reveal {
  17. font-family: "Lato", sans-serif;
  18. font-size: 36px;
  19. font-weight: normal;
  20. color: #000; }
  21. ::selection {
  22. color: #fff;
  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: #000;
  40. font-family: "News Cycle", Impact, sans-serif;
  41. font-weight: normal;
  42. line-height: 1.2;
  43. letter-spacing: normal;
  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: none; }
  57. /*********************************************
  58. * OTHER
  59. *********************************************/
  60. .reveal p {
  61. margin: 20px 0;
  62. line-height: 1.3; }
  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: 20px 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: 20px 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. .reveal table {
  135. margin: auto;
  136. border-collapse: collapse;
  137. border-spacing: 0; }
  138. .reveal table th {
  139. font-weight: bold; }
  140. .reveal table th,
  141. .reveal table td {
  142. text-align: left;
  143. padding: 0.2em 0.5em 0.2em 0.5em;
  144. border-bottom: 1px solid; }
  145. .reveal table th[align="center"],
  146. .reveal table td[align="center"] {
  147. text-align: center; }
  148. .reveal table th[align="right"],
  149. .reveal table td[align="right"] {
  150. text-align: right; }
  151. .reveal table tbody tr:last-child th,
  152. .reveal table tbody tr:last-child td {
  153. border-bottom: none; }
  154. .reveal sup {
  155. vertical-align: super; }
  156. .reveal sub {
  157. vertical-align: sub; }
  158. .reveal small {
  159. display: inline-block;
  160. font-size: 0.6em;
  161. line-height: 1.2em;
  162. vertical-align: top; }
  163. .reveal small * {
  164. vertical-align: top; }
  165. /*********************************************
  166. * LINKS
  167. *********************************************/
  168. .reveal a {
  169. color: #00008B;
  170. text-decoration: none;
  171. -webkit-transition: color .15s ease;
  172. -moz-transition: color .15s ease;
  173. transition: color .15s ease; }
  174. .reveal a:hover {
  175. color: #0000f1;
  176. text-shadow: none;
  177. border: none; }
  178. .reveal .roll span:after {
  179. color: #fff;
  180. background: #00003f; }
  181. /*********************************************
  182. * IMAGES
  183. *********************************************/
  184. .reveal section img {
  185. margin: 15px 0px;
  186. background: rgba(255, 255, 255, 0.12);
  187. border: 4px solid #000;
  188. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  189. .reveal section img.plain {
  190. border: 0;
  191. box-shadow: none; }
  192. .reveal a img {
  193. -webkit-transition: all .15s linear;
  194. -moz-transition: all .15s linear;
  195. transition: all .15s linear; }
  196. .reveal a:hover img {
  197. background: rgba(255, 255, 255, 0.2);
  198. border-color: #00008B;
  199. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  200. /*********************************************
  201. * NAVIGATION CONTROLS
  202. *********************************************/
  203. .reveal .controls .navigate-left,
  204. .reveal .controls .navigate-left.enabled {
  205. border-right-color: #00008B; }
  206. .reveal .controls .navigate-right,
  207. .reveal .controls .navigate-right.enabled {
  208. border-left-color: #00008B; }
  209. .reveal .controls .navigate-up,
  210. .reveal .controls .navigate-up.enabled {
  211. border-bottom-color: #00008B; }
  212. .reveal .controls .navigate-down,
  213. .reveal .controls .navigate-down.enabled {
  214. border-top-color: #00008B; }
  215. .reveal .controls .navigate-left.enabled:hover {
  216. border-right-color: #0000f1; }
  217. .reveal .controls .navigate-right.enabled:hover {
  218. border-left-color: #0000f1; }
  219. .reveal .controls .navigate-up.enabled:hover {
  220. border-bottom-color: #0000f1; }
  221. .reveal .controls .navigate-down.enabled:hover {
  222. border-top-color: #0000f1; }
  223. /*********************************************
  224. * PROGRESS BAR
  225. *********************************************/
  226. .reveal .progress {
  227. background: rgba(0, 0, 0, 0.2); }
  228. .reveal .progress span {
  229. background: #00008B;
  230. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  231. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  232. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }