style.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /*
  2. Theme Name: Reverie
  3. Theme URI: https://wordpress.com/theme/reverie/
  4. Author: Automattic
  5. Author URI: https://automattic.com/
  6. Description: Reverie is a blogging theme inspired by the work of Mark Rothko.
  7. Requires at least: 6.1
  8. Tested up to: 6.2
  9. Requires PHP: 5.7
  10. Version: 1.0.4
  11. License: GNU General Public License v2 or later
  12. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  13. Text Domain: reverie
  14. Tags: 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, blog
  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. * Search block (inside button) styles
  28. * https://github.com/WordPress/gutenberg/issues/39946
  29. */
  30. .wp-block-search__button-inside > .wp-block-search__inside-wrapper {
  31. box-sizing: border-box;
  32. }
  33. .wp-block-search__button-inside .wp-block-search__input {
  34. padding: 0 0.25rem;
  35. }
  36. /* Comment styles */
  37. .wp-block-comment-template > .comment .wp-block-group-is-layout-flex,
  38. .wp-block-comment-template > .comment .wp-block-group-is-layout-flow {
  39. flex-grow: 1;
  40. }
  41. /*
  42. * Fixed bottom nav
  43. */
  44. .fixed-bottom-nav {
  45. bottom: 0;
  46. left: 0;
  47. height: 64px;
  48. position: fixed;
  49. width: 100%;
  50. }
  51. .fixed-bottom-nav::before {
  52. content: '';
  53. background-color: var(--wp--preset--color--primary);
  54. position: absolute;
  55. height: 100px;
  56. width: 100%;
  57. top: -40px;
  58. mix-blend-mode: darken;
  59. -webkit-mask: url(assets/images/nav-edge.png) no-repeat center / cover;
  60. mask: url(assets/images/nav-edge.png) no-repeat center / cover;
  61. z-index: -1;
  62. }
  63. .background-overlay {
  64. top: 0;
  65. left: 0;
  66. width: 100%;
  67. height: 100%;
  68. background-image: url(assets/images/background-texture.png);
  69. background-size: contain;
  70. background-repeat: repeat;
  71. position: fixed;
  72. z-index: -1; /* Keeps the background behind other content */
  73. }
  74. .background-overlay::before {
  75. content: "";
  76. position: absolute;
  77. top: 0;
  78. left: 0;
  79. width: 100%;
  80. height: 100%;
  81. background-color: var(--wp--preset--color--background);
  82. mix-blend-mode: color; /* Change to desired blend mode */
  83. pointer-events: none;
  84. }
  85. /* Custom Reverie alternating post styles */
  86. .post-content-reverie-container {
  87. background-image: url(assets/images/25.png);
  88. background-size: cover;
  89. background-repeat: no-repeat;
  90. background-position: center top;
  91. position: relative;
  92. }
  93. .wp-block-post-template-is-layout-flow > .wp-block-post:nth-child(2n) .post-content-reverie-container {
  94. background-image: url(assets/images/50.png);
  95. }
  96. .wp-block-post-template-is-layout-flow > .wp-block-post:nth-child(3n) .post-content-reverie-container {
  97. background-image: url(assets/images/90.png);
  98. }
  99. .reverie-archive-title {
  100. background-image: url(assets/images/90.png);
  101. background-size: 100% 100%;
  102. background-repeat: no-repeat;
  103. background-position: center top;
  104. }
  105. .reverie-single-container, .reverie-comments-section {
  106. background-image: url(assets/images/25.png);
  107. background-size: 120% 100%;
  108. background-repeat: no-repeat;
  109. background-position: center top;
  110. position: relative;
  111. }
  112. @media screen and (min-width: 960px){
  113. .post-content-reverie-container, .reverie-archive-title, .reverie-single-container {
  114. background-size: 75% 100% !important;
  115. }
  116. }
  117. /* Nav modal styles */
  118. .wp-block-navigation__responsive-container.is-menu-open::before {
  119. content: "";
  120. position: absolute;
  121. top: 0;
  122. left: 0;
  123. width: 100%;
  124. height: 100%;
  125. background-color: inherit;
  126. mix-blend-mode: color; /* Change to desired blend mode */
  127. pointer-events: none;
  128. }
  129. .wp-block-navigation__responsive-container {
  130. top: 0;
  131. left: 0;
  132. width: 100%;
  133. height: 100%;
  134. background-image: url(assets/images/background-texture.png);
  135. background-size: contain;
  136. background-repeat: repeat;
  137. position: fixed;
  138. z-index: -1; /* Keeps the background behind other content */
  139. }
  140. .wp-block-navigation__responsive-container-close {
  141. top: 2rem;
  142. right: 3rem;
  143. }
  144. .wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item.wp-block-navigation-submenu,
  145. .wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item.wp-block-navigation-link {
  146. padding: 2rem;
  147. background-image: url(assets/images/90.png) !important;
  148. background-size: 105% 100% !important;
  149. background-position: center !important
  150. }
  151. .wp-block-post-terms.taxonomy-category::before {
  152. content: "· ";
  153. }
  154. .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
  155. gap: 0;
  156. }