style.css 4.2 KB

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