style.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /*
  2. Theme Name: Remote
  3. Theme URI: https://wordpress.com/theme/remote
  4. Author: Automattic
  5. Author URI: https://automattic.com
  6. Description: Remote is a dark, minimal block theme ideal for bloggers. Its default styles - a sans-serif font and dark background - contribute for a comfortable, immersive reading experience. It features a set of bold block patterns such as a large posts list and bordered categories and tags.
  7. Requires at least: 6.1
  8. Tested up to: 6.1
  9. Requires PHP: 5.7
  10. Version: 1.1.4
  11. License: GNU General Public License v2 or later
  12. License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
  13. Text Domain: remote
  14. Tags: one-column, block-patterns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready, wide-blocks, style-variations
  15. */
  16. /*
  17. * Font smoothing.
  18. */
  19. body {
  20. -moz-osx-font-smoothing: grayscale;
  21. -webkit-font-smoothing: antialiased;
  22. }
  23. /*
  24. * Text selection
  25. */
  26. ::selection {
  27. background: var(--wp--preset--color--tertiary);
  28. }
  29. /*
  30. * Links styles.
  31. */
  32. .wp-block-post-title a {
  33. text-decoration: none;
  34. }
  35. /*
  36. * Alignment styles, borrowed from Twenty Twenty-Two.
  37. * These rules are temporary, and should not be relied on or
  38. * modified too heavily by themes or plugins that build on
  39. * Twenty Twenty-Two. These are meant to be a precursor to
  40. * a global solution provided by the Block Editor.
  41. *
  42. * Relevant issues:
  43. * https://github.com/WordPress/gutenberg/issues/35607
  44. * https://github.com/WordPress/gutenberg/issues/35884
  45. */
  46. .wp-site-blocks,
  47. body > .is-root-container,
  48. .edit-post-visual-editor__post-title-wrapper,
  49. .wp-block-group.alignfull,
  50. .wp-block-group.has-background,
  51. .wp-block-columns.alignfull.has-background,
  52. .wp-block-cover.alignfull,
  53. .is-root-container .wp-block[data-align='full'] > .wp-block-group,
  54. .is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
  55. .is-root-container .wp-block[data-align='full'] > .wp-block-cover {
  56. padding-left: var(--wp--custom--spacing--outer);
  57. padding-right: var(--wp--custom--spacing--outer);
  58. }
  59. .wp-site-blocks .alignfull,
  60. .wp-site-blocks > .wp-block-group.has-background,
  61. .wp-site-blocks > .wp-block-cover,
  62. .wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
  63. .wp-site-blocks > .wp-block-template-part > .wp-block-cover,
  64. body > .is-root-container > .wp-block-cover,
  65. body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
  66. body > .is-root-container > .wp-block-template-part > .wp-block-cover,
  67. .is-root-container .wp-block[data-align='full'] {
  68. margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  69. margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  70. max-width: unset;
  71. width: unset;
  72. }
  73. /* Blocks inside columns don't have negative margins. */
  74. .wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
  75. .is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
  76. /* We also want to avoid stacking negative margins. */
  77. .wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
  78. .is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
  79. margin-left: auto !important;
  80. margin-right: auto !important;
  81. width: inherit;
  82. }
  83. /*
  84. * Responsive menu container padding.
  85. * This ensures the responsive container inherits the same
  86. * spacing defined above. This behavior may be built into
  87. * the Block Editor in the future.
  88. */
  89. .wp-block-navigation__responsive-container.is-menu-open {
  90. padding-top: var(--wp--custom--spacing--outer);
  91. padding-bottom: var(--wp--custom--spacing--large);
  92. padding-right: var(--wp--custom--spacing--outer);
  93. padding-left: var(--wp--custom--spacing--outer);
  94. }
  95. /*
  96. * Outline Button styles.
  97. */
  98. :is(
  99. .wp-block-search__button,
  100. .wp-block-button__link
  101. ):focus {
  102. outline: 1.5px dotted var(--wp--preset--color--foreground);
  103. outline-offset: 3px;
  104. }
  105. :is(
  106. .is-style-outline.wp-block-button,
  107. .is-style-outline.wp-block-button__link
  108. ) {
  109. color: var(--wp--preset--color--primary)
  110. }
  111. :is(
  112. .is-style-outline>.wp-block-button__link,
  113. .is-style-outline.wp-block-button__link
  114. ):not(.has-background):hover {
  115. color: var(--wp--custom--button--hover--color--background);
  116. background-color: var(--wp--custom--button--hover--color--text);
  117. }
  118. /*
  119. * Link Details
  120. */
  121. a {
  122. text-underline-offset: 0.125em;
  123. }
  124. a:not(
  125. .wp-block-search__button,
  126. .wp-block-button__link,
  127. .wp-block-site-title a,
  128. .wp-block-post-title a
  129. ):focus {
  130. outline: 1px dotted var(--wp--preset--color--primary);
  131. outline-offset: 3px;
  132. }
  133. /*
  134. * Comment form styles
  135. */
  136. .wp-block-post-comments .wp-element-button {
  137. font-family: inherit;
  138. }
  139. .wp-block-post-comments input:not([type=submit],[type=checkbox]),
  140. .wp-block-post-comments textarea,
  141. .wp-block-post-comments select {
  142. border-radius: min(var(--wp--custom--button--border--radius), 10px);
  143. background-color: var(--wp--preset--color--background);
  144. color: var(--wp--preset--color--foreground);
  145. border: 1px solid var(--wp--preset--color--foreground);
  146. }
  147. .wp-block-post-comments input[type=submit] {
  148. border: 1px solid var(--wp--preset--color--primary)
  149. }
  150. .wp-block-post-comments input[type=submit]:hover {
  151. border-color: var(--wp--custom--button--hover--border--color);
  152. }
  153. /*
  154. * Needed until https://github.com/WordPress/gutenberg/issues/34196 or something like it.
  155. */
  156. .wp-block-tag-cloud.is-style-outline a {
  157. border-radius: var(--wp--custom--button--border--radius);
  158. padding: .5rem 1.25rem;
  159. }
  160. .wp-block-tag-cloud.is-style-outline a:hover {
  161. color: var(--wp--preset--color--background);
  162. background-color: var(--wp--preset--color--primary);
  163. }
  164. /*
  165. * Need this because gutenberg sets default color to 555
  166. */
  167. :is(.wp-block-image, .wp-block-audio, .wp-block-video) figcaption {
  168. color: var(--wp--preset--color--foreground)
  169. }