1
0

white.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. /**
  2. * White theme for reveal.js. This is the opposite of the 'black' theme.
  3. *
  4. * By Hakim El Hattab, http://hakim.se
  5. */
  6. @import url(./fonts/source-sans-pro/source-sans-pro.css);
  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. /*********************************************
  11. * GLOBAL STYLES
  12. *********************************************/
  13. :root {
  14. --r-background-color: #fff;
  15. --r-main-font: Source Sans Pro, Helvetica, sans-serif;
  16. --r-main-font-size: 42px;
  17. --r-main-color: #222;
  18. --r-block-margin: 20px;
  19. --r-heading-margin: 0 0 20px 0;
  20. --r-heading-font: Source Sans Pro, Helvetica, sans-serif;
  21. --r-heading-color: #222;
  22. --r-heading-line-height: 1.2;
  23. --r-heading-letter-spacing: normal;
  24. --r-heading-text-transform: uppercase;
  25. --r-heading-text-shadow: none;
  26. --r-heading-font-weight: 600;
  27. --r-heading1-text-shadow: none;
  28. --r-heading1-size: 2.5em;
  29. --r-heading2-size: 1.6em;
  30. --r-heading3-size: 1.3em;
  31. --r-heading4-size: 1em;
  32. --r-code-font: monospace;
  33. --r-link-color: #2a76dd;
  34. --r-link-color-dark: rgb(30.7720647773, 99.5566801619, 192.7779352227);
  35. --r-link-color-hover: rgb(73.95, 138.55, 226.1);
  36. --r-selection-background-color: rgb(95.25, 152.25, 229.5);
  37. --r-selection-color: #fff;
  38. --r-overlay-element-bg-color: 0, 0, 0;
  39. --r-overlay-element-fg-color: 240, 240, 240;
  40. }
  41. .reveal-viewport {
  42. background: #fff;
  43. background-color: var(--r-background-color);
  44. }
  45. .reveal {
  46. font-family: var(--r-main-font);
  47. font-size: var(--r-main-font-size);
  48. font-weight: normal;
  49. color: var(--r-main-color);
  50. }
  51. .reveal ::selection {
  52. color: var(--r-selection-color);
  53. background: var(--r-selection-background-color);
  54. text-shadow: none;
  55. }
  56. .reveal ::-moz-selection {
  57. color: var(--r-selection-color);
  58. background: var(--r-selection-background-color);
  59. text-shadow: none;
  60. }
  61. .reveal .slides section,
  62. .reveal .slides section > section {
  63. line-height: 1.3;
  64. font-weight: inherit;
  65. }
  66. /*********************************************
  67. * HEADERS
  68. *********************************************/
  69. .reveal h1,
  70. .reveal h2,
  71. .reveal h3,
  72. .reveal h4,
  73. .reveal h5,
  74. .reveal h6 {
  75. margin: var(--r-heading-margin);
  76. color: var(--r-heading-color);
  77. font-family: var(--r-heading-font);
  78. font-weight: var(--r-heading-font-weight);
  79. line-height: var(--r-heading-line-height);
  80. letter-spacing: var(--r-heading-letter-spacing);
  81. text-transform: var(--r-heading-text-transform);
  82. text-shadow: var(--r-heading-text-shadow);
  83. word-wrap: break-word;
  84. }
  85. .reveal h1 {
  86. font-size: var(--r-heading1-size);
  87. }
  88. .reveal h2 {
  89. font-size: var(--r-heading2-size);
  90. }
  91. .reveal h3 {
  92. font-size: var(--r-heading3-size);
  93. }
  94. .reveal h4 {
  95. font-size: var(--r-heading4-size);
  96. }
  97. .reveal h1 {
  98. text-shadow: var(--r-heading1-text-shadow);
  99. }
  100. /*********************************************
  101. * OTHER
  102. *********************************************/
  103. .reveal p {
  104. margin: var(--r-block-margin) 0;
  105. line-height: 1.3;
  106. }
  107. /* Remove trailing margins after titles */
  108. .reveal h1:last-child,
  109. .reveal h2:last-child,
  110. .reveal h3:last-child,
  111. .reveal h4:last-child,
  112. .reveal h5:last-child,
  113. .reveal h6:last-child {
  114. margin-bottom: 0;
  115. }
  116. /* Ensure certain elements are never larger than the slide itself */
  117. .reveal img,
  118. .reveal video,
  119. .reveal iframe {
  120. max-width: 95%;
  121. max-height: 95%;
  122. }
  123. .reveal strong,
  124. .reveal b {
  125. font-weight: bold;
  126. }
  127. .reveal em {
  128. font-style: italic;
  129. }
  130. .reveal ol,
  131. .reveal dl,
  132. .reveal ul {
  133. display: inline-block;
  134. text-align: left;
  135. margin: 0 0 0 1em;
  136. }
  137. .reveal ol {
  138. list-style-type: decimal;
  139. }
  140. .reveal ul {
  141. list-style-type: disc;
  142. }
  143. .reveal ul ul {
  144. list-style-type: square;
  145. }
  146. .reveal ul ul ul {
  147. list-style-type: circle;
  148. }
  149. .reveal ul ul,
  150. .reveal ul ol,
  151. .reveal ol ol,
  152. .reveal ol ul {
  153. display: block;
  154. margin-left: 40px;
  155. }
  156. .reveal dt {
  157. font-weight: bold;
  158. }
  159. .reveal dd {
  160. margin-left: 40px;
  161. }
  162. .reveal blockquote {
  163. display: block;
  164. position: relative;
  165. width: 70%;
  166. margin: var(--r-block-margin) auto;
  167. padding: 5px;
  168. font-style: italic;
  169. background: rgba(255, 255, 255, 0.05);
  170. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  171. }
  172. .reveal blockquote p:first-child,
  173. .reveal blockquote p:last-child {
  174. display: inline-block;
  175. }
  176. .reveal q {
  177. font-style: italic;
  178. }
  179. .reveal pre {
  180. display: block;
  181. position: relative;
  182. width: 90%;
  183. margin: var(--r-block-margin) auto;
  184. text-align: left;
  185. font-size: 0.55em;
  186. font-family: var(--r-code-font);
  187. line-height: 1.2em;
  188. word-wrap: break-word;
  189. box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  190. }
  191. .reveal code {
  192. font-family: var(--r-code-font);
  193. text-transform: none;
  194. tab-size: 2;
  195. }
  196. .reveal pre code {
  197. display: block;
  198. padding: 5px;
  199. overflow: auto;
  200. max-height: 400px;
  201. word-wrap: normal;
  202. }
  203. .reveal .code-wrapper {
  204. white-space: normal;
  205. }
  206. .reveal .code-wrapper code {
  207. white-space: pre;
  208. }
  209. .reveal table {
  210. margin: auto;
  211. border-collapse: collapse;
  212. border-spacing: 0;
  213. }
  214. .reveal table th {
  215. font-weight: bold;
  216. }
  217. .reveal table th,
  218. .reveal table td {
  219. text-align: left;
  220. padding: 0.2em 0.5em 0.2em 0.5em;
  221. border-bottom: 1px solid;
  222. }
  223. .reveal table th[align=center],
  224. .reveal table td[align=center] {
  225. text-align: center;
  226. }
  227. .reveal table th[align=right],
  228. .reveal table td[align=right] {
  229. text-align: right;
  230. }
  231. .reveal table tbody tr:last-child th,
  232. .reveal table tbody tr:last-child td {
  233. border-bottom: none;
  234. }
  235. .reveal sup {
  236. vertical-align: super;
  237. font-size: smaller;
  238. }
  239. .reveal sub {
  240. vertical-align: sub;
  241. font-size: smaller;
  242. }
  243. .reveal small {
  244. display: inline-block;
  245. font-size: 0.6em;
  246. line-height: 1.2em;
  247. vertical-align: top;
  248. }
  249. .reveal small * {
  250. vertical-align: top;
  251. }
  252. .reveal img {
  253. margin: var(--r-block-margin) 0;
  254. }
  255. /*********************************************
  256. * LINKS
  257. *********************************************/
  258. .reveal a {
  259. color: var(--r-link-color);
  260. text-decoration: none;
  261. transition: color 0.15s ease;
  262. }
  263. .reveal a:hover {
  264. color: var(--r-link-color-hover);
  265. text-shadow: none;
  266. border: none;
  267. }
  268. .reveal .roll span:after {
  269. color: #fff;
  270. background: var(--r-link-color-dark);
  271. }
  272. /*********************************************
  273. * Frame helper
  274. *********************************************/
  275. .reveal .r-frame {
  276. border: 4px solid var(--r-main-color);
  277. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  278. }
  279. .reveal a .r-frame {
  280. transition: all 0.15s linear;
  281. }
  282. .reveal a:hover .r-frame {
  283. border-color: var(--r-link-color);
  284. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  285. }
  286. /*********************************************
  287. * NAVIGATION CONTROLS
  288. *********************************************/
  289. .reveal .controls {
  290. color: var(--r-link-color);
  291. }
  292. /*********************************************
  293. * PROGRESS BAR
  294. *********************************************/
  295. .reveal .progress {
  296. background: rgba(0, 0, 0, 0.2);
  297. color: var(--r-link-color);
  298. }
  299. /*********************************************
  300. * PRINT BACKGROUND
  301. *********************************************/
  302. @media print {
  303. .backgrounds {
  304. background-color: var(--r-background-color);
  305. }
  306. }