theme.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. /**
  2. * Colors
  3. */
  4. /**
  5. * Breakpoints & Media Queries
  6. */
  7. /**
  8. * SCSS Variables.
  9. *
  10. * Please use variables from this sheet to ensure consistency across the UI.
  11. * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
  12. * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
  13. */
  14. /**
  15. * Colors
  16. */
  17. /**
  18. * Fonts & basic variables.
  19. */
  20. /**
  21. * Grid System.
  22. * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
  23. */
  24. /**
  25. * Dimensions.
  26. */
  27. /**
  28. * Shadows.
  29. */
  30. /**
  31. * Editor widths.
  32. */
  33. /**
  34. * Block & Editor UI.
  35. */
  36. /**
  37. * Block paddings.
  38. */
  39. /**
  40. * React Native specific.
  41. * These variables do not appear to be used anywhere else.
  42. */
  43. /**
  44. * Converts a hex value into the rgb equivalent.
  45. *
  46. * @param {string} hex - the hexadecimal value to convert
  47. * @return {string} comma separated rgb values
  48. */
  49. /**
  50. * Breakpoint mixins
  51. */
  52. /**
  53. * Long content fade mixin
  54. *
  55. * Creates a fading overlay to signify that the content is longer
  56. * than the space allows.
  57. */
  58. /**
  59. * Focus styles.
  60. */
  61. /**
  62. * Applies editor left position to the selector passed as argument
  63. */
  64. /**
  65. * Styles that are reused verbatim in a few places
  66. */
  67. /**
  68. * Allows users to opt-out of animations via OS-level preferences.
  69. */
  70. /**
  71. * Reset default styles for JavaScript UI based pages.
  72. * This is a WP-admin agnostic reset
  73. */
  74. /**
  75. * Reset the WP Admin page styles for Gutenberg-like pages.
  76. */
  77. .wp-block-audio figcaption {
  78. color: #555;
  79. font-size: 13px;
  80. text-align: center;
  81. }
  82. .is-dark-theme .wp-block-audio figcaption {
  83. color: rgba(255, 255, 255, 0.65);
  84. }
  85. .wp-block-code {
  86. border: 1px solid #ccc;
  87. border-radius: 4px;
  88. font-family: Menlo, Consolas, monaco, monospace;
  89. padding: 0.8em 1em;
  90. }
  91. .wp-block-embed figcaption {
  92. color: #555;
  93. font-size: 13px;
  94. text-align: center;
  95. }
  96. .is-dark-theme .wp-block-embed figcaption {
  97. color: rgba(255, 255, 255, 0.65);
  98. }
  99. .blocks-gallery-caption {
  100. color: #555;
  101. font-size: 13px;
  102. text-align: center;
  103. }
  104. .is-dark-theme .blocks-gallery-caption {
  105. color: rgba(255, 255, 255, 0.65);
  106. }
  107. .wp-block-image figcaption {
  108. color: #555;
  109. font-size: 13px;
  110. text-align: center;
  111. }
  112. .is-dark-theme .wp-block-image figcaption {
  113. color: rgba(255, 255, 255, 0.65);
  114. }
  115. .wp-block-pullquote {
  116. border-top: 4px solid currentColor;
  117. border-bottom: 4px solid currentColor;
  118. margin-bottom: 1.75em;
  119. color: currentColor;
  120. }
  121. .wp-block-pullquote cite,
  122. .wp-block-pullquote footer, .wp-block-pullquote__citation {
  123. color: currentColor;
  124. text-transform: uppercase;
  125. font-size: 0.8125em;
  126. font-style: normal;
  127. }
  128. .wp-block-quote {
  129. border-left: 0.25em solid currentColor;
  130. margin: 0 0 1.75em 0;
  131. padding-left: 1em;
  132. }
  133. .wp-block-quote cite,
  134. .wp-block-quote footer {
  135. color: currentColor;
  136. font-size: 0.8125em;
  137. position: relative;
  138. font-style: normal;
  139. }
  140. .wp-block-quote.has-text-align-right {
  141. border-left: none;
  142. border-right: 0.25em solid currentColor;
  143. padding-left: 0;
  144. padding-right: 1em;
  145. }
  146. .wp-block-quote.has-text-align-center {
  147. border: none;
  148. padding-left: 0;
  149. }
  150. .wp-block-quote.is-style-plain, .wp-block-quote.is-style-large, .wp-block-quote.is-large {
  151. border: none;
  152. }
  153. .wp-block-search .wp-block-search__label {
  154. font-weight: bold;
  155. }
  156. :where(.wp-block-group.has-background) {
  157. padding: 1.25em 2.375em;
  158. }
  159. .wp-block-separator.has-css-opacity {
  160. opacity: 0.4;
  161. }
  162. .wp-block-separator {
  163. border: none;
  164. border-bottom: 2px solid currentColor;
  165. margin-left: auto;
  166. margin-right: auto;
  167. }
  168. .wp-block-separator.has-alpha-channel-opacity {
  169. opacity: initial;
  170. }
  171. .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
  172. width: 100px;
  173. }
  174. .wp-block-separator.has-background:not(.is-style-dots) {
  175. border-bottom: none;
  176. height: 1px;
  177. }
  178. .wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
  179. height: 2px;
  180. }
  181. .wp-block-table thead {
  182. border-bottom: 3px solid;
  183. }
  184. .wp-block-table tfoot {
  185. border-top: 3px solid;
  186. }
  187. .wp-block-table td,
  188. .wp-block-table th {
  189. padding: 0.5em;
  190. border: 1px solid;
  191. word-break: normal;
  192. }
  193. .wp-block-table figcaption {
  194. color: #555;
  195. font-size: 13px;
  196. text-align: center;
  197. }
  198. .is-dark-theme .wp-block-table figcaption {
  199. color: rgba(255, 255, 255, 0.65);
  200. }
  201. .wp-block-video figcaption {
  202. color: #555;
  203. font-size: 13px;
  204. text-align: center;
  205. }
  206. .is-dark-theme .wp-block-video figcaption {
  207. color: rgba(255, 255, 255, 0.65);
  208. }
  209. .wp-block-template-part.has-background {
  210. padding: 1.25em 2.375em;
  211. margin-top: 0;
  212. margin-bottom: 0;
  213. }