simple.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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 tr:last-child td {
  152. border-bottom: none; }
  153. .reveal sup {
  154. vertical-align: super; }
  155. .reveal sub {
  156. vertical-align: sub; }
  157. .reveal small {
  158. display: inline-block;
  159. font-size: 0.6em;
  160. line-height: 1.2em;
  161. vertical-align: top; }
  162. .reveal small * {
  163. vertical-align: top; }
  164. /*********************************************
  165. * LINKS
  166. *********************************************/
  167. .reveal a {
  168. color: #00008B;
  169. text-decoration: none;
  170. -webkit-transition: color 0.15s ease;
  171. -moz-transition: color 0.15s ease;
  172. transition: color 0.15s ease; }
  173. .reveal a:hover {
  174. color: #0000f1;
  175. text-shadow: none;
  176. border: none; }
  177. .reveal .roll span:after {
  178. color: #fff;
  179. background: #00003f; }
  180. /*********************************************
  181. * IMAGES
  182. *********************************************/
  183. .reveal section img {
  184. margin: 15px 0px;
  185. background: rgba(255, 255, 255, 0.12);
  186. border: 4px solid #000;
  187. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  188. .reveal section img.plain {
  189. border: 0;
  190. box-shadow: none; }
  191. .reveal a img {
  192. -webkit-transition: all 0.15s linear;
  193. -moz-transition: all 0.15s linear;
  194. transition: all 0.15s linear; }
  195. .reveal a:hover img {
  196. background: rgba(255, 255, 255, 0.2);
  197. border-color: #00008B;
  198. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  199. /*********************************************
  200. * NAVIGATION CONTROLS
  201. *********************************************/
  202. .reveal .controls .navigate-left,
  203. .reveal .controls .navigate-left.enabled {
  204. border-right-color: #00008B; }
  205. .reveal .controls .navigate-right,
  206. .reveal .controls .navigate-right.enabled {
  207. border-left-color: #00008B; }
  208. .reveal .controls .navigate-up,
  209. .reveal .controls .navigate-up.enabled {
  210. border-bottom-color: #00008B; }
  211. .reveal .controls .navigate-down,
  212. .reveal .controls .navigate-down.enabled {
  213. border-top-color: #00008B; }
  214. .reveal .controls .navigate-left.enabled:hover {
  215. border-right-color: #0000f1; }
  216. .reveal .controls .navigate-right.enabled:hover {
  217. border-left-color: #0000f1; }
  218. .reveal .controls .navigate-up.enabled:hover {
  219. border-bottom-color: #0000f1; }
  220. .reveal .controls .navigate-down.enabled:hover {
  221. border-top-color: #0000f1; }
  222. /*********************************************
  223. * PROGRESS BAR
  224. *********************************************/
  225. .reveal .progress {
  226. background: rgba(0, 0, 0, 0.2); }
  227. .reveal .progress span {
  228. background: #00008B;
  229. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  230. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  231. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }