Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

solarized.css 6.8KB

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