style.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /*
  2. Theme Name: Hey
  3. Theme URI: https://wordpress.com/theme/hey/
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Hey is a simple personal blog theme.
  7. Requires at least: 6.1
  8. Tested up to: 6.1
  9. Requires PHP: 5.7
  10. Version: 1.0.7
  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: hey
  15. Tags: blog, one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, 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. * Currently table styles are only available with 'wp-block-styles'
  29. * theme support (block css) thus the following needs to be included
  30. * since 'wp-block-styles' aren't used for this theme.
  31. * https://github.com/WordPress/gutenberg/issues/45065
  32. */
  33. .wp-block-table thead {
  34. border-bottom: 3px solid;
  35. }
  36. .wp-block-table tfoot {
  37. border-top: 3px solid;
  38. }
  39. .wp-block-table td,
  40. .wp-block-table th {
  41. padding: var(--wp--preset--spacing--30);
  42. border: 1px solid;
  43. word-break: normal;
  44. }
  45. .wp-block-table figcaption {
  46. font-size: var(--wp--preset--font-size--small);
  47. margin-top: var(--wp--preset--spacing--30);
  48. text-align: center;
  49. }
  50. /*
  51. * Link styles
  52. * https://github.com/WordPress/gutenberg/issues/42319
  53. */
  54. a {
  55. text-decoration-color: var(--wp--preset--color--primary);
  56. text-decoration-thickness: .5px !important;
  57. text-underline-offset: .1em;
  58. }
  59. /* Styles for outline button */
  60. .wp-block-button.is-style-outline>.wp-block-button__link {
  61. border: 1px solid var(--wp--preset--color--foreground);
  62. padding: calc(8px - 1px) calc(32px - 1px);
  63. }
  64. /*
  65. * Styles for search block
  66. * https://github.com/WordPress/gutenberg/issues/49249
  67. */
  68. .wp-block-search__button-inside .wp-block-search__inside-wrapper {
  69. border-radius: 999px;
  70. padding: 9px;
  71. }
  72. .wp-block-search__input,
  73. .wp-block-search__button-inside .wp-block-search__inside-wrapper {
  74. border-color: var(--wp--preset--color--tertiary);
  75. }
  76. /* Adjust font size for comment reply title */
  77. .wp-block-post-comments-form .comment-reply-title {
  78. font-size: var(--wp--preset--font-size--large);
  79. }
  80. /* Adjust the top padding for the submenu items */
  81. .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
  82. padding-top: var(--wp--preset--spacing--30);
  83. }
  84. /*
  85. * Styles for Author blocks
  86. * https://github.com/WordPress/gutenberg/issues/24952
  87. */
  88. .wp-block-post-author__avatar img,
  89. .wp-block-avatar img {
  90. border-radius: 999px;
  91. line-height: 0;
  92. }
  93. .wp-block-post-author__byline,
  94. .wp-block-post-author__bio {
  95. font-size: inherit;
  96. }
  97. /*
  98. * Style for tag cloud
  99. * https://github.com/WordPress/gutenberg/issues/49249
  100. */
  101. .wp-block-tag-cloud.is-style-outline a {
  102. border-radius: 999px;
  103. padding: 0 0.5rem;
  104. }
  105. .wp-block-tag-cloud.is-style-outline a:hover {
  106. color: var(--wp--preset--color--background);
  107. background-color: var(--wp--preset--color--primary);
  108. }
  109. /* Keep the post date single line on the front page */
  110. .nowrap time {
  111. white-space: nowrap;
  112. }