theme.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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--gap--vertical);
  40. margin-bottom: var(--wp--custom--gap--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--gap--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--gap--vertical));
  68. margin-bottom: calc(0.5 * var(--wp--custom--gap--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--gap--horizontal)));
  103. max-width: calc(50% - (0.5 * var(--wp--custom--gap--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--gap--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 {
  128. text-underline-offset: 0.4rem;
  129. }
  130. .wp-block-navigation-link a :hover {
  131. text-decoration: underline;
  132. }
  133. /**
  134. * Links in Content
  135. */
  136. .is-root-container a,
  137. .wp-block-post-content a {
  138. text-decoration-thickness: 1px;
  139. text-underline-offset: 0.2em;
  140. }
  141. .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-link {
  142. font-family: var(--wp--preset--font-family--playfair-display);
  143. font-size: 32px;
  144. font-weight: 400;
  145. line-height: 60px;
  146. }
  147. .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-link.has-child .wp-block-navigation-link {
  148. font-style: italic;
  149. font-size: 24px;
  150. line-height: 30px;
  151. }
  152. .wp-block-post-comments #comments,
  153. .wp-block-post-comments #reply-title {
  154. font-style: italic;
  155. }
  156. .wp-block-post-comments .comment-meta,
  157. .wp-block-post-comments .comment-author {
  158. font-size: var(--wp--custom--font-sizes--tiny);
  159. }
  160. .wp-block-post-comments .comment-meta a,
  161. .wp-block-post-comments .comment-author a {
  162. text-decoration: none;
  163. }
  164. .wp-block-post-comments form label:not([for=wp-comment-cookies-consent]) {
  165. --wp--custom--form--label--typography--font-size: var(--wp--preset--font-size--small);
  166. --wp--custom--form--label--spacing--margin--bottom: 0;
  167. }
  168. .wp-block-post-comments .commentlist > li {
  169. margin-bottom: calc(1.5 * var( --wp--style--block-gap ));
  170. }
  171. .wp-block-post-comments .commentlist > li:not(first-child) {
  172. border-bottom: 1px solid var(--wp--custom--form--border--color);
  173. }
  174. .wp-block-post-comments .commentlist .children > li {
  175. padding-top: var(--wp--custom--gap--vertical);
  176. border-top: 1px solid var(--wp--custom--form--border--color);
  177. }
  178. .wp-block-post-comments .comment .comment-author .avatar {
  179. border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
  180. height: 42px;
  181. margin-right: 18px;
  182. width: 42px;
  183. }
  184. .wp-block-post-comments form p {
  185. --wp--custom--gap--vertical: var(--wp--custom--gap--baseline);
  186. margin-top: var(--wp--custom--gap--baseline);
  187. }
  188. .wp-block-post-comments form input[type="submit"] {
  189. line-height: 1.5;
  190. padding: 23px 25px;
  191. }
  192. .wp-block-post-comments form input[type="submit"]:not(.has-background):not(.has-text-color):hover, .wp-block-post-comments form input[type="submit"]:not(.has-background):not(.has-text-color):focus, .wp-block-post-comments form input[type="submit"]:not(.has-background):not(.has-text-color).has-focus {
  193. padding: 23px 25px;
  194. }
  195. .wp-block-post-comments form .comment-form-cookies-consent > label,
  196. .wp-block-post-comments form .comment-notes {
  197. font-size: var(--wp--custom--font-sizes--tiny);
  198. }
  199. .wp-block-post-comments form input:not([type=submit]):not([type=checkbox]),
  200. .wp-block-post-comments form textarea {
  201. --wp--preset--font-size--normal: var(--wp--preset--font-size--small);
  202. }
  203. .wp-block-post-comments form input:not([type=submit]):not([type=checkbox]):focus,
  204. .wp-block-post-comments form textarea:focus {
  205. color: var(--wp--custom--form--color--text);
  206. outline-width: 1px;
  207. outline-style: dotted;
  208. outline-color: var(--wp--custom--form--color--text);
  209. }
  210. .wp-block-pullquote.is-style-solid-color {
  211. padding: var(--wp--custom--gap--horizontal);
  212. }
  213. .wp-block-site-title a {
  214. text-decoration: underline;
  215. text-decoration-thickness: 2px;
  216. text-underline-offset: 0.13em;
  217. }
  218. .wp-block-site-title a:hover, .wp-block-site-title a:focus {
  219. text-decoration: none;
  220. background-size: 8px 0px;
  221. }
  222. /**
  223. * Author bio
  224. */
  225. .author-bio {
  226. margin-top: calc(6 * var(--wp--custom--gap--baseline));
  227. }
  228. .author-bio .wp-block-post-navigation-link,
  229. .author-bio .wp-block-post-author__name {
  230. font-family: var(--wp--preset--font-family--headings);
  231. }
  232. .author-bio .wp-block-post-navigation-link {
  233. font-size: var(--wp--preset--font-size--large);
  234. }
  235. .wp-block-post-navigation-links {
  236. margin-top: calc(9 * var(--wp--custom--gap--baseline));
  237. }
  238. .wp-block-post-navigation-links .wp-block-post-navigation-link-byline {
  239. font-size: var(--wp--custom--font-sizes--tiny);
  240. margin: 0;
  241. }
  242. .footer-credit {
  243. font-family: var(--wp--preset--font-family--headings);
  244. white-space: pre-wrap;
  245. }
  246. .footer-credit[class*="wp-container-"] {
  247. margin-left: auto !important;
  248. margin-right: auto !important;
  249. padding: 0;
  250. column-gap: 0;
  251. }
  252. .footer-credit > * {
  253. align-self: center;
  254. font-size: var(--wp--preset--font-size--small);
  255. }
  256. .footer-credit .wp-block-site-title > a {
  257. font-size: var(--wp--preset--font-size--small);
  258. }
  259. /*# sourceMappingURL=theme.css.map */