white.css 6.3 KB

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