league.css 7.8 KB

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