theme.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. /**
  2. * Breakpoints & Media Queries
  3. */
  4. /**
  5. * Breakpoint mixins
  6. */
  7. /**
  8. * Long content fade mixin
  9. *
  10. * Creates a fading overlay to signify that the content is longer
  11. * than the space allows.
  12. */
  13. /**
  14. * Focus styles.
  15. */
  16. /**
  17. * Applies editor left position to the selector passed as argument
  18. */
  19. /**
  20. * Styles that are reused verbatim in a few places
  21. */
  22. /**
  23. * Allows users to opt-out of animations via OS-level preferences.
  24. */
  25. /**
  26. * Reset default styles for JavaScript UI based pages.
  27. * This is a WP-admin agnostic reset
  28. */
  29. /**
  30. * Reset the WP Admin page styles for Gutenberg-like pages.
  31. */
  32. /**
  33. * These are default block editor widths in case the theme doesn't provide them.
  34. */
  35. .wp-block-latest-posts {
  36. padding-left: 0;
  37. }
  38. .wp-block-latest-posts:not(.is-grid) > li {
  39. margin-top: var(--wp--custom--margin--vertical);
  40. margin-bottom: var(--wp--custom--margin--vertical);
  41. }
  42. .wp-block-latest-posts:not(.is-grid) > li:first-child {
  43. margin-top: 0;
  44. }
  45. .wp-block-latest-posts:not(.is-grid) > li:last-child {
  46. margin-bottom: 0;
  47. }
  48. .wp-block-latest-posts.is-grid > li {
  49. margin-bottom: var(--wp--custom--margin--vertical);
  50. }
  51. .wp-block-latest-posts.is-grid > li:last-child {
  52. margin-bottom: 0;
  53. }
  54. .wp-block-latest-posts.is-grid.columns-2 > li:nth-last-child(-n + 2):nth-child(2n + 1),
  55. .wp-block-latest-posts.is-grid.columns-2 > li:nth-last-child(-n + 2):nth-child(2n + 1) ~ li,
  56. .wp-block-latest-posts.is-grid.columns-3 > li:nth-last-child(-n + 3):nth-child(3n + 1),
  57. .wp-block-latest-posts.is-grid.columns-3 > li:nth-last-child(-n + 3):nth-child(3n + 1) ~ li,
  58. .wp-block-latest-posts.is-grid.columns-4 > li:nth-last-child(-n + 4):nth-child(4n + 1),
  59. .wp-block-latest-posts.is-grid.columns-4 > li:nth-last-child(-n + 4):nth-child(4n + 1) ~ li,
  60. .wp-block-latest-posts.is-grid.columns-5 > li:nth-last-child(-n + 5):nth-child(5n + 1),
  61. .wp-block-latest-posts.is-grid.columns-5 > li:nth-last-child(-n + 5):nth-child(5n + 1) ~ li,
  62. .wp-block-latest-posts.is-grid.columns-6 > li:nth-last-child(-n + 6):nth-child(6n + 1),
  63. .wp-block-latest-posts.is-grid.columns-6 > li:nth-last-child(-n + 6):nth-child(6n + 1) ~ li {
  64. margin-bottom: 0;
  65. }
  66. .wp-block-latest-posts > li > * {
  67. margin-top: calc(0.5 * var(--wp--custom--margin--vertical));
  68. margin-bottom: calc(0.5 * var(--wp--custom--margin--vertical));
  69. }
  70. .wp-block-latest-posts > li > *:first-child {
  71. margin-top: 0;
  72. }
  73. .wp-block-latest-posts > li > *:last-child {
  74. margin-bottom: 0;
  75. }
  76. .wp-block-latest-posts > li > a {
  77. font-family: var(--wp--preset--font-family--headings);
  78. line-height: 1.3;
  79. font-size: var(--wp--preset--font-size--huge);
  80. }
  81. .wp-block-latest-posts .wp-block-latest-posts__post-date {
  82. font-size: var(--wp--preset--font-size--sm);
  83. }
  84. .entry-content [class*="inner-container"] .wp-block-latest-posts .wp-block-latest-posts__post-date,
  85. .entry-content .has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
  86. color: currentColor;
  87. }
  88. .wp-block-latest-posts.alignfull {
  89. padding-left: 0;
  90. padding-right: 0;
  91. }
  92. .entry-content [class*="inner-container"] .wp-block-latest-posts.alignfull,
  93. .entry-content .has-background .wp-block-latest-posts.alignfull {
  94. padding-left: 0;
  95. padding-right: 0;
  96. }
  97. @media (min-width: 782px) {
  98. .wp-block-latest-posts.is-style-seedlet-alternating-grid {
  99. overflow: hidden;
  100. }
  101. .wp-block-latest-posts.is-style-seedlet-alternating-grid > li {
  102. width: calc(50% - (0.5 * var(--wp--custom--margin--horizontal)));
  103. max-width: calc(50% - (0.5 * var(--wp--custom--margin--horizontal)));
  104. text-align: right;
  105. }
  106. .wp-block-latest-posts.is-style-seedlet-alternating-grid > li:nth-child(2n + 1) {
  107. float: right;
  108. text-align: left;
  109. }
  110. .wp-block-latest-posts.is-style-seedlet-alternating-grid.is-grid {
  111. display: inherit;
  112. }
  113. .wp-block-latest-posts.is-style-seedlet-alternating-grid.is-grid > li {
  114. margin-top: var(--wp--custom--margin--vertical);
  115. margin-right: 0;
  116. }
  117. .wp-block-latest-posts.is-style-seedlet-alternating-grid.is-grid > li:first-child {
  118. margin-top: 0;
  119. }
  120. .wp-block-latest-posts.is-style-seedlet-alternating-grid.is-grid > li:last-child {
  121. margin-bottom: 0;
  122. }
  123. }
  124. /**
  125. * Links in navigation
  126. */
  127. .wp-block-navigation-link a :hover {
  128. text-decoration: underline;
  129. text-underline-offset: 0.4rem;
  130. }
  131. /**
  132. * Links in Content
  133. */
  134. .is-root-container a:not(.wp-block-button__link):not([download]),
  135. .wp-block-post-content a:not(.wp-block-button__link):not([download]) {
  136. color: var(--wp--custom--color--primary);
  137. text-decoration-color: var(--wp--style--color--link);
  138. text-decoration-thickness: 1px;
  139. text-underline-offset: 0.2em;
  140. }
  141. .is-root-container a:not(.wp-block-button__link):not([download]):focus, .is-root-container a:not(.wp-block-button__link):not([download]):hover,
  142. .wp-block-post-content a:not(.wp-block-button__link):not([download]):focus,
  143. .wp-block-post-content a:not(.wp-block-button__link):not([download]):hover {
  144. color: var(--wp--style--color--link);
  145. }
  146. .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-link {
  147. font-family: var(--wp--preset--font-family--headings);
  148. font-size: 32px;
  149. font-weight: 400;
  150. line-height: 60px;
  151. }
  152. .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-link.has-child .wp-block-navigation-link {
  153. font-style: italic;
  154. font-size: 24px;
  155. line-height: 30px;
  156. }
  157. .wp-block-post-comments .reply a {
  158. border-radius: var(--wp--custom--button--border--radius);
  159. font-size: var(--wp--preset--font-size--small);
  160. line-height: 1.5;
  161. padding: 23px 25px;
  162. }
  163. .wp-block-post-comments .reply a:not(.has-background):not(.has-text-color):hover, .wp-block-post-comments .reply a:not(.has-background):not(.has-text-color):focus, .wp-block-post-comments .reply a:not(.has-background):not(.has-text-color).has-focus {
  164. padding: 23px 25px;
  165. }
  166. .wp-block-post-comments #comments,
  167. .wp-block-post-comments #reply-title {
  168. font-size: var(--wp--preset--font-size--huge);
  169. font-style: italic;
  170. margin-bottom: var(--wp--custom--margin--vertical);
  171. }
  172. .wp-block-post-comments .comment-meta,
  173. .wp-block-post-comments .comment-author {
  174. font-size: var(--wp--preset--font-size--tiny);
  175. margin-left: 0;
  176. }
  177. .wp-block-post-comments .comment-meta a,
  178. .wp-block-post-comments .comment-author a {
  179. text-decoration: none;
  180. }
  181. .wp-block-post-comments label {
  182. font-size: var(--wp--preset--font-size--small);
  183. margin-bottom: var(--wp--custom--margin--baseline);
  184. }
  185. .wp-block-post-comments input[type=checkbox] + label {
  186. margin-left: 0;
  187. }
  188. .wp-block-post-comments .commentlist .comment {
  189. padding-left: 0;
  190. }
  191. .wp-block-post-comments .commentlist .comment p {
  192. font-size: var(--wp--preset--font-size--normal);
  193. margin-bottom: var(--wp--custom--margin--vertical);
  194. margin-top: var(--wp--custom--margin--vertical);
  195. }
  196. .wp-block-post-comments .commentlist > li {
  197. margin-top: var(--wp--custom--margin--vertical);
  198. margin-bottom: var(--wp--custom--margin--vertical);
  199. }
  200. .wp-block-post-comments .commentlist > li:not(first-child) {
  201. border-bottom: 1px solid var(--wp--custom--form--border--color);
  202. }
  203. .wp-block-post-comments .comment .comment-author .avatar {
  204. border-radius: 1.5em;
  205. border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
  206. display: block;
  207. float: left;
  208. height: 42px;
  209. margin-right: 18px;
  210. width: 42px;
  211. }
  212. .wp-block-post-comments .comment .comment-author .fn {
  213. font-size: var(--global--font-size-xs);
  214. }
  215. .wp-block-post-comments .comment-form {
  216. display: grid;
  217. column-gap: 1em;
  218. grid-template-rows: auto;
  219. grid-template-areas: "notes notes" "comment comment" "author email" "url url" "cookies-consent cookies-consent" "form-submit form-submit";
  220. }
  221. .wp-block-post-comments .comment-form p {
  222. margin-top: var(--wp--custom--margin--baseline);
  223. margin-bottom: var(--wp--custom--margin--baseline);
  224. }
  225. .wp-block-post-comments .comment-form input[type="submit"] {
  226. border-radius: var(--wp--custom--button--border--radius);
  227. cursor: pointer;
  228. font-size: var(--wp--preset--font-size--normal);
  229. line-height: 1.5;
  230. padding: 23px 25px;
  231. }
  232. .wp-block-post-comments .comment-form input[type="submit"]:not(.has-background):not(.has-text-color):hover, .wp-block-post-comments .comment-form input[type="submit"]:not(.has-background):not(.has-text-color):focus, .wp-block-post-comments .comment-form input[type="submit"]:not(.has-background):not(.has-text-color).has-focus {
  233. padding: 23px 25px;
  234. }
  235. .wp-block-post-comments .comment-form .comment-form-cookies-consent > label,
  236. .wp-block-post-comments .comment-form .comment-notes {
  237. font-size: var(--wp--preset--font-size--tiny);
  238. }
  239. .wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),
  240. .wp-block-post-comments .comment-form textarea {
  241. border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
  242. font-size: var(--wp--preset--font-size--small);
  243. width: 100%;
  244. }
  245. .wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]):focus,
  246. .wp-block-post-comments .comment-form textarea:focus {
  247. color: var(--wp--custom--form--color--text);
  248. outline-width: 1px;
  249. outline-style: dotted;
  250. outline-color: var(--wp--custom--form--color--text);
  251. }
  252. .wp-block-post-comments .comment-notes {
  253. grid-area: notes;
  254. }
  255. .wp-block-post-comments .comment-form-author {
  256. grid-area: author;
  257. }
  258. .wp-block-post-comments .comment-form-email {
  259. grid-area: email;
  260. }
  261. .wp-block-post-comments .comment-form-url {
  262. grid-area: url;
  263. }
  264. .wp-block-post-comments .comment-form-comment {
  265. grid-area: comment;
  266. }
  267. .wp-block-post-comments .comment-form-cookies-consent {
  268. grid-area: cookies-consent;
  269. }
  270. .wp-block-post-comments .form-submit {
  271. grid-area: form-submit;
  272. }
  273. .wp-block-pullquote.is-style-solid-color {
  274. padding: var(--wp--custom--margin--horizontal);
  275. }
  276. .wp-block-site-title a {
  277. text-decoration: underline;
  278. text-decoration-thickness: 2px;
  279. text-decoration-color: var(--wp--custom--color--secondary);
  280. text-underline-offset: 0.13em;
  281. transition: background-size 0.1s ease-out;
  282. }
  283. .wp-block-site-title a:hover, .wp-block-site-title a:focus {
  284. text-decoration: none;
  285. color: var(--wp--custom--color--secondary);
  286. background-size: 8px 0px;
  287. }
  288. /**
  289. * Author bio
  290. */
  291. .author-bio {
  292. margin-top: calc(6 * var(--wp--custom--margin--baseline));
  293. }
  294. .author-bio .wp-block-post-navigation-link,
  295. .author-bio .wp-block-post-author__name {
  296. font-family: var(--wp--preset--font-family--headings);
  297. }
  298. .author-bio .wp-block-post-navigation-link {
  299. font-size: var(--wp--preset--font-size--large);
  300. }
  301. .wp-block-post-navigation-links {
  302. margin-top: calc(9 * var(--wp--custom--margin--baseline));
  303. }
  304. .wp-block-post-navigation-links .wp-block-post-navigation-link-byline {
  305. font-size: var(--wp--preset--font-size--tiny);
  306. margin: 0;
  307. }
  308. .footer-credit {
  309. display: flex;
  310. font-family: var(--wp--preset--font-family--headings);
  311. white-space: pre-wrap;
  312. }
  313. .footer-credit > * {
  314. align-self: center;
  315. font-size: var(--wp--preset--font-size--small);
  316. }
  317. .footer-credit .wp-block-site-title > a {
  318. font-size: var(--wp--preset--font-size--small);
  319. }
  320. /*# sourceMappingURL=theme.css.map */