You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

414 lines
7.9 KiB

  1. @charset "UTF-8";
  2. /**
  3. * Dracula Dark theme for reveal.js.
  4. * Based on https://draculatheme.com
  5. */
  6. /**
  7. * Dracula colors by Zeno Rocha
  8. * https://draculatheme.com/contribute
  9. */
  10. html * {
  11. color-profile: sRGB;
  12. rendering-intent: auto;
  13. }
  14. section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
  15. color: #282A36;
  16. }
  17. /*********************************************
  18. * GLOBAL STYLES
  19. *********************************************/
  20. :root {
  21. --r-background-color: #282A36;
  22. --r-main-font: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  23. --r-main-font-size: 40px;
  24. --r-main-color: #F8F8F2;
  25. --r-block-margin: 20px;
  26. --r-heading-margin: 0 0 20px 0;
  27. --r-heading-font: League Gothic, Impact, sans-serif;
  28. --r-heading-color: #BD93F9;
  29. --r-heading-line-height: 1.2;
  30. --r-heading-letter-spacing: normal;
  31. --r-heading-text-transform: none;
  32. --r-heading-text-shadow: none;
  33. --r-heading-font-weight: normal;
  34. --r-heading1-text-shadow: none;
  35. --r-heading1-size: 3.77em;
  36. --r-heading2-size: 2.11em;
  37. --r-heading3-size: 1.55em;
  38. --r-heading4-size: 1em;
  39. --r-code-font: Fira Code, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
  40. --r-link-color: #FF79C6;
  41. --r-link-color-dark: #ff2da5;
  42. --r-link-color-hover: #8BE9FD;
  43. --r-selection-background-color: #44475A;
  44. --r-selection-color: #fff;
  45. }
  46. .reveal-viewport {
  47. background: #282A36;
  48. background-color: var(--r-background-color);
  49. }
  50. .reveal {
  51. font-family: var(--r-main-font);
  52. font-size: var(--r-main-font-size);
  53. font-weight: normal;
  54. color: var(--r-main-color);
  55. }
  56. .reveal ::selection {
  57. color: var(--r-selection-color);
  58. background: var(--r-selection-background-color);
  59. text-shadow: none;
  60. }
  61. .reveal ::-moz-selection {
  62. color: var(--r-selection-color);
  63. background: var(--r-selection-background-color);
  64. text-shadow: none;
  65. }
  66. .reveal .slides section,
  67. .reveal .slides section > section {
  68. line-height: 1.3;
  69. font-weight: inherit;
  70. }
  71. /*********************************************
  72. * HEADERS
  73. *********************************************/
  74. .reveal h1,
  75. .reveal h2,
  76. .reveal h3,
  77. .reveal h4,
  78. .reveal h5,
  79. .reveal h6 {
  80. margin: var(--r-heading-margin);
  81. color: var(--r-heading-color);
  82. font-family: var(--r-heading-font);
  83. font-weight: var(--r-heading-font-weight);
  84. line-height: var(--r-heading-line-height);
  85. letter-spacing: var(--r-heading-letter-spacing);
  86. text-transform: var(--r-heading-text-transform);
  87. text-shadow: var(--r-heading-text-shadow);
  88. word-wrap: break-word;
  89. }
  90. .reveal h1 {
  91. font-size: var(--r-heading1-size);
  92. }
  93. .reveal h2 {
  94. font-size: var(--r-heading2-size);
  95. }
  96. .reveal h3 {
  97. font-size: var(--r-heading3-size);
  98. }
  99. .reveal h4 {
  100. font-size: var(--r-heading4-size);
  101. }
  102. .reveal h1 {
  103. text-shadow: var(--r-heading1-text-shadow);
  104. }
  105. /*********************************************
  106. * OTHER
  107. *********************************************/
  108. .reveal p {
  109. margin: var(--r-block-margin) 0;
  110. line-height: 1.3;
  111. }
  112. /* Remove trailing margins after titles */
  113. .reveal h1:last-child,
  114. .reveal h2:last-child,
  115. .reveal h3:last-child,
  116. .reveal h4:last-child,
  117. .reveal h5:last-child,
  118. .reveal h6:last-child {
  119. margin-bottom: 0;
  120. }
  121. /* Ensure certain elements are never larger than the slide itself */
  122. .reveal img,
  123. .reveal video,
  124. .reveal iframe {
  125. max-width: 95%;
  126. max-height: 95%;
  127. }
  128. .reveal strong,
  129. .reveal b {
  130. font-weight: bold;
  131. }
  132. .reveal em {
  133. font-style: italic;
  134. }
  135. .reveal ol,
  136. .reveal dl,
  137. .reveal ul {
  138. display: inline-block;
  139. text-align: left;
  140. margin: 0 0 0 1em;
  141. }
  142. .reveal ol {
  143. list-style-type: decimal;
  144. }
  145. .reveal ul {
  146. list-style-type: disc;
  147. }
  148. .reveal ul ul {
  149. list-style-type: square;
  150. }
  151. .reveal ul ul ul {
  152. list-style-type: circle;
  153. }
  154. .reveal ul ul,
  155. .reveal ul ol,
  156. .reveal ol ol,
  157. .reveal ol ul {
  158. display: block;
  159. margin-left: 40px;
  160. }
  161. .reveal dt {
  162. font-weight: bold;
  163. }
  164. .reveal dd {
  165. margin-left: 40px;
  166. }
  167. .reveal blockquote {
  168. display: block;
  169. position: relative;
  170. width: 70%;
  171. margin: var(--r-block-margin) auto;
  172. padding: 5px;
  173. font-style: italic;
  174. background: rgba(255, 255, 255, 0.05);
  175. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  176. }
  177. .reveal blockquote p:first-child,
  178. .reveal blockquote p:last-child {
  179. display: inline-block;
  180. }
  181. .reveal q {
  182. font-style: italic;
  183. }
  184. .reveal pre {
  185. display: block;
  186. position: relative;
  187. width: 90%;
  188. margin: var(--r-block-margin) auto;
  189. text-align: left;
  190. font-size: 0.55em;
  191. font-family: var(--r-code-font);
  192. line-height: 1.2em;
  193. word-wrap: break-word;
  194. box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  195. }
  196. .reveal code {
  197. font-family: var(--r-code-font);
  198. text-transform: none;
  199. tab-size: 2;
  200. }
  201. .reveal pre code {
  202. display: block;
  203. padding: 5px;
  204. overflow: auto;
  205. max-height: 400px;
  206. word-wrap: normal;
  207. }
  208. .reveal .code-wrapper {
  209. white-space: normal;
  210. }
  211. .reveal .code-wrapper code {
  212. white-space: pre;
  213. }
  214. .reveal table {
  215. margin: auto;
  216. border-collapse: collapse;
  217. border-spacing: 0;
  218. }
  219. .reveal table th {
  220. font-weight: bold;
  221. }
  222. .reveal table th,
  223. .reveal table td {
  224. text-align: left;
  225. padding: 0.2em 0.5em 0.2em 0.5em;
  226. border-bottom: 1px solid;
  227. }
  228. .reveal table th[align=center],
  229. .reveal table td[align=center] {
  230. text-align: center;
  231. }
  232. .reveal table th[align=right],
  233. .reveal table td[align=right] {
  234. text-align: right;
  235. }
  236. .reveal table tbody tr:last-child th,
  237. .reveal table tbody tr:last-child td {
  238. border-bottom: none;
  239. }
  240. .reveal sup {
  241. vertical-align: super;
  242. font-size: smaller;
  243. }
  244. .reveal sub {
  245. vertical-align: sub;
  246. font-size: smaller;
  247. }
  248. .reveal small {
  249. display: inline-block;
  250. font-size: 0.6em;
  251. line-height: 1.2em;
  252. vertical-align: top;
  253. }
  254. .reveal small * {
  255. vertical-align: top;
  256. }
  257. .reveal img {
  258. margin: var(--r-block-margin) 0;
  259. }
  260. /*********************************************
  261. * LINKS
  262. *********************************************/
  263. .reveal a {
  264. color: var(--r-link-color);
  265. text-decoration: none;
  266. transition: color 0.15s ease;
  267. }
  268. .reveal a:hover {
  269. color: var(--r-link-color-hover);
  270. text-shadow: none;
  271. border: none;
  272. }
  273. .reveal .roll span:after {
  274. color: #fff;
  275. background: var(--r-link-color-dark);
  276. }
  277. /*********************************************
  278. * Frame helper
  279. *********************************************/
  280. .reveal .r-frame {
  281. border: 4px solid var(--r-main-color);
  282. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  283. }
  284. .reveal a .r-frame {
  285. transition: all 0.15s linear;
  286. }
  287. .reveal a:hover .r-frame {
  288. border-color: var(--r-link-color);
  289. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  290. }
  291. /*********************************************
  292. * NAVIGATION CONTROLS
  293. *********************************************/
  294. .reveal .controls {
  295. color: var(--r-link-color);
  296. }
  297. /*********************************************
  298. * PROGRESS BAR
  299. *********************************************/
  300. .reveal .progress {
  301. background: rgba(0, 0, 0, 0.2);
  302. color: var(--r-link-color);
  303. }
  304. /*********************************************
  305. * PRINT BACKGROUND
  306. *********************************************/
  307. @media print {
  308. .backgrounds {
  309. background-color: var(--r-background-color);
  310. }
  311. }
  312. :root {
  313. --r-bold-color: #FFB86C;
  314. --r-italic-color: #F1FA8C;
  315. --r-inline-code-color: #50FA7B;
  316. --r-list-bullet-color: #8BE9FD;
  317. }
  318. .reveal strong, .reveal b {
  319. color: var(--r-bold-color);
  320. }
  321. .reveal em, .reveal i, .reveal blockquote {
  322. color: var(--r-italic-color);
  323. }
  324. .reveal code {
  325. color: var(--r-inline-code-color);
  326. }
  327. .reveal ul {
  328. list-style: none;
  329. }
  330. .reveal ul li::before {
  331. content: "•";
  332. color: var(--r-list-bullet-color);
  333. display: inline-block;
  334. width: 1em;
  335. margin-left: -1em;
  336. }
  337. .reveal ol {
  338. list-style: none;
  339. counter-reset: li;
  340. }
  341. .reveal ol li::before {
  342. content: counter(li) ".";
  343. color: var(--r-list-bullet-color);
  344. display: inline-block;
  345. width: 2em;
  346. margin-left: -2.5em;
  347. margin-right: 0.5em;
  348. text-align: right;
  349. }
  350. .reveal ol li {
  351. counter-increment: li;
  352. }