style.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /*
  2. Theme Name: Archeo
  3. Theme URI: https://wordpress.com/theme/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.19
  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, auto-loading-homepage, blog-homepage
  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. text-decoration-thickness: 0.075ex;
  38. text-underline-offset: 0.125em;
  39. }
  40. a:hover:not(.wp-block-button__link),
  41. .wp-block-site-title a:hover,
  42. .wp-block-post-title a:hover,
  43. .wp-block-post-date a:hover {
  44. text-decoration-line: underline;
  45. text-decoration-style: dotted;
  46. }
  47. a:active,
  48. .wp-block-site-title a:active,
  49. .wp-block-post-title a:active,
  50. .wp-block-post-date a:active {
  51. text-decoration-style: solid;
  52. }
  53. .wp-block-navigation .wp-block-navigation-link a:hover,
  54. .wp-block-navigation .wp-block-page-list a:hover,
  55. .wp-block-navigation .wp-block-pages-list__item a:hover {
  56. text-decoration-line: underline;
  57. }
  58. /*
  59. * Button hover styles.
  60. * Necessary until the following issue is resolved in Gutenberg:
  61. * https://github.com/WordPress/gutenberg/issues/27075
  62. */
  63. .wp-block-file .wp-block-file__button:hover,
  64. .wp-block-button__link:hover {
  65. background-color: var(--wp--preset--color--primary);
  66. }
  67. /*
  68. * Outline block button needs a padding tweak so it's the same size of normal buttons
  69. * https://github.com/WordPress/gutenberg/issues/27476
  70. */
  71. .is-style-outline > :where(.wp-block-button__link),
  72. :where(.wp-block-button__link).is-style-outline {
  73. padding-top: 0.667em;
  74. padding-bottom: 0.667em;
  75. }
  76. /*
  77. * Comment Form Fields
  78. */
  79. .wp-block-post-comments input:not([type='submit']),
  80. .wp-block-post-comments textarea {
  81. background-color: var(--wp--preset--color--foreground);
  82. border-color: var(--wp--preset--color--background);
  83. color: var(--wp--preset--color--background);
  84. }
  85. /*
  86. * Responsive menu container padding.
  87. * This ensures the responsive container inherits the same
  88. * spacing defined above. This behavior may be built into
  89. * the Block Editor in the future.
  90. */
  91. .wp-block-navigation__responsive-container.is-menu-open {
  92. padding-top: var(--wp--custom--spacing--outer);
  93. padding-bottom: var(--wp--custom--spacing--large);
  94. padding-right: var(--wp--custom--spacing--outer);
  95. padding-left: var(--wp--custom--spacing--outer);
  96. }
  97. /*
  98. * Needed until https://github.com/WordPress/gutenberg/issues/37035 is fixed.
  99. */
  100. .wp-block-navigation__responsive-container.is-menu-open ul {
  101. font-size: var(--wp--preset--font-size--large) !important;
  102. font-weight: 100;
  103. gap: var(--wp--style--block-gap);
  104. }
  105. .wp-block-post-navigation-link > a {
  106. text-decoration: none;
  107. }
  108. /*
  109. * Needed until https://github.com/WordPress/gutenberg/issues/38498 is fixed.
  110. */
  111. .wp-block-group.simple-list-of-posts {
  112. align-items: baseline;
  113. }
  114. /*
  115. * Needed until https://github.com/WordPress/gutenberg/pull/38986 is merged.
  116. */
  117. .wp-block-post-title a {
  118. text-decoration-line: none;
  119. }
  120. .wp-block-post-title a:hover {
  121. text-decoration-line: underline;
  122. }