style.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. /*
  2. Theme Name: Archeo
  3. Theme URI: https://github.com/Automattic/themes/tree/trunk/archeo
  4. Author: Automattic
  5. Author URI: https://automattic.com
  6. Description: A theme inspired by Mayan history and culture
  7. Requires at least: 5.8
  8. Tested up to: 5.9
  9. Requires PHP: 5.7
  10. Version: 1.0.6
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Text Domain: archeo
  14. Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
  15. Archeo WordPress Theme, (C) 2022 Automattic, Inc.
  16. Archeo is distributed under the terms of the GNU GPL.
  17. This program is free software: you can redistribute it and/or modify
  18. it under the terms of the GNU General Public License as published by
  19. the Free Software Foundation, either version 2 of the License, or
  20. (at your option) any later version.
  21. This program is distributed in the hope that it will be useful,
  22. but WITHOUT ANY WARRANTY; without even the implied warranty of
  23. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  24. GNU General Public License for more details.
  25. */
  26. /*
  27. * Font smoothing
  28. */
  29. body {
  30. -moz-osx-font-smoothing: grayscale;
  31. -webkit-font-smoothing: antialiased;
  32. }
  33. /*
  34. * Link Details
  35. */
  36. a {
  37. color: var(--wp--preset--color--foreground);
  38. text-decoration-thickness: 0.075ex;
  39. text-underline-offset: 0.125em;
  40. }
  41. .wp-block-site-title a {
  42. text-decoration: none;
  43. }
  44. a:hover:not(.wp-block-button__link),
  45. .wp-block-site-title a:hover,
  46. .wp-block-post-title a:hover,
  47. .wp-block-post-date a:hover {
  48. text-decoration-line: underline;
  49. text-decoration-style: dotted;
  50. }
  51. a:active,
  52. .wp-block-site-title a:active,
  53. .wp-block-post-title a:active,
  54. .wp-block-post-date a:active {
  55. text-decoration-style: solid;
  56. }
  57. .wp-block-navigation .wp-block-navigation-link a:hover,
  58. .wp-block-navigation .wp-block-page-list a:hover,
  59. .wp-block-navigation .wp-block-pages-list__item a:hover {
  60. text-decoration-line: underline;
  61. }
  62. /*
  63. * Button hover styles.
  64. * Necessary until the following issue is resolved in Gutenberg:
  65. * https://github.com/WordPress/gutenberg/issues/27075
  66. */
  67. .wp-block-search__button:hover,
  68. .wp-block-file .wp-block-file__button:hover,
  69. .wp-block-button__link:hover {
  70. background-color: var(--wp--preset--color--primary);
  71. }
  72. /*
  73. * Search and File Block button styles.
  74. * Necessary until the following issues are resolved in Gutenberg:
  75. * https://github.com/WordPress/gutenberg/issues/36444
  76. * https://github.com/WordPress/gutenberg/issues/27760
  77. */
  78. .wp-block-search__button,
  79. .wp-block-file .wp-block-file__button {
  80. background-color: var(--wp--preset--color--foreground);
  81. border-radius: 0;
  82. border: none;
  83. color: var(--wp--preset--color--background);
  84. font-size: var(--wp--preset--typography--font-size--normal);
  85. padding: calc(0.667em + 2px) calc(1.333em + 2px);
  86. }
  87. /*
  88. * Comment Form Fields
  89. */
  90. .wp-block-post-comments input:not([type='submit']),
  91. .wp-block-post-comments textarea {
  92. background-color: var(--wp--preset--color--foreground);
  93. border-color: var(--wp--preset--color--background);
  94. color: var(--wp--preset--color--background);
  95. }
  96. /*
  97. * Alignment styles, borrowed from Twenty Twenty-Two.
  98. * These rules are temporary, and should not be relied on or
  99. * modified too heavily by themes or plugins that build on
  100. * Twenty Twenty-Two. These are meant to be a precursor to
  101. * a global solution provided by the Block Editor.
  102. *
  103. * Relevant issues:
  104. * https://github.com/WordPress/gutenberg/issues/35607
  105. * https://github.com/WordPress/gutenberg/issues/35884
  106. */
  107. .wp-site-blocks,
  108. body > .is-root-container,
  109. .edit-post-visual-editor__post-title-wrapper,
  110. .wp-block-group.alignfull,
  111. .wp-block-group.has-background,
  112. .wp-block-columns.alignfull.has-background,
  113. .wp-block-cover.alignfull,
  114. .is-root-container .wp-block[data-align='full'] > .wp-block-group,
  115. .is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
  116. .is-root-container .wp-block[data-align='full'] > .wp-block-cover {
  117. padding-left: var(--wp--custom--spacing--outer);
  118. padding-right: var(--wp--custom--spacing--outer);
  119. }
  120. .wp-site-blocks .alignfull,
  121. .wp-site-blocks > .wp-block-group.has-background,
  122. .wp-site-blocks > .wp-block-cover,
  123. .wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
  124. .wp-site-blocks > .wp-block-template-part > .wp-block-cover,
  125. body > .is-root-container > .wp-block-cover,
  126. body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
  127. body > .is-root-container > .wp-block-template-part > .wp-block-cover,
  128. .is-root-container .wp-block[data-align='full'] {
  129. margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  130. margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  131. max-width: unset;
  132. width: unset;
  133. }
  134. /* Blocks inside columns don't have negative margins. */
  135. .wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
  136. .is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
  137. /* We also want to avoid stacking negative margins. */
  138. .wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
  139. .is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
  140. margin-left: auto !important;
  141. margin-right: auto !important;
  142. width: inherit;
  143. }
  144. /*
  145. * Responsive menu container padding.
  146. * This ensures the responsive container inherits the same
  147. * spacing defined above. This behavior may be built into
  148. * the Block Editor in the future.
  149. */
  150. .wp-block-navigation__responsive-container.is-menu-open {
  151. padding-top: var(--wp--custom--spacing--outer);
  152. padding-bottom: var(--wp--custom--spacing--large);
  153. padding-right: var(--wp--custom--spacing--outer);
  154. padding-left: var(--wp--custom--spacing--outer);
  155. }
  156. /*
  157. * Needed until https://github.com/WordPress/gutenberg/issues/37035 is fixed.
  158. */
  159. .wp-block-navigation__responsive-container.is-menu-open ul {
  160. font-size: var(--wp--preset--font-size--large) !important;
  161. font-weight: 100;
  162. gap: var(--wp--style--block-gap);
  163. }
  164. .wp-block-post-navigation-link > a {
  165. text-decoration: none;
  166. }
  167. /*
  168. * Needed until https://github.com/WordPress/gutenberg/issues/29167 is addressed.
  169. */
  170. .wp-block-post-comments input[type=submit].wp-block-button__link {
  171. background-color: var(--wp--preset--color--background);
  172. color: var(--wp--preset--color--foreground);
  173. }
  174. /*
  175. * Needed until https://github.com/WordPress/gutenberg/issues/38498 is fixed.
  176. */
  177. .wp-block-group.simple-list-of-posts {
  178. align-items: baseline;
  179. }
  180. /*
  181. * Needed until https://github.com/WordPress/gutenberg/pull/38986 is merged.
  182. */
  183. .wp-block-post-title a {
  184. text-decoration-line: none;
  185. }
  186. .wp-block-post-title a:hover {
  187. text-decoration-line: underline;
  188. }
  189. /*
  190. * Needed until https://github.com/WordPress/gutenberg/issues/34529 is fixed.
  191. */
  192. .site-footer {
  193. row-gap: 0.5rem !important;
  194. }