style.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /*
  2. Theme Name: Archivo
  3. Theme URI: https://wordpress.com/theme/archivo/
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Archivo is a blog and portfolio theme that shows your featured image large.
  7. Requires at least: 6.3
  8. Tested up to: 6.4
  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. Template:
  14. Text Domain: archivo
  15. Tags: one-column, editor-style, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready, wide-blocks, style-variations
  16. */
  17. /*
  18. * Control the hover stylings of outline block style.
  19. * Unnecessary once block styles are configurable via theme.json
  20. * https://github.com/WordPress/gutenberg/issues/42794
  21. */
  22. .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
  23. background-color: var(--wp--preset--color--secondary);
  24. color: var(--wp--preset--color--background);
  25. border-color: var(--wp--preset--color--secondary);
  26. }
  27. /*
  28. * Link styles
  29. * https://github.com/WordPress/gutenberg/issues/42319
  30. */
  31. a {
  32. text-decoration-color: var(--wp--preset--color--tertiary);
  33. text-decoration-thickness: .5px !important;
  34. text-underline-offset: .1em;
  35. }
  36. a:hover {
  37. text-decoration-color: var(--wp--preset--color--tertiary) !important;
  38. }
  39. /*
  40. * Navigation Block
  41. * Reset the padding from List block
  42. * https://github.com/WordPress/gutenberg/issues/50486
  43. */
  44. .wp-block-navigation ul {
  45. padding: unset;
  46. }
  47. /*
  48. * Adjust the position of the close button
  49. */
  50. .wp-block-navigation__responsive-container-close {
  51. left: 0;
  52. }
  53. .has-modal-open .is-menu-open .wp-block-navigation__responsive-dialog {
  54. margin-top: 48px;
  55. }
  56. .has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog {
  57. margin-top: 94px;
  58. }
  59. /*
  60. * Responsive menu container padding.
  61. * This ensures the responsive container inherits the same
  62. * spacing defined above. This behavior may be built into
  63. * the Block Editor in the future.
  64. */
  65. .wp-block-navigation__responsive-container.is-menu-open {
  66. padding: var(--wp--preset--spacing--50);
  67. }
  68. /* Adjust the top padding for the menu items */
  69. .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  70. padding-top: calc(1.5rem + var(--wp--preset--spacing--50));
  71. }
  72. /* Adjust the top padding for the submenu items */
  73. .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
  74. padding: 0 var(--wp--preset--spacing--50);
  75. }
  76. /*
  77. * Pull quote Block
  78. * Reset the browser default margins for blockquote element
  79. * https://github.com/WordPress/gutenberg/issues/44129
  80. */
  81. .wp-block-pullquote blockquote,
  82. .wp-block-pullquote p {
  83. margin: 0;
  84. }
  85. /*
  86. * Needed to style Jetpack Contact Form
  87. */
  88. .wp-block-jetpack-contact-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
  89. .wp-block-jetpack-contact-form select,
  90. .wp-block-jetpack-contact-form textarea {
  91. border: 1px solid #949494;
  92. font-family: inherit;
  93. font-size: 1em;
  94. margin-bottom: var(--wp--preset--spacing--50);
  95. padding: 8px;
  96. }
  97. .wp-block-jetpack-contact-form .wp-block-jetpack-button button {
  98. padding: 0.5em 2em;
  99. }
  100. .wp-block-jetpack-contact-form.contact-form label {
  101. font-weight: 400;
  102. margin-bottom: 0;
  103. text-transform: none;
  104. }
  105. .wp-block-jetpack-contact-form.contact-form label span {
  106. opacity: 0.7;
  107. }
  108. .wp-block-jetpack-contact-form.contact-form select {
  109. padding: 8px;
  110. }
  111. .wp-block-jetpack-contact-form.contact-form textarea {
  112. margin-bottom: var(--wp--preset--spacing--50);
  113. }
  114. div[id^="contact-form-"] h4 {
  115. font-size: var(--wp--preset--font-size--medium);
  116. font-weight: 700;
  117. line-height: 1.388888889;
  118. }
  119. .contact-form-submission {
  120. margin: 0;
  121. padding: 0;
  122. }
  123. .wp-block-jetpack-mailchimp input:not([type=submit]) {
  124. border: 1px solid #949494;
  125. font-family: inherit;
  126. font-size: 1em;
  127. padding: 8px;
  128. }
  129. .wp-block-jetpack-mailchimp .wp-block-jetpack-button button {
  130. padding: 0.5em 2em;
  131. }
  132. .wp-block-jetpack-mailchimp .wp-block-jetpack-button,
  133. .wp-block-jetpack-mailchimp p {
  134. margin-bottom: var(--wp--preset--spacing--50);
  135. }
  136. .wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]),
  137. .wp-block-post-comments-form .comment-form textarea {
  138. line-height: inherit;
  139. }