😎 Give your xaringan slides some style
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

233 lines
5.5KB

  1. /* -------------------------------------------------------
  2. *
  3. * !! This file was generated by xaringanthemer !!
  4. *
  5. * Changes made to this file directly will be overwritten
  6. * if you used xaringanthemer in your xaringan slides Rmd
  7. *
  8. * Issues or likes?
  9. * - https://github.com/gadenbuie/xaringanthemer
  10. * - https://www.garrickadenbuie.com
  11. *
  12. * Need help? Try:
  13. * - vignette(package = "xaringanthemer")
  14. * - ?xaringanthemer::write_xaringan_theme
  15. * - xaringan wiki: https://github.com/yihui/xaringan/wiki
  16. * - remarkjs wiki: https://github.com/gnab/remark/wiki
  17. *
  18. * Version: a.b.c.d.eeee
  19. *
  20. * ------------------------------------------------------- */
  21. @import url(https://fonts.googleapis.com/css?family=Noto+Serif);
  22. @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
  23. @import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700);
  24. :root {
  25. /* Fonts */
  26. --text-font-family: 'Noto Serif';
  27. --text-font-is-google: 1;
  28. --text-font-family-fallback: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC';
  29. --text-font-base: serif;
  30. --header-font-family: 'Yanone Kaffeesatz';
  31. --header-font-is-google: 0;
  32. --code-font-family: 'Source Code Pro';
  33. --code-font-is-google: 0;
  34. --text-font-size: 20px;
  35. --code-font-size: 0.9em;
  36. --code-inline-font-size: 1em;
  37. --header-h1-font-size: 55px;
  38. --header-h2-font-size: 45px;
  39. --header-h3-font-size: 35px;
  40. /* Colors */
  41. --text-color: #000;
  42. --header-color: #000;
  43. --background-color: #FFF;
  44. --link-color: rgb(249, 38, 114);
  45. --code-highlight-color: rgba(255,255,0,0.5);
  46. --inverse-text-color: #d6d6d6;
  47. --inverse-background-color: #272822;
  48. --inverse-header-color: #f3f3f3;
  49. --title-slide-background-color: #272822;
  50. --title-slide-text-color: #d6d6d6;
  51. --light-blue: #bad4ed;
  52. }
  53. html {
  54. font-size: var(--text-font-size);
  55. }
  56. body {
  57. font-family: var(--text-font-family), var(--text-font-family-fallback), var(--text-font-base);
  58. font-weight: ;
  59. color: var(--text-color);
  60. }
  61. h1, h2, h3 {
  62. font-family: var(--header-font-family);
  63. font-weight: normal;
  64. color: var(--header-color);
  65. }
  66. .remark-slide-content {
  67. background-color: var(--background-color);
  68. padding: 1rem 4rem 1rem 4rem;
  69. }
  70. .remark-slide-content h1 {
  71. font-size: var(--header-h1-font-size);
  72. }
  73. .remark-slide-content h2 {
  74. font-size: var(--header-h2-font-size);
  75. }
  76. .remark-slide-content h3 {
  77. font-size: var(--header-h3-font-size);
  78. }
  79. .remark-code, .remark-inline-code {
  80. font-family: var(--code-font-family), 'Lucida Console', Monaco, monospace;
  81. }
  82. .remark-code {
  83. font-size: var(--code-font-size);
  84. }
  85. .remark-inline-code {
  86. font-size: var(--code-inline-font-size);
  87. color: #000;
  88. }
  89. .remark-slide-number {
  90. color: #272822;
  91. opacity: 1;
  92. font-size: 0.9em;
  93. }
  94. a, a > code {
  95. color: var(--link-color);
  96. text-decoration: none;
  97. }
  98. .footnote {
  99. position: absolute;
  100. bottom: 3em;
  101. padding-right: 4em;
  102. font-size: 0.9em;
  103. }
  104. .remark-code-line-highlighted {
  105. background-color: var(--code-highlight-color);
  106. }
  107. .inverse {
  108. background-color: var(--inverse-background-color);
  109. color: var(--inverse-text-color);
  110. }
  111. .inverse h1, .inverse h2, .inverse h3 {
  112. color: var(--inverse-header-color);
  113. }
  114. .title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {
  115. color: var(--title-slide-text-color);
  116. }
  117. .title-slide {
  118. background-color: var(--title-slide-background-color);
  119. }
  120. .title-slide .remark-slide-number {
  121. display: none;
  122. }
  123. /* Two-column layout */
  124. .left-column {
  125. width: 20%;
  126. height: 92%;
  127. float: left;
  128. }
  129. .left-column h2, .left-column h3 {
  130. color: #777;
  131. }
  132. .left-column h2:last-of-type, .left-column h3:last-child {
  133. color: #000;
  134. }
  135. .right-column {
  136. width: 75%;
  137. float: right;
  138. padding-top: 1em;
  139. }
  140. .pull-left {
  141. float: left;
  142. width: 47%;
  143. }
  144. .pull-right {
  145. float: right;
  146. width: 47%;
  147. }
  148. .pull-right ~ * {
  149. clear: both;
  150. }
  151. img, video, iframe {
  152. max-width: 100%;
  153. }
  154. blockquote {
  155. border-left: solid 5px lightgray;
  156. padding-left: 1em;
  157. }
  158. .remark-slide table {
  159. margin: auto;
  160. border-top: 1px solid #666;
  161. border-bottom: 1px solid #666;
  162. }
  163. .remark-slide table thead th {
  164. border-bottom: 1px solid #ddd;
  165. }
  166. th, td {
  167. padding: 5px;
  168. }
  169. .remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
  170. background: #eee;
  171. }
  172. table.dataTable tbody {
  173. background-color: var(--background-color);
  174. color: var(--text-color);
  175. }
  176. table.dataTable.display tbody tr.odd {
  177. background-color: var(--background-color);
  178. }
  179. table.dataTable.display tbody tr.even {
  180. background-color: #eee;
  181. }
  182. table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
  183. background-color: rgba(255, 255, 255, 0.5);
  184. }
  185. .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
  186. color: var(--text-color);
  187. }
  188. .dataTables_wrapper .dataTables_paginate .paginate_button {
  189. color: var(--text-color) !important;
  190. }
  191. /* Slide Header Background for h1 elements */
  192. .remark-slide-content.header_background > h1 {
  193. display: block;
  194. position: absolute;
  195. top: 0;
  196. left: 0;
  197. width: 100%;
  198. background: var(--background-color);
  199. color: var(--text-color);
  200. padding: 2rem 4rem 1.5rem 4rem;
  201. margin-top: 0;
  202. box-sizing: border-box;
  203. }
  204. .remark-slide-content.header_background {
  205. padding-top: 7rem;
  206. }
  207. @page { margin: 0; }
  208. @media print {
  209. .remark-slide-scaler {
  210. width: 100% !important;
  211. height: 100% !important;
  212. transform: scale(1) !important;
  213. top: 0 !important;
  214. left: 0 !important;
  215. }
  216. }
  217. .light-blue {
  218. color: var(--light-blue);
  219. }
  220. .bg-light-blue {
  221. background-color: var(--light-blue);
  222. }