theme.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. /**
  2. * Breakpoints & Media Queries
  3. */
  4. /**
  5. * Converts a hex value into the rgb equivalent.
  6. *
  7. * @param {string} hex - the hexadecimal value to convert
  8. * @return {string} comma separated rgb values
  9. */
  10. /**
  11. * Breakpoint mixins
  12. */
  13. /**
  14. * Long content fade mixin
  15. *
  16. * Creates a fading overlay to signify that the content is longer
  17. * than the space allows.
  18. */
  19. /**
  20. * Focus styles.
  21. */
  22. /**
  23. * Applies editor left position to the selector passed as argument
  24. */
  25. /**
  26. * Styles that are reused verbatim in a few places
  27. */
  28. /**
  29. * Allows users to opt-out of animations via OS-level preferences.
  30. */
  31. /**
  32. * Reset default styles for JavaScript UI based pages.
  33. * This is a WP-admin agnostic reset
  34. */
  35. /**
  36. * Reset the WP Admin page styles for Gutenberg-like pages.
  37. */
  38. .wp-block-latest-posts {
  39. padding-left: 0;
  40. }
  41. .wp-block-latest-posts:not(.is-grid) > li {
  42. margin-top: var(--wp--custom--gap--vertical);
  43. margin-bottom: var(--wp--custom--gap--vertical);
  44. }
  45. .wp-block-latest-posts:not(.is-grid) > li:first-child {
  46. margin-top: 0;
  47. }
  48. .wp-block-latest-posts:not(.is-grid) > li:last-child {
  49. margin-bottom: 0;
  50. }
  51. .wp-block-latest-posts.is-grid > li {
  52. margin-bottom: var(--wp--custom--gap--vertical);
  53. }
  54. .wp-block-latest-posts.is-grid > li:last-child {
  55. margin-bottom: 0;
  56. }
  57. .wp-block-latest-posts.is-grid.columns-2 > li:nth-last-child(-n+2):nth-child(2n+1), .wp-block-latest-posts.is-grid.columns-2 > li:nth-last-child(-n+2):nth-child(2n+1) ~ li, .wp-block-latest-posts.is-grid.columns-3 > li:nth-last-child(-n+3):nth-child(3n+1), .wp-block-latest-posts.is-grid.columns-3 > li:nth-last-child(-n+3):nth-child(3n+1) ~ li, .wp-block-latest-posts.is-grid.columns-4 > li:nth-last-child(-n+4):nth-child(4n+1), .wp-block-latest-posts.is-grid.columns-4 > li:nth-last-child(-n+4):nth-child(4n+1) ~ li, .wp-block-latest-posts.is-grid.columns-5 > li:nth-last-child(-n+5):nth-child(5n+1), .wp-block-latest-posts.is-grid.columns-5 > li:nth-last-child(-n+5):nth-child(5n+1) ~ li, .wp-block-latest-posts.is-grid.columns-6 > li:nth-last-child(-n+6):nth-child(6n+1), .wp-block-latest-posts.is-grid.columns-6 > li:nth-last-child(-n+6):nth-child(6n+1) ~ li {
  58. margin-bottom: 0;
  59. }
  60. .wp-block-latest-posts > li > * {
  61. margin-top: calc(0.5 * var(--wp--custom--gap--vertical));
  62. margin-bottom: calc(0.5 * var(--wp--custom--gap--vertical));
  63. }
  64. .wp-block-latest-posts > li > *:first-child {
  65. margin-top: 0;
  66. }
  67. .wp-block-latest-posts > li > *:last-child {
  68. margin-bottom: 0;
  69. }
  70. .wp-block-latest-posts > li > a {
  71. font-family: var(--wp--preset--font-family--headings);
  72. line-height: 1.3;
  73. font-size: var(--wp--preset--font-size--huge);
  74. }
  75. .wp-block-latest-posts .wp-block-latest-posts__post-date {
  76. font-size: var(--wp--preset--font-size--sm);
  77. }
  78. .entry-content [class*=inner-container] .wp-block-latest-posts .wp-block-latest-posts__post-date, .entry-content .has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
  79. color: currentColor;
  80. }
  81. .wp-block-latest-posts.alignfull {
  82. padding-left: 0;
  83. padding-right: 0;
  84. }
  85. .entry-content [class*=inner-container] .wp-block-latest-posts.alignfull, .entry-content .has-background .wp-block-latest-posts.alignfull {
  86. padding-left: 0;
  87. padding-right: 0;
  88. }
  89. @media (min-width: 782px) {
  90. .wp-block-latest-posts.is-style-seedlet-alternating-grid {
  91. overflow: hidden;
  92. }
  93. .wp-block-latest-posts.is-style-seedlet-alternating-grid > li {
  94. width: calc(50% - 0.5 * var(--wp--custom--gap--horizontal));
  95. max-width: calc(50% - 0.5 * var(--wp--custom--gap--horizontal));
  96. text-align: right;
  97. }
  98. .wp-block-latest-posts.is-style-seedlet-alternating-grid > li:nth-child(2n+1) {
  99. float: right;
  100. text-align: left;
  101. }
  102. .wp-block-latest-posts.is-style-seedlet-alternating-grid.is-grid {
  103. display: inherit;
  104. }
  105. .wp-block-latest-posts.is-style-seedlet-alternating-grid.is-grid > li {
  106. margin-top: var(--wp--custom--gap--vertical);
  107. margin-right: 0;
  108. }
  109. .wp-block-latest-posts.is-style-seedlet-alternating-grid.is-grid > li:first-child {
  110. margin-top: 0;
  111. }
  112. .wp-block-latest-posts.is-style-seedlet-alternating-grid.is-grid > li:last-child {
  113. margin-bottom: 0;
  114. }
  115. }
  116. /**
  117. * Links in navigation
  118. */
  119. .wp-block-navigation-link a {
  120. text-underline-offset: 0.4rem;
  121. }
  122. .wp-block-navigation-link a :hover {
  123. text-decoration: underline;
  124. }
  125. /**
  126. * Links in Content
  127. */
  128. .is-root-container a,
  129. .wp-block-post-content a {
  130. text-decoration-thickness: 1px;
  131. text-underline-offset: 0.2em;
  132. }
  133. .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-link {
  134. font-family: var(--wp--preset--font-family--playfair-display);
  135. font-size: 32px;
  136. font-weight: 400;
  137. line-height: 60px;
  138. }
  139. .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-link.has-child .wp-block-navigation-link {
  140. font-style: italic;
  141. font-size: 24px;
  142. line-height: 30px;
  143. }
  144. .wp-block-post-comments #comments,
  145. .wp-block-post-comments #reply-title {
  146. font-style: italic;
  147. }
  148. .wp-block-post-comments .comment-meta,
  149. .wp-block-post-comments .comment-author {
  150. font-size: var(--wp--custom--font-sizes--x-small);
  151. }
  152. .wp-block-post-comments .comment-meta a,
  153. .wp-block-post-comments .comment-author a {
  154. text-decoration: none;
  155. }
  156. .wp-block-post-comments form label:not([for=wp-comment-cookies-consent]) {
  157. --wp--custom--form--label--typography--font-size: var(--wp--preset--font-size--small);
  158. --wp--custom--form--label--spacing--margin--bottom: 0;
  159. }
  160. .wp-block-post-comments .commentlist > li {
  161. margin-bottom: calc(1.5 * var(--wp--style--block-gap));
  162. }
  163. .wp-block-post-comments .commentlist > li:not(first-child) {
  164. border-bottom: 1px solid var(--wp--custom--form--border--color);
  165. }
  166. .wp-block-post-comments .commentlist .children > li {
  167. padding-top: var(--wp--custom--gap--vertical);
  168. border-top: 1px solid var(--wp--custom--form--border--color);
  169. }
  170. .wp-block-post-comments .comment .comment-author .avatar {
  171. border: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--custom--form--border--color);
  172. height: 42px;
  173. margin-right: 18px;
  174. width: 42px;
  175. }
  176. .wp-block-post-comments form p {
  177. --wp--custom--gap--vertical: var(--wp--custom--gap--baseline);
  178. margin-top: var(--wp--custom--gap--baseline);
  179. }
  180. .wp-block-post-comments form input[type=submit] {
  181. line-height: 1.5;
  182. padding: 23px 25px;
  183. }
  184. .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 {
  185. padding: 23px 25px;
  186. }
  187. .wp-block-post-comments form .comment-form-cookies-consent > label,
  188. .wp-block-post-comments form .comment-notes {
  189. font-size: var(--wp--custom--font-sizes--x-small);
  190. }
  191. .wp-block-post-comments form input:not([type=submit]):not([type=checkbox]),
  192. .wp-block-post-comments form textarea {
  193. --wp--preset--font-size--medium: var(--wp--preset--font-size--small);
  194. }
  195. .wp-block-post-comments form input:not([type=submit]):not([type=checkbox]):focus,
  196. .wp-block-post-comments form textarea:focus {
  197. color: var(--wp--custom--form--color--text);
  198. outline-width: 1px;
  199. outline-style: dotted;
  200. outline-color: var(--wp--custom--form--color--text);
  201. }
  202. .wp-block-pullquote.is-style-solid-color {
  203. padding: var(--wp--custom--gap--horizontal);
  204. }
  205. .wp-block-site-title a {
  206. text-decoration: underline;
  207. text-decoration-thickness: 2px;
  208. text-underline-offset: 0.13em;
  209. }
  210. .wp-block-site-title a:hover, .wp-block-site-title a:focus {
  211. text-decoration: none;
  212. background-size: 8px 0px;
  213. }
  214. /**
  215. * Author bio
  216. */
  217. .author-bio {
  218. margin-top: calc(6 * var(--wp--custom--gap--baseline));
  219. }
  220. .author-bio .wp-block-post-navigation-link,
  221. .author-bio .wp-block-post-author__name {
  222. font-family: var(--wp--preset--font-family--headings);
  223. }
  224. .author-bio .wp-block-post-navigation-link {
  225. font-size: var(--wp--preset--font-size--large);
  226. }
  227. .wp-block-post-navigation-links {
  228. margin-top: calc(9 * var(--wp--custom--gap--baseline));
  229. }
  230. .wp-block-post-navigation-links .wp-block-post-navigation-link-byline {
  231. font-size: var(--wp--custom--font-sizes--x-small);
  232. margin: 0;
  233. }
  234. .footer-credit {
  235. font-family: var(--wp--preset--font-family--headings);
  236. white-space: pre-wrap;
  237. }
  238. .footer-credit[class*=wp-container-] {
  239. margin-left: auto !important;
  240. margin-right: auto !important;
  241. padding: 0;
  242. column-gap: 0;
  243. }
  244. .footer-credit > * {
  245. align-self: center;
  246. font-size: var(--wp--preset--font-size--small);
  247. }
  248. .footer-credit .wp-block-site-title > a {
  249. font-size: var(--wp--preset--font-size--small);
  250. }
  251. /*# sourceMappingURL=theme.css.map */