Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

361 рядки
7.0 KiB

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