theme.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  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. /* NOTE: This can be removed when the rendering of the Navigation block, rendered with a Classic data source (by way of __unstableLocation),
  158. is passed all of the block attributes on the block definition in the template. */
  159. .wp-block-navigation__container {
  160. justify-content: center;
  161. }
  162. .wp-block-post-comments .reply a {
  163. border-radius: var(--wp--custom--button--border--radius);
  164. font-size: var(--wp--preset--font-size--small);
  165. line-height: 1.5;
  166. padding: 23px 25px;
  167. }
  168. .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 {
  169. padding: 23px 25px;
  170. }
  171. .wp-block-post-comments #comments,
  172. .wp-block-post-comments #reply-title {
  173. font-size: var(--wp--preset--font-size--huge);
  174. font-style: italic;
  175. margin-bottom: var(--wp--custom--margin--vertical);
  176. }
  177. .wp-block-post-comments .comment-meta,
  178. .wp-block-post-comments .comment-author {
  179. font-size: var(--wp--preset--font-size--tiny);
  180. margin-left: 0;
  181. }
  182. .wp-block-post-comments .comment-meta a,
  183. .wp-block-post-comments .comment-author a {
  184. text-decoration: none;
  185. }
  186. .wp-block-post-comments label {
  187. font-size: var(--wp--preset--font-size--small);
  188. margin-bottom: var(--wp--custom--margin--baseline);
  189. }
  190. .wp-block-post-comments input[type=checkbox] + label {
  191. margin-left: 0;
  192. }
  193. .wp-block-post-comments .commentlist .comment {
  194. padding-left: 0;
  195. }
  196. .wp-block-post-comments .commentlist .comment p {
  197. font-size: var(--wp--preset--font-size--normal);
  198. margin-bottom: var(--wp--custom--margin--vertical);
  199. margin-top: var(--wp--custom--margin--vertical);
  200. }
  201. .wp-block-post-comments .commentlist > li {
  202. margin-top: var(--wp--custom--margin--vertical);
  203. margin-bottom: var(--wp--custom--margin--vertical);
  204. }
  205. .wp-block-post-comments .commentlist > li:not(first-child) {
  206. border-bottom: 1px solid var(--wp--custom--form--border--color);
  207. }
  208. .wp-block-post-comments .comment .comment-author .avatar {
  209. border-radius: 1.5em;
  210. border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
  211. display: block;
  212. float: left;
  213. height: 42px;
  214. margin-right: 18px;
  215. width: 42px;
  216. }
  217. .wp-block-post-comments .comment .comment-author .fn {
  218. font-size: var(--global--font-size-xs);
  219. }
  220. .wp-block-post-comments .comment-form {
  221. display: grid;
  222. column-gap: 1em;
  223. grid-template-rows: auto;
  224. grid-template-areas: "notes notes" "comment comment" "author email" "url url" "cookies-consent cookies-consent" "form-submit form-submit";
  225. }
  226. .wp-block-post-comments .comment-form p {
  227. margin-top: var(--wp--custom--margin--baseline);
  228. margin-bottom: var(--wp--custom--margin--baseline);
  229. }
  230. .wp-block-post-comments .comment-form input[type="submit"] {
  231. border-radius: var(--wp--custom--button--border--radius);
  232. cursor: pointer;
  233. font-size: var(--wp--preset--font-size--normal);
  234. line-height: 1.5;
  235. padding: 23px 25px;
  236. }
  237. .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 {
  238. padding: 23px 25px;
  239. }
  240. .wp-block-post-comments .comment-form .comment-form-cookies-consent > label,
  241. .wp-block-post-comments .comment-form .comment-notes {
  242. font-size: var(--wp--preset--font-size--tiny);
  243. }
  244. .wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),
  245. .wp-block-post-comments .comment-form textarea {
  246. border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
  247. font-size: var(--wp--preset--font-size--small);
  248. width: 100%;
  249. }
  250. .wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]):focus,
  251. .wp-block-post-comments .comment-form textarea:focus {
  252. color: var(--wp--custom--form--color--text);
  253. outline-width: 1px;
  254. outline-style: dotted;
  255. outline-color: var(--wp--custom--form--color--text);
  256. }
  257. .wp-block-post-comments .comment-notes {
  258. grid-area: notes;
  259. }
  260. .wp-block-post-comments .comment-form-author {
  261. grid-area: author;
  262. }
  263. .wp-block-post-comments .comment-form-email {
  264. grid-area: email;
  265. }
  266. .wp-block-post-comments .comment-form-url {
  267. grid-area: url;
  268. }
  269. .wp-block-post-comments .comment-form-comment {
  270. grid-area: comment;
  271. }
  272. .wp-block-post-comments .comment-form-cookies-consent {
  273. grid-area: cookies-consent;
  274. }
  275. .wp-block-post-comments .form-submit {
  276. grid-area: form-submit;
  277. }
  278. .wp-block-pullquote.is-style-solid-color {
  279. padding: var(--wp--custom--margin--horizontal);
  280. }
  281. .wp-block-site-title a {
  282. text-decoration: underline;
  283. text-decoration-thickness: 2px;
  284. text-decoration-color: var(--wp--custom--color--secondary);
  285. text-underline-offset: 0.13em;
  286. transition: background-size 0.1s ease-out;
  287. }
  288. .wp-block-site-title a:hover, .wp-block-site-title a:focus {
  289. text-decoration: none;
  290. color: var(--wp--custom--color--secondary);
  291. background-size: 8px 0px;
  292. }
  293. /**
  294. * Author bio
  295. */
  296. .author-bio {
  297. margin-top: calc(6 * var(--wp--custom--margin--baseline));
  298. }
  299. .author-bio .wp-block-post-navigation-link,
  300. .author-bio .wp-block-post-author__name {
  301. font-family: var(--wp--preset--font-family--headings);
  302. }
  303. .author-bio .wp-block-post-navigation-link {
  304. font-size: var(--wp--preset--font-size--large);
  305. }
  306. .wp-block-post-navigation-links {
  307. margin-top: calc(9 * var(--wp--custom--margin--baseline));
  308. }
  309. .wp-block-post-navigation-links .wp-block-post-navigation-link-byline {
  310. font-size: var(--wp--preset--font-size--tiny);
  311. margin: 0;
  312. }
  313. .footer-credit {
  314. display: flex;
  315. font-family: var(--wp--preset--font-family--headings);
  316. white-space: pre-wrap;
  317. }
  318. .footer-credit > * {
  319. align-self: center;
  320. font-size: var(--wp--preset--font-size--small);
  321. }
  322. .footer-credit .wp-block-site-title > a {
  323. font-size: var(--wp--preset--font-size--small);
  324. }
  325. /*# sourceMappingURL=theme.css.map */