white.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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 tr:last-child td {
  130. border-bottom: none; }
  131. .reveal sup {
  132. vertical-align: super; }
  133. .reveal sub {
  134. vertical-align: sub; }
  135. .reveal small {
  136. display: inline-block;
  137. font-size: 0.6em;
  138. line-height: 1.2em;
  139. vertical-align: top; }
  140. .reveal small * {
  141. vertical-align: top; }
  142. /*********************************************
  143. * LINKS
  144. *********************************************/
  145. .reveal a {
  146. color: #2a76dd;
  147. text-decoration: none;
  148. -webkit-transition: color 0.15s ease;
  149. -moz-transition: color 0.15s ease;
  150. transition: color 0.15s ease; }
  151. .reveal a:hover {
  152. color: #6ca2e8;
  153. text-shadow: none;
  154. border: none; }
  155. .reveal .roll span:after {
  156. color: #fff;
  157. background: #1a54a1; }
  158. /*********************************************
  159. * IMAGES
  160. *********************************************/
  161. .reveal section img {
  162. margin: 15px 0px;
  163. background: rgba(255, 255, 255, 0.12);
  164. border: 4px solid #222;
  165. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  166. .reveal a img {
  167. -webkit-transition: all 0.15s linear;
  168. -moz-transition: all 0.15s linear;
  169. transition: all 0.15s linear; }
  170. .reveal a:hover img {
  171. background: rgba(255, 255, 255, 0.2);
  172. border-color: #2a76dd;
  173. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  174. /*********************************************
  175. * NAVIGATION CONTROLS
  176. *********************************************/
  177. .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
  178. border-right-color: #2a76dd; }
  179. .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
  180. border-left-color: #2a76dd; }
  181. .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
  182. border-bottom-color: #2a76dd; }
  183. .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
  184. border-top-color: #2a76dd; }
  185. .reveal .controls div.navigate-left.enabled:hover {
  186. border-right-color: #6ca2e8; }
  187. .reveal .controls div.navigate-right.enabled:hover {
  188. border-left-color: #6ca2e8; }
  189. .reveal .controls div.navigate-up.enabled:hover {
  190. border-bottom-color: #6ca2e8; }
  191. .reveal .controls div.navigate-down.enabled:hover {
  192. border-top-color: #6ca2e8; }
  193. /*********************************************
  194. * PROGRESS BAR
  195. *********************************************/
  196. .reveal .progress {
  197. background: rgba(0, 0, 0, 0.2); }
  198. .reveal .progress span {
  199. background: #2a76dd;
  200. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  201. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  202. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
  203. /*********************************************
  204. * SLIDE NUMBER
  205. *********************************************/
  206. .reveal .slide-number {
  207. color: #2a76dd; }