style-editor.css 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004
  1. /**
  2. * These styles should be loaded by the Block Editor only
  3. */
  4. /**
  5. * Abstracts
  6. * - Mixins, variables and functions
  7. */
  8. /**
  9. * Abstracts
  10. * - Mixins, variables and functions
  11. */
  12. /* Sass Functions go here */
  13. /**
  14. * Map deep get
  15. * @author Hugo Giraudel
  16. * @access public
  17. * @param {Map} $map - Map
  18. * @param {Arglist} $keys - Key chain
  19. * @return {*} - Desired value
  20. *
  21. * Example:
  22. * $m-breakpoint: map-deep-get($__prefix-default-config, "layouts", "M");
  23. */
  24. /**
  25. * Deep set function to set a value in nested maps
  26. * @author Hugo Giraudel
  27. * @access public
  28. * @param {Map} $map - Map
  29. * @param {List} $keys - Key chaine
  30. * @param {*} $value - Value to assign
  31. * @return {Map}
  32. *
  33. * Example:
  34. * $__prefix-default-config: map-deep-set($__prefix-default-config, "layouts" "M", 650px);
  35. */
  36. /**
  37. * jQuery-style extend function
  38. * - Child themes can use this function to `reset` the values in
  39. * config maps without editing the `master` Sass files.
  40. * - src: https://www.sitepoint.com/extra-map-functions-sass/
  41. * - About `map-merge()`:
  42. * - - only takes 2 arguments
  43. * - - is not recursive
  44. * @param {Map} $map - first map
  45. * @param {ArgList} $maps - other maps
  46. * @param {Bool} $deep - recursive mode
  47. * @return {Map}
  48. *
  49. * Examples:
  50. $grid-configuration-default: (
  51. 'columns': 12,
  52. 'layouts': (
  53. 'small': 800px,
  54. 'medium': 1000px,
  55. 'large': 1200px,
  56. ),
  57. );
  58. $grid-configuration-custom: (
  59. 'layouts': (
  60. 'large': 1300px,
  61. 'huge': 1500px
  62. ),
  63. );
  64. $grid-configuration-user: (
  65. 'direction': 'ltr',
  66. 'columns': 16,
  67. 'layouts': (
  68. 'large': 1300px,
  69. 'huge': 1500px
  70. ),
  71. );
  72. // $deep: false
  73. $grid-configuration: map-extend($grid-configuration-default, $grid-configuration-custom, $grid-configuration-user);
  74. // --> ("columns": 16, "layouts": (("large": 1300px, "huge": 1500px)), "direction": "ltr")
  75. // $deep: true
  76. $grid-configuration: map-extend($grid-configuration-default, $grid-configuration-custom, $grid-configuration-user, true);
  77. // --> ("columns": 16, "layouts": (("small": 800px, "medium": 1000px, "large": 1300px, "huge": 1500px)), "direction": "ltr")
  78. */
  79. /**
  80. * Button
  81. */
  82. /**
  83. * Cover
  84. */
  85. /**
  86. * Heading
  87. */
  88. /**
  89. * List
  90. */
  91. /**
  92. * Pullquote
  93. */
  94. /**
  95. * Quote
  96. */
  97. /**
  98. * Separator
  99. */
  100. /**
  101. * Responsive breakpoints
  102. * - breakpoints values are defined in _config-global.scss
  103. */
  104. /**
  105. * Align wide widths
  106. * - Sets .alignwide widths
  107. */
  108. /**
  109. * Crop Text Boundry
  110. * - Sets a fixed-width on content within alignwide and alignfull blocks
  111. */
  112. /**
  113. * Add font-family using CSS variables.
  114. * It also adds the proper fallback for browsers without support.
  115. */
  116. /**
  117. * Child Theme Deep
  118. */
  119. /**
  120. * Redefine Sass map values for child theme output.
  121. * - See: style-child-theme.scss
  122. */
  123. /**
  124. * Global
  125. */
  126. /**
  127. * Elements
  128. */
  129. /**
  130. * Button
  131. */
  132. /**
  133. * Cover
  134. */
  135. /**
  136. * Heading
  137. */
  138. /**
  139. * List
  140. */
  141. /**
  142. * Pullquote
  143. */
  144. /**
  145. * Quote
  146. */
  147. /**
  148. * Separator
  149. */
  150. /**
  151. * Header
  152. */
  153. /**
  154. * Footer
  155. */
  156. /**
  157. * Base
  158. * - Reset the browser
  159. */
  160. body {
  161. color: #222222;
  162. background-color: white;
  163. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  164. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  165. font-size: 20px;
  166. font-weight: normal;
  167. line-height: 1.6;
  168. -moz-osx-font-smoothing: grayscale;
  169. -webkit-font-smoothing: antialiased;
  170. }
  171. .editor-post-title__block {
  172. font-size: 20px;
  173. }
  174. p {
  175. font-size: 1em;
  176. line-height: 1.6;
  177. }
  178. a {
  179. color: #CA2017;
  180. }
  181. a:hover {
  182. color: #222222;
  183. }
  184. button,
  185. a {
  186. cursor: pointer;
  187. }
  188. html {
  189. font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
  190. font-family: var(--font-headings, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif);
  191. }
  192. .editor-post-title .editor-post-title__block .editor-post-title__input {
  193. font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
  194. font-family: var(--font-headings, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif);
  195. font-size: 2.48832rem;
  196. text-align: center;
  197. }
  198. /**
  199. * Elements
  200. * - Styles for basic HTML elemants
  201. */
  202. /**
  203. * Elements
  204. * - Styles for basic HTML elemants
  205. */
  206. blockquote {
  207. padding-left: 16px;
  208. }
  209. blockquote p {
  210. font-size: 1.44rem;
  211. letter-spacing: normal;
  212. line-height: 1.125;
  213. }
  214. blockquote cite,
  215. blockquote footer {
  216. font-size: 0.83333rem;
  217. letter-spacing: normal;
  218. }
  219. blockquote > * {
  220. margin-top: 16px;
  221. margin-bottom: 16px;
  222. }
  223. blockquote > *:first-child {
  224. margin-top: 0;
  225. }
  226. blockquote > *:last-child {
  227. margin-bottom: 0;
  228. }
  229. blockquote.alignleft, blockquote.alignright {
  230. padding-left: inherit;
  231. }
  232. blockquote.alignleft p, blockquote.alignright p {
  233. font-size: 1.2rem;
  234. max-width: inherit;
  235. width: inherit;
  236. }
  237. blockquote.alignleft cite,
  238. blockquote.alignleft footer, blockquote.alignright cite,
  239. blockquote.alignright footer {
  240. font-size: 0.69444rem;
  241. letter-spacing: normal;
  242. }
  243. figcaption {
  244. color: #666666;
  245. font-size: 0.69444rem;
  246. margin-top: calc(0.5 * 16px);
  247. margin-bottom: 16px;
  248. text-align: center;
  249. }
  250. .alignleft figcaption,
  251. .alignright figcaption {
  252. margin-bottom: 0;
  253. }
  254. /* WP Smiley */
  255. .page-content .wp-smiley,
  256. .entry-content .wp-smiley,
  257. .comment-content .wp-smiley {
  258. border: none;
  259. margin-bottom: 0;
  260. margin-top: 0;
  261. padding: 0;
  262. }
  263. /* Make sure embeds and iframes fit their containers. */
  264. embed,
  265. iframe,
  266. object {
  267. max-width: 100%;
  268. }
  269. /**
  270. * Blocks
  271. * - These styles replace key Gutenberg Block styles for fonts, colors, and
  272. * spacing with CSS-variables overrides
  273. */
  274. /**
  275. * Block Styles for the Editor
  276. *
  277. * - These styles replace key Gutenberg Block styles for fonts, colors, and
  278. * spacing with CSS-variables overrides in the Block Editor
  279. * - In the future the Block styles may get compiled to individual .css
  280. * files and conditionally loaded
  281. */
  282. .wp-block-button {
  283. /* Default Style */
  284. /* Outline Style */
  285. /* Squared Style */
  286. }
  287. .wp-block-button .wp-block-button__link {
  288. color: white;
  289. font-weight: bold;
  290. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  291. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  292. font-size: 1em;
  293. line-height: 1;
  294. background-color: #CA2017;
  295. border-radius: 4px;
  296. padding: 16px 24px;
  297. }
  298. .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus, .wp-block-button .wp-block-button__link.has-focus {
  299. color: white;
  300. background-color: #222222;
  301. }
  302. .wp-block-button.is-style-outline .wp-block-button__link {
  303. color: #CA2017;
  304. background: transparent;
  305. border: 2px solid currentcolor;
  306. }
  307. .wp-block-button.is-style-outline .wp-block-button__link:hover, .wp-block-button.is-style-outline .wp-block-button__link:focus, .wp-block-button.is-style-outline .wp-block-button__link.has-focus {
  308. color: #222222;
  309. }
  310. .wp-block-button.is-style-squared .wp-block-button__link {
  311. border-radius: 0;
  312. }
  313. .wp-block-cover,
  314. .wp-block-cover-image {
  315. background-color: #222222;
  316. color: white;
  317. min-height: 576px;
  318. /* default & custom background-color */
  319. /* Treating H2 separately to account for legacy /core styles */
  320. }
  321. .wp-block-cover .wp-block-cover__inner-container,
  322. .wp-block-cover .wp-block-cover-image-text,
  323. .wp-block-cover .wp-block-cover-text,
  324. .wp-block-cover .block-editor-block-list__block,
  325. .wp-block-cover-image .wp-block-cover__inner-container,
  326. .wp-block-cover-image .wp-block-cover-image-text,
  327. .wp-block-cover-image .wp-block-cover-text,
  328. .wp-block-cover-image .block-editor-block-list__block {
  329. color: currentColor;
  330. }
  331. .wp-block-cover .wp-block-cover__inner-container a,
  332. .wp-block-cover .wp-block-cover-image-text a,
  333. .wp-block-cover .wp-block-cover-text a,
  334. .wp-block-cover .block-editor-block-list__block a,
  335. .wp-block-cover-image .wp-block-cover__inner-container a,
  336. .wp-block-cover-image .wp-block-cover-image-text a,
  337. .wp-block-cover-image .wp-block-cover-text a,
  338. .wp-block-cover-image .block-editor-block-list__block a {
  339. color: currentColor;
  340. }
  341. .wp-block-cover:not([class*='background-color']) .wp-block-cover__inner-container,
  342. .wp-block-cover:not([class*='background-color']) .wp-block-cover-image-text,
  343. .wp-block-cover:not([class*='background-color']) .wp-block-cover-text,
  344. .wp-block-cover:not([class*='background-color']) .block-editor-block-list__block,
  345. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover__inner-container,
  346. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover-image-text,
  347. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover-text,
  348. .wp-block-cover-image:not([class*='background-color']) .block-editor-block-list__block {
  349. color: white;
  350. }
  351. .wp-block-cover h2,
  352. .wp-block-cover-image h2 {
  353. font-size: 2.0736em;
  354. letter-spacing: normal;
  355. line-height: 1.125;
  356. padding: 0;
  357. max-width: inherit;
  358. text-align: inherit;
  359. }
  360. .wp-block-cover h2.has-text-align-left,
  361. .wp-block-cover-image h2.has-text-align-left {
  362. text-align: left;
  363. }
  364. .wp-block-cover h2.has-text-align-center,
  365. .wp-block-cover-image h2.has-text-align-center {
  366. text-align: center;
  367. }
  368. .wp-block-cover h2.has-text-align-right,
  369. .wp-block-cover-image h2.has-text-align-right {
  370. text-align: right;
  371. }
  372. .wp-block-heading h1, h1, .h1,
  373. .wp-block-heading h2, h2, .h2,
  374. .wp-block-heading h3, h3, .h3,
  375. .wp-block-heading h4, h4, .h4,
  376. .wp-block-heading h5, h5, .h5,
  377. .wp-block-heading h6, h6, .h6 {
  378. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  379. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  380. font-weight: bold;
  381. clear: both;
  382. }
  383. .wp-block-heading h1, h1, .h1 {
  384. font-size: 2.48832em;
  385. letter-spacing: normal;
  386. line-height: 1.125;
  387. }
  388. .wp-block-heading h2, h2, .h2 {
  389. font-size: 2.0736em;
  390. letter-spacing: normal;
  391. line-height: 1.125;
  392. }
  393. .wp-block-heading h3, h3, .h3 {
  394. font-size: 1.728em;
  395. letter-spacing: normal;
  396. line-height: 1.125;
  397. }
  398. .wp-block-heading h4, h4, .h4 {
  399. font-size: 1.44em;
  400. letter-spacing: normal;
  401. line-height: 1.125;
  402. }
  403. .wp-block-heading h5, h5, .h5 {
  404. font-size: 1.2em;
  405. letter-spacing: normal;
  406. line-height: 1.125;
  407. }
  408. .wp-block-heading h6, h6, .h6 {
  409. font-size: 1em;
  410. letter-spacing: normal;
  411. line-height: 1.125;
  412. }
  413. /* Center image block by default in the editor */
  414. .wp-block-image > div {
  415. text-align: center;
  416. }
  417. [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized {
  418. margin: 0 auto;
  419. }
  420. .wp-block-gallery figcaption {
  421. margin-bottom: 0;
  422. }
  423. .wp-block-group.has-background {
  424. padding: 21.312px;
  425. }
  426. @media only screen and (min-width: 560px) {
  427. .wp-block-group.has-background {
  428. padding: 32px;
  429. }
  430. }
  431. .wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align=full] {
  432. margin: 0;
  433. width: 100%;
  434. }
  435. .wp-block-latest-comments {
  436. margin-left: 0;
  437. }
  438. .wp-block-latest-posts {
  439. padding-left: 0;
  440. }
  441. .wp-block-latest-posts > li > a {
  442. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  443. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  444. font-size: 1.44rem;
  445. font-weight: bold;
  446. line-height: 1.125;
  447. }
  448. .wp-block-latest-posts:not(.is-grid) > li {
  449. /* Vertical margins logic */
  450. margin-top: 32px;
  451. margin-bottom: 32px;
  452. }
  453. .wp-block-latest-posts:not(.is-grid) > li:first-child {
  454. margin-top: 0;
  455. }
  456. .wp-block-latest-posts:not(.is-grid) > li:last-child {
  457. margin-bottom: 0;
  458. }
  459. .wp-block-latest-posts .wp-block-latest-posts__post-date {
  460. color: #666666;
  461. font-size: 0.83333rem;
  462. line-height: 1.6;
  463. }
  464. [class*="inner-container"] .wp-block-latest-posts .wp-block-latest-posts__post-date,
  465. .has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
  466. color: currentColor;
  467. }
  468. .wp-block-latest-posts .wp-block-latest-posts__post-excerpt,
  469. .wp-block-latest-posts .wp-block-latest-posts__post-full-content {
  470. font-size: 0.83333rem;
  471. line-height: 1.6;
  472. margin: 0;
  473. }
  474. .block-library-list ul,
  475. .block-library-list ol {
  476. margin: 32px 0;
  477. padding-left: 32px;
  478. }
  479. .block-library-list li > ul,
  480. .block-library-list li > ol {
  481. margin: 0;
  482. }
  483. .wp-block-media-text .block-editor-inner-blocks {
  484. padding-right: 16px;
  485. padding-left: 16px;
  486. }
  487. @media only screen and (min-width: 640px) {
  488. .wp-block-media-text .block-editor-inner-blocks {
  489. padding-right: 32px;
  490. padding-left: 32px;
  491. }
  492. }
  493. .wp-block-media-text[style*="background-color"]:not(.has-background-background-color) a {
  494. color: currentColor;
  495. }
  496. .a8c-posts-list {
  497. padding-left: 0;
  498. }
  499. p.has-background {
  500. padding: 16px 16px;
  501. }
  502. p.has-background:not(.has-background-background-color) a {
  503. color: currentColor;
  504. }
  505. .wp-block-pullquote {
  506. padding: calc( 3 * 16px) 0;
  507. margin-left: 0;
  508. margin-right: 0;
  509. text-align: center;
  510. border-top-color: #DDDDDD;
  511. border-top-width: 4px;
  512. border-bottom-color: #DDDDDD;
  513. border-bottom-width: 4px;
  514. color: #222222;
  515. /**
  516. * Block Options
  517. */
  518. }
  519. .wp-block-pullquote blockquote {
  520. padding-left: 0;
  521. }
  522. .wp-block-pullquote p {
  523. font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
  524. font-family: var(--font-headings, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif);
  525. font-size: 1.44em;
  526. letter-spacing: normal;
  527. line-height: 1.125;
  528. }
  529. .wp-block-pullquote a {
  530. color: currentColor;
  531. }
  532. .wp-block-pullquote .wp-block-pullquote__citation,
  533. .wp-block-pullquote cite,
  534. .wp-block-pullquote footer {
  535. color: #666666;
  536. font-size: 0.83333em;
  537. letter-spacing: normal;
  538. }
  539. .wp-block-pullquote:not(.is-style-solid-color) {
  540. background: none;
  541. }
  542. .wp-block-pullquote.is-style-solid-color {
  543. background-color: #CA2017;
  544. color: white;
  545. }
  546. .wp-block-pullquote.is-style-solid-color.alignleft blockquote,
  547. .wp-block-pullquote.is-style-solid-color.alignright blockquote {
  548. padding-left: 16px;
  549. padding-right: 16px;
  550. max-width: inherit;
  551. }
  552. .wp-block-pullquote.is-style-solid-color blockquote {
  553. padding-left: 0;
  554. }
  555. .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation,
  556. .wp-block-pullquote.is-style-solid-color cite,
  557. .wp-block-pullquote.is-style-solid-color footer {
  558. color: currentColor;
  559. }
  560. .wp-block-pullquote.alignwide > p,
  561. .wp-block-pullquote.alignfull > p,
  562. .wp-block-pullquote.alignwide blockquote,
  563. .wp-block-pullquote.alignfull blockquote {
  564. margin-left: auto;
  565. margin-right: auto;
  566. }
  567. .wp-block-quote {
  568. border-left-color: #CA2017;
  569. margin: 32px 0;
  570. padding-left: 16px;
  571. }
  572. .wp-block-quote p {
  573. font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
  574. font-family: var(--font-headings, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif);
  575. font-size: 1.44em;
  576. letter-spacing: normal;
  577. }
  578. .wp-block-quote.is-large, .wp-block-quote.is-style-large {
  579. border: none;
  580. padding: 0;
  581. }
  582. .wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
  583. font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif;
  584. font-family: var(--font-headings, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif);
  585. font-size: 1.728em;
  586. letter-spacing: normal;
  587. line-height: 1.125;
  588. }
  589. .has-background:not(.has-background-background-color) .wp-block-quote,
  590. [class*="background-color"]:not(.has-background-background-color) .wp-block-quote,
  591. [style*="background-color"]:not(.has-background-background-color) .wp-block-quote,
  592. .wp-block-cover[style*="background-image"] .wp-block-quote {
  593. border-color: currentColor;
  594. }
  595. .wp-block-quote .wp-block-quote__citation {
  596. color: #666666;
  597. font-size: 0.83333em;
  598. letter-spacing: normal;
  599. }
  600. .has-background:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  601. [class*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  602. [style*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  603. .wp-block-cover[style*="background-image"] .wp-block-quote .wp-block-quote__citation {
  604. color: currentColor;
  605. }
  606. .wp-block-separator,
  607. hr {
  608. border-bottom: 2px solid #DDDDDD;
  609. clear: both;
  610. }
  611. .wp-block-separator[style*="text-align:right"], .wp-block-separator[style*="text-align: right"],
  612. hr[style*="text-align:right"],
  613. hr[style*="text-align: right"] {
  614. border-right-color: #DDDDDD;
  615. }
  616. .wp-block-separator.is-style-wide,
  617. hr.is-style-wide {
  618. border-bottom-width: 2px;
  619. }
  620. .wp-block-separator.is-style-dots,
  621. hr.is-style-dots {
  622. border-bottom: none;
  623. }
  624. .wp-block-separator.is-style-dots:before,
  625. hr.is-style-dots:before {
  626. color: #DDDDDD;
  627. }
  628. .has-background:not(.has-background-background-color) .wp-block-separator,
  629. [class*="background-color"]:not(.has-background-background-color) .wp-block-separator,
  630. [style*="background-color"]:not(.has-background-background-color) .wp-block-separator,
  631. .wp-block-cover[style*="background-image"] .wp-block-separator, .has-background:not(.has-background-background-color)
  632. hr,
  633. [class*="background-color"]:not(.has-background-background-color)
  634. hr,
  635. [style*="background-color"]:not(.has-background-background-color)
  636. hr,
  637. .wp-block-cover[style*="background-image"]
  638. hr {
  639. border-color: currentColor;
  640. }
  641. table th,
  642. .wp-block-table th {
  643. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  644. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  645. }
  646. table td,
  647. table th,
  648. .wp-block-table td,
  649. .wp-block-table th {
  650. padding: calc( 0.5 * 16px);
  651. }
  652. /**
  653. * Editor Post Title
  654. * - Needs a special styles
  655. */
  656. .editor-post-title__block .editor-post-title__input {
  657. color: #222222;
  658. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  659. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  660. font-weight: bold;
  661. font-size: 2.0736em;
  662. letter-spacing: normal;
  663. line-height: 1.125;
  664. }
  665. .has-primary-color[class] {
  666. color: #CA2017 !important;
  667. }
  668. .has-secondary-color[class] {
  669. color: #007FDB !important;
  670. }
  671. .has-foreground-color[class] {
  672. color: #222222 !important;
  673. }
  674. .has-foreground-light-color[class] {
  675. color: #666666 !important;
  676. }
  677. .has-foreground-dark-color[class] {
  678. color: #111111 !important;
  679. }
  680. .has-background-light-color[class] {
  681. color: #FAFAFA !important;
  682. }
  683. .has-background-dark-color[class] {
  684. color: #DDDDDD !important;
  685. }
  686. .has-background-color[class] {
  687. color: white !important;
  688. }
  689. .has-background:not(.has-background-background-color) a,
  690. .has-background p, .has-background h1, .has-background h2, .has-background h3, .has-background h4, .has-background h5, .has-background h6 {
  691. color: currentColor;
  692. }
  693. .has-primary-background-color[class] {
  694. background-color: #CA2017 !important;
  695. color: white;
  696. }
  697. .has-primary-background-color[class] {
  698. background-color: #CA2017 !important;
  699. color: white;
  700. }
  701. .has-secondary-background-color[class] {
  702. background-color: #007FDB !important;
  703. color: white;
  704. }
  705. .has-foreground-background-color[class] {
  706. background-color: #222222 !important;
  707. color: white;
  708. }
  709. .has-foreground-light-background-color[class] {
  710. background-color: #666666 !important;
  711. color: white;
  712. }
  713. .has-foreground-dark-background-color[class] {
  714. background-color: #111111 !important;
  715. color: white;
  716. }
  717. .has-background-light-background-color[class] {
  718. background-color: #FAFAFA !important;
  719. color: #222222;
  720. }
  721. .has-background-dark-background-color[class] {
  722. background-color: #DDDDDD !important;
  723. color: #222222;
  724. }
  725. .has-background-background-color[class] {
  726. background-color: white !important;
  727. color: #222222;
  728. }
  729. .is-small-text,
  730. .has-small-font-size {
  731. font-size: 0.83333em;
  732. }
  733. .is-regular-text,
  734. .has-regular-font-size,
  735. .has-normal-font-size,
  736. .has-medium-font-size {
  737. font-size: 1.2em;
  738. }
  739. .is-large-text,
  740. .has-large-font-size {
  741. font-size: 1.44em;
  742. line-height: 1.125;
  743. }
  744. .is-larger-text,
  745. .has-larger-font-size,
  746. .has-huge-font-size {
  747. font-size: 1.728em;
  748. line-height: 1.125;
  749. }
  750. .has-drop-cap:not(:focus)::first-letter {
  751. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  752. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  753. font-size: calc(2 * 2.48832em);
  754. font-weight: bold;
  755. }
  756. /**
  757. * Spacing Overrides
  758. */
  759. [data-block] {
  760. margin-top: 21.312px;
  761. margin-bottom: 21.312px;
  762. }
  763. @media only screen and (min-width: 560px) {
  764. [data-block] {
  765. margin-top: 32px;
  766. margin-bottom: 32px;
  767. }
  768. }
  769. /*
  770. * Margins
  771. */
  772. .margin-top-none {
  773. margin-top: 0 !important;
  774. }
  775. .margin-top-half {
  776. margin-top: 16px !important;
  777. }
  778. .margin-top-default {
  779. margin-top: 32px !important;
  780. }
  781. .margin-right-none {
  782. /*rtl:ignore*/
  783. margin-right: 0 !important;
  784. }
  785. .margin-right-half {
  786. /*rtl:ignore*/
  787. margin-right: 16px !important;
  788. }
  789. .margin-right-default {
  790. /*rtl:ignore*/
  791. margin-right: 32px !important;
  792. }
  793. .margin-bottom-none {
  794. margin-bottom: 0 !important;
  795. }
  796. .margin-bottom-half {
  797. margin-bottom: 16px !important;
  798. }
  799. .margin-bottom-default {
  800. margin-bottom: 32px !important;
  801. }
  802. .margin-left-none {
  803. /*rtl:ignore*/
  804. margin-left: 0 !important;
  805. }
  806. .margin-left-half {
  807. /*rtl:ignore*/
  808. margin-left: 16px !important;
  809. }
  810. .margin-left-default {
  811. /*rtl:ignore*/
  812. margin-left: 32px !important;
  813. }
  814. /*
  815. * Padding
  816. */
  817. .padding-top-none {
  818. padding-top: 0 !important;
  819. }
  820. .padding-top-half {
  821. padding-top: 16px !important;
  822. }
  823. .padding-top-default {
  824. padding-top: 32px !important;
  825. }
  826. .padding-right-none {
  827. /*rtl:ignore*/
  828. padding-right: 0 !important;
  829. }
  830. .padding-right-half {
  831. /*rtl:ignore*/
  832. padding-right: 16px !important;
  833. }
  834. .padding-right-default {
  835. /*rtl:ignore*/
  836. padding-right: 32px !important;
  837. }
  838. .padding-bottom-none {
  839. padding-bottom: 0 !important;
  840. }
  841. .padding-bottom-half {
  842. padding-bottom: 16px !important;
  843. }
  844. .padding-bottom-default {
  845. padding-bottom: 32px !important;
  846. }
  847. .padding-left-none {
  848. /*rtl:ignore*/
  849. padding-left: 0 !important;
  850. }
  851. .padding-left-half {
  852. /*rtl:ignore*/
  853. padding-left: 16px !important;
  854. }
  855. .padding-left-default {
  856. /*rtl:ignore*/
  857. padding-left: 32px !important;
  858. }