Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

beige.css 7.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. /**
  2. * Beige theme for reveal.js.
  3. *
  4. * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
  5. */
  6. @import url(./fonts/league-gothic/league-gothic.css);
  7. @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
  8. 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 {
  9. color: #fff;
  10. }
  11. /*********************************************
  12. * GLOBAL STYLES
  13. *********************************************/
  14. :root {
  15. --r-background-color: #f7f3de;
  16. --r-main-font: Lato, sans-serif;
  17. --r-main-font-size: 40px;
  18. --r-main-color: #333;
  19. --r-block-margin: 20px;
  20. --r-heading-margin: 0 0 20px 0;
  21. --r-heading-font: League Gothic, Impact, sans-serif;
  22. --r-heading-color: #333;
  23. --r-heading-line-height: 1.2;
  24. --r-heading-letter-spacing: normal;
  25. --r-heading-text-transform: uppercase;
  26. --r-heading-text-shadow: none;
  27. --r-heading-font-weight: normal;
  28. --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);
  29. --r-heading1-size: 3.77em;
  30. --r-heading2-size: 2.11em;
  31. --r-heading3-size: 1.55em;
  32. --r-heading4-size: 1em;
  33. --r-code-font: monospace;
  34. --r-link-color: #8b743d;
  35. --r-link-color-dark: #564826;
  36. --r-link-color-hover: #c0a86e;
  37. --r-selection-background-color: rgba(79, 64, 28, 0.99);
  38. --r-selection-color: #fff;
  39. }
  40. .reveal-viewport {
  41. background: #f7f2d3;
  42. background: -moz-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
  43. background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, white), color-stop(100%, #f7f2d3));
  44. background: -webkit-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
  45. background: -o-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
  46. background: -ms-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
  47. background: radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
  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. }