style-editor.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  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 Name
  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: #1e1e1e;
  162. background-color: #FFFFFF;
  163. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  164. font-family: var(--font-base, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  165. font-size: 19px;
  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: 19px;
  173. }
  174. p {
  175. font-size: 1em;
  176. line-height: 1.6;
  177. }
  178. a {
  179. color: #0073AA;
  180. }
  181. a:hover {
  182. color: #005177;
  183. }
  184. button,
  185. a {
  186. cursor: pointer;
  187. }
  188. /**
  189. * Elements
  190. * - Styles for basic HTML elemants
  191. */
  192. /**
  193. * Elements
  194. * - Styles for basic HTML elemants
  195. */
  196. blockquote {
  197. padding-left: 16px;
  198. }
  199. blockquote p {
  200. font-size: 1.52087rem;
  201. letter-spacing: normal;
  202. line-height: 1.2;
  203. }
  204. blockquote cite,
  205. blockquote footer {
  206. font-size: 0.86957rem;
  207. letter-spacing: normal;
  208. }
  209. blockquote > * {
  210. margin-top: 16px;
  211. margin-bottom: 16px;
  212. }
  213. blockquote > *:first-child {
  214. margin-top: 0;
  215. }
  216. blockquote > *:last-child {
  217. margin-bottom: 0;
  218. }
  219. blockquote.alignleft, blockquote.alignright {
  220. padding-left: inherit;
  221. }
  222. blockquote.alignleft p, blockquote.alignright p {
  223. font-size: 1.3225rem;
  224. max-width: inherit;
  225. width: inherit;
  226. }
  227. blockquote.alignleft cite,
  228. blockquote.alignleft footer, blockquote.alignright cite,
  229. blockquote.alignright footer {
  230. font-size: 0.75614rem;
  231. letter-spacing: normal;
  232. }
  233. figcaption {
  234. color: #767676;
  235. font-size: 0.75614rem;
  236. margin-top: calc(0.5 * 16px);
  237. margin-bottom: 16px;
  238. text-align: center;
  239. }
  240. .alignleft figcaption,
  241. .alignright figcaption {
  242. margin-bottom: 0;
  243. }
  244. /* WP Smiley */
  245. .page-content .wp-smiley,
  246. .entry-content .wp-smiley,
  247. .comment-content .wp-smiley {
  248. border: none;
  249. margin-bottom: 0;
  250. margin-top: 0;
  251. padding: 0;
  252. }
  253. /* Make sure embeds and iframes fit their containers. */
  254. embed,
  255. iframe,
  256. object {
  257. max-width: 100%;
  258. }
  259. /**
  260. * Blocks
  261. * - These styles replace key Gutenberg Block styles for fonts, colors, and
  262. * spacing with CSS-variables overrides
  263. */
  264. /**
  265. * Block Styles for the Editor
  266. *
  267. * - These styles replace key Gutenberg Block styles for fonts, colors, and
  268. * spacing with CSS-variables overrides in the Block Editor
  269. * - In the future the Block styles may get compiled to individual .css
  270. * files and conditionally loaded
  271. */
  272. .wp-block-button {
  273. /* Default Style */
  274. /* Outline Style */
  275. /* Squared Style */
  276. }
  277. .wp-block-button .wp-block-button__link {
  278. color: #FFFFFF;
  279. font-weight: 600;
  280. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  281. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  282. font-size: 1em;
  283. line-height: 1;
  284. background-color: #0073AA;
  285. border-radius: 5px;
  286. padding: 16px 16px;
  287. }
  288. .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 {
  289. color: #FFFFFF;
  290. background-color: #005177;
  291. }
  292. .wp-block-button.is-style-outline .wp-block-button__link {
  293. color: #0073AA;
  294. background: transparent;
  295. border: 2px solid currentcolor;
  296. }
  297. .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 {
  298. color: #005177;
  299. }
  300. .wp-block-button.is-style-squared .wp-block-button__link {
  301. border-radius: 0;
  302. }
  303. .wp-block-cover,
  304. .wp-block-cover-image {
  305. background-color: black;
  306. color: white;
  307. min-height: 480px;
  308. /* default & custom background-color */
  309. /* Treating H2 separately to account for legacy /core styles */
  310. }
  311. .wp-block-cover .wp-block-cover__inner-container,
  312. .wp-block-cover .wp-block-cover-image-text,
  313. .wp-block-cover .wp-block-cover-text,
  314. .wp-block-cover .block-editor-block-list__block,
  315. .wp-block-cover-image .wp-block-cover__inner-container,
  316. .wp-block-cover-image .wp-block-cover-image-text,
  317. .wp-block-cover-image .wp-block-cover-text,
  318. .wp-block-cover-image .block-editor-block-list__block {
  319. color: currentColor;
  320. }
  321. .wp-block-cover .wp-block-cover__inner-container a,
  322. .wp-block-cover .wp-block-cover-image-text a,
  323. .wp-block-cover .wp-block-cover-text a,
  324. .wp-block-cover .block-editor-block-list__block a,
  325. .wp-block-cover-image .wp-block-cover__inner-container a,
  326. .wp-block-cover-image .wp-block-cover-image-text a,
  327. .wp-block-cover-image .wp-block-cover-text a,
  328. .wp-block-cover-image .block-editor-block-list__block a {
  329. color: currentColor;
  330. }
  331. .wp-block-cover:not([class*='background-color']) .wp-block-cover__inner-container,
  332. .wp-block-cover:not([class*='background-color']) .wp-block-cover-image-text,
  333. .wp-block-cover:not([class*='background-color']) .wp-block-cover-text,
  334. .wp-block-cover:not([class*='background-color']) .block-editor-block-list__block,
  335. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover__inner-container,
  336. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover-image-text,
  337. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover-text,
  338. .wp-block-cover-image:not([class*='background-color']) .block-editor-block-list__block {
  339. color: white;
  340. }
  341. .wp-block-cover h2,
  342. .wp-block-cover-image h2 {
  343. font-size: 2.01136em;
  344. letter-spacing: normal;
  345. line-height: 1.2;
  346. padding: 0;
  347. max-width: inherit;
  348. text-align: inherit;
  349. }
  350. .wp-block-cover h2.has-text-align-left,
  351. .wp-block-cover-image h2.has-text-align-left {
  352. text-align: left;
  353. }
  354. .wp-block-cover h2.has-text-align-center,
  355. .wp-block-cover-image h2.has-text-align-center {
  356. text-align: center;
  357. }
  358. .wp-block-cover h2.has-text-align-right,
  359. .wp-block-cover-image h2.has-text-align-right {
  360. text-align: right;
  361. }
  362. .wp-block-heading h1, h1, .h1,
  363. .wp-block-heading h2, h2, .h2,
  364. .wp-block-heading h3, h3, .h3,
  365. .wp-block-heading h4, h4, .h4,
  366. .wp-block-heading h5, h5, .h5,
  367. .wp-block-heading h6, h6, .h6 {
  368. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  369. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  370. font-weight: 600;
  371. clear: both;
  372. }
  373. .wp-block-heading h1, h1, .h1 {
  374. font-size: 2.31306em;
  375. letter-spacing: normal;
  376. line-height: 1.2;
  377. }
  378. .wp-block-heading h2, h2, .h2 {
  379. font-size: 2.01136em;
  380. letter-spacing: normal;
  381. line-height: 1.2;
  382. }
  383. .wp-block-heading h3, h3, .h3 {
  384. font-size: 1.74901em;
  385. letter-spacing: normal;
  386. line-height: 1.2;
  387. }
  388. .wp-block-heading h4, h4, .h4 {
  389. font-size: 1.52087em;
  390. letter-spacing: normal;
  391. line-height: 1.2;
  392. }
  393. .wp-block-heading h5, h5, .h5 {
  394. font-size: 1.3225em;
  395. letter-spacing: normal;
  396. line-height: 1.2;
  397. }
  398. .wp-block-heading h6, h6, .h6 {
  399. font-size: 1.15em;
  400. letter-spacing: normal;
  401. line-height: 1.2;
  402. }
  403. /* Center image block by default in the editor */
  404. .wp-block-image > div {
  405. text-align: center;
  406. }
  407. [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized {
  408. margin: 0 auto;
  409. }
  410. .wp-block-gallery figcaption {
  411. margin-bottom: 0;
  412. }
  413. .wp-block-group.has-background {
  414. padding: 21.312px;
  415. }
  416. @media only screen and (min-width: 560px) {
  417. .wp-block-group.has-background {
  418. padding: 32px;
  419. }
  420. }
  421. .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] {
  422. margin: 0;
  423. width: 100%;
  424. }
  425. .wp-block-latest-comments {
  426. margin-left: 0;
  427. }
  428. .wp-block-latest-posts {
  429. padding-left: 0;
  430. }
  431. .wp-block-latest-posts > li > a {
  432. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  433. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  434. font-size: 1.52087rem;
  435. font-weight: 600;
  436. line-height: 1.2;
  437. }
  438. .wp-block-latest-posts:not(.is-grid) > li {
  439. /* Vertical margins logic */
  440. margin-top: 32px;
  441. margin-bottom: 32px;
  442. }
  443. .wp-block-latest-posts:not(.is-grid) > li:first-child {
  444. margin-top: 0;
  445. }
  446. .wp-block-latest-posts:not(.is-grid) > li:last-child {
  447. margin-bottom: 0;
  448. }
  449. .wp-block-latest-posts .wp-block-latest-posts__post-date {
  450. color: #767676;
  451. font-size: 0.86957rem;
  452. line-height: 1.6;
  453. }
  454. [class*="inner-container"] .wp-block-latest-posts .wp-block-latest-posts__post-date,
  455. .has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
  456. color: currentColor;
  457. }
  458. .wp-block-latest-posts .wp-block-latest-posts__post-excerpt,
  459. .wp-block-latest-posts .wp-block-latest-posts__post-full-content {
  460. font-size: 0.86957rem;
  461. line-height: 1.6;
  462. margin: 0;
  463. }
  464. .block-library-list ul,
  465. .block-library-list ol {
  466. margin: 32px 0;
  467. padding-left: 32px;
  468. }
  469. .block-library-list li > ul,
  470. .block-library-list li > ol {
  471. margin: 0;
  472. }
  473. .wp-block-media-text .block-editor-inner-blocks {
  474. padding-right: 16px;
  475. padding-left: 16px;
  476. }
  477. @media only screen and (min-width: 640px) {
  478. .wp-block-media-text .block-editor-inner-blocks {
  479. padding-right: 32px;
  480. padding-left: 32px;
  481. }
  482. }
  483. .wp-block-media-text[style*="background-color"]:not(.has-background-background-color) a {
  484. color: currentColor;
  485. }
  486. .a8c-posts-list {
  487. padding-left: 0;
  488. }
  489. p.has-background {
  490. padding: 16px 16px;
  491. }
  492. p.has-background:not(.has-background-background-color) a {
  493. color: currentColor;
  494. }
  495. .wp-block-pullquote {
  496. padding: calc( 3 * 16px) 0;
  497. margin-left: 0;
  498. margin-right: 0;
  499. text-align: center;
  500. border-top-color: transparent;
  501. border-top-width: 4px;
  502. border-bottom-color: transparent;
  503. border-bottom-width: 4px;
  504. color: #1e1e1e;
  505. /**
  506. * Block Options
  507. */
  508. }
  509. .wp-block-pullquote blockquote {
  510. padding-left: 0;
  511. }
  512. .wp-block-pullquote p {
  513. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  514. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  515. font-size: 1.52087em;
  516. letter-spacing: normal;
  517. line-height: 1.2;
  518. }
  519. .wp-block-pullquote a {
  520. color: currentColor;
  521. }
  522. .wp-block-pullquote .wp-block-pullquote__citation,
  523. .wp-block-pullquote cite,
  524. .wp-block-pullquote footer {
  525. color: #767676;
  526. font-size: 0.86957em;
  527. letter-spacing: normal;
  528. }
  529. .wp-block-pullquote:not(.is-style-solid-color) {
  530. background: none;
  531. }
  532. .wp-block-pullquote.is-style-solid-color {
  533. background-color: #0073AA;
  534. color: #FFFFFF;
  535. }
  536. .wp-block-pullquote.is-style-solid-color.alignleft blockquote,
  537. .wp-block-pullquote.is-style-solid-color.alignright blockquote {
  538. padding-left: 16px;
  539. padding-right: 16px;
  540. max-width: inherit;
  541. }
  542. .wp-block-pullquote.is-style-solid-color blockquote {
  543. padding-left: 0;
  544. }
  545. .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation,
  546. .wp-block-pullquote.is-style-solid-color cite,
  547. .wp-block-pullquote.is-style-solid-color footer {
  548. color: currentColor;
  549. }
  550. .wp-block-pullquote.alignwide > p,
  551. .wp-block-pullquote.alignfull > p,
  552. .wp-block-pullquote.alignwide blockquote,
  553. .wp-block-pullquote.alignfull blockquote {
  554. margin-left: auto;
  555. margin-right: auto;
  556. }
  557. .wp-block-quote {
  558. border-left-color: #0073AA;
  559. margin: 32px 0;
  560. padding-left: 16px;
  561. }
  562. .wp-block-quote p {
  563. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  564. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  565. font-size: 1.52087em;
  566. letter-spacing: normal;
  567. }
  568. .wp-block-quote.is-large, .wp-block-quote.is-style-large {
  569. border: none;
  570. padding: 0;
  571. }
  572. .wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
  573. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  574. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  575. font-size: 1.74901em;
  576. letter-spacing: normal;
  577. line-height: 1.2;
  578. }
  579. .has-background:not(.has-background-background-color) .wp-block-quote,
  580. [class*="background-color"]:not(.has-background-background-color) .wp-block-quote,
  581. [style*="background-color"]:not(.has-background-background-color) .wp-block-quote,
  582. .wp-block-cover[style*="background-image"] .wp-block-quote {
  583. border-color: currentColor;
  584. }
  585. .wp-block-quote .wp-block-quote__citation {
  586. color: #767676;
  587. font-size: 0.86957em;
  588. letter-spacing: normal;
  589. }
  590. .has-background:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  591. [class*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  592. [style*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  593. .wp-block-cover[style*="background-image"] .wp-block-quote .wp-block-quote__citation {
  594. color: currentColor;
  595. }
  596. .wp-block-separator,
  597. hr {
  598. border-bottom: 2px solid #CCCCCC;
  599. clear: both;
  600. }
  601. .wp-block-separator[style*="text-align:right"], .wp-block-separator[style*="text-align: right"],
  602. hr[style*="text-align:right"],
  603. hr[style*="text-align: right"] {
  604. border-right-color: #CCCCCC;
  605. }
  606. .wp-block-separator.is-style-wide,
  607. hr.is-style-wide {
  608. border-bottom-width: 2px;
  609. }
  610. .wp-block-separator.is-style-dots,
  611. hr.is-style-dots {
  612. border-bottom: none;
  613. }
  614. .wp-block-separator.is-style-dots:before,
  615. hr.is-style-dots:before {
  616. color: #CCCCCC;
  617. }
  618. .has-background:not(.has-background-background-color) .wp-block-separator,
  619. [class*="background-color"]:not(.has-background-background-color) .wp-block-separator,
  620. [style*="background-color"]:not(.has-background-background-color) .wp-block-separator,
  621. .wp-block-cover[style*="background-image"] .wp-block-separator, .has-background:not(.has-background-background-color)
  622. hr,
  623. [class*="background-color"]:not(.has-background-background-color)
  624. hr,
  625. [style*="background-color"]:not(.has-background-background-color)
  626. hr,
  627. .wp-block-cover[style*="background-image"]
  628. hr {
  629. border-color: currentColor;
  630. }
  631. table th,
  632. .wp-block-table th {
  633. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  634. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  635. }
  636. table td,
  637. table th,
  638. .wp-block-table td,
  639. .wp-block-table th {
  640. padding: calc( 0.5 * 16px);
  641. }
  642. /**
  643. * Editor Post Title
  644. * - Needs a special styles
  645. */
  646. .editor-post-title__block .editor-post-title__input {
  647. color: #1e1e1e;
  648. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  649. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  650. font-weight: 600;
  651. font-size: 2.01136em;
  652. letter-spacing: normal;
  653. line-height: 1.2;
  654. }
  655. .has-primary-color[class] {
  656. color: #0073AA !important;
  657. }
  658. .has-secondary-color[class] {
  659. color: #0d1b24 !important;
  660. }
  661. .has-foreground-color[class] {
  662. color: #1e1e1e !important;
  663. }
  664. .has-foreground-light-color[class] {
  665. color: #767676 !important;
  666. }
  667. .has-foreground-dark-color[class] {
  668. color: #000000 !important;
  669. }
  670. .has-background-light-color[class] {
  671. color: #FAFAFA !important;
  672. }
  673. .has-background-dark-color[class] {
  674. color: #DDDDDD !important;
  675. }
  676. .has-background-color[class] {
  677. color: #FFFFFF !important;
  678. }
  679. .has-background:not(.has-background-background-color) a,
  680. .has-background p, .has-background h1, .has-background h2, .has-background h3, .has-background h4, .has-background h5, .has-background h6 {
  681. color: currentColor;
  682. }
  683. .has-primary-background-color[class] {
  684. background-color: #0073AA !important;
  685. color: #FFFFFF;
  686. }
  687. .has-primary-background-color[class] {
  688. background-color: #0073AA !important;
  689. color: #FFFFFF;
  690. }
  691. .has-secondary-background-color[class] {
  692. background-color: #0d1b24 !important;
  693. color: #FFFFFF;
  694. }
  695. .has-foreground-background-color[class] {
  696. background-color: #1e1e1e !important;
  697. color: #FFFFFF;
  698. }
  699. .has-foreground-light-background-color[class] {
  700. background-color: #767676 !important;
  701. color: #FFFFFF;
  702. }
  703. .has-foreground-dark-background-color[class] {
  704. background-color: #000000 !important;
  705. color: #FFFFFF;
  706. }
  707. .has-background-light-background-color[class] {
  708. background-color: #FAFAFA !important;
  709. color: #1e1e1e;
  710. }
  711. .has-background-dark-background-color[class] {
  712. background-color: #DDDDDD !important;
  713. color: #1e1e1e;
  714. }
  715. .has-background-background-color[class] {
  716. background-color: #FFFFFF !important;
  717. color: #1e1e1e;
  718. }
  719. .is-small-text,
  720. .has-small-font-size {
  721. font-size: 0.86957em;
  722. }
  723. .is-regular-text,
  724. .has-regular-font-size,
  725. .has-normal-font-size,
  726. .has-medium-font-size {
  727. font-size: 1.15em;
  728. }
  729. .is-large-text,
  730. .has-large-font-size {
  731. font-size: 1.3225em;
  732. line-height: 1.2;
  733. }
  734. .is-larger-text,
  735. .has-larger-font-size,
  736. .has-huge-font-size {
  737. font-size: 1.52087em;
  738. line-height: 1.2;
  739. }
  740. .has-drop-cap:not(:focus)::first-letter {
  741. font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
  742. font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif);
  743. font-size: calc(2 * 2.31306em);
  744. font-weight: 600;
  745. }
  746. /**
  747. * Spacing Overrides
  748. */
  749. [data-block] {
  750. margin-top: 21.312px;
  751. margin-bottom: 21.312px;
  752. }
  753. @media only screen and (min-width: 560px) {
  754. [data-block] {
  755. margin-top: 32px;
  756. margin-bottom: 32px;
  757. }
  758. }
  759. /*
  760. * Margins
  761. */
  762. .margin-top-none {
  763. margin-top: 0 !important;
  764. }
  765. .margin-top-half {
  766. margin-top: 16px !important;
  767. }
  768. .margin-top-default {
  769. margin-top: 32px !important;
  770. }
  771. .margin-right-none {
  772. /*rtl:ignore*/
  773. margin-right: 0 !important;
  774. }
  775. .margin-right-half {
  776. /*rtl:ignore*/
  777. margin-right: 16px !important;
  778. }
  779. .margin-right-default {
  780. /*rtl:ignore*/
  781. margin-right: 32px !important;
  782. }
  783. .margin-bottom-none {
  784. margin-bottom: 0 !important;
  785. }
  786. .margin-bottom-half {
  787. margin-bottom: 16px !important;
  788. }
  789. .margin-bottom-default {
  790. margin-bottom: 32px !important;
  791. }
  792. .margin-left-none {
  793. /*rtl:ignore*/
  794. margin-left: 0 !important;
  795. }
  796. .margin-left-half {
  797. /*rtl:ignore*/
  798. margin-left: 16px !important;
  799. }
  800. .margin-left-default {
  801. /*rtl:ignore*/
  802. margin-left: 32px !important;
  803. }
  804. /*
  805. * Padding
  806. */
  807. .padding-top-none {
  808. padding-top: 0 !important;
  809. }
  810. .padding-top-half {
  811. padding-top: 16px !important;
  812. }
  813. .padding-top-default {
  814. padding-top: 32px !important;
  815. }
  816. .padding-right-none {
  817. /*rtl:ignore*/
  818. padding-right: 0 !important;
  819. }
  820. .padding-right-half {
  821. /*rtl:ignore*/
  822. padding-right: 16px !important;
  823. }
  824. .padding-right-default {
  825. /*rtl:ignore*/
  826. padding-right: 32px !important;
  827. }
  828. .padding-bottom-none {
  829. padding-bottom: 0 !important;
  830. }
  831. .padding-bottom-half {
  832. padding-bottom: 16px !important;
  833. }
  834. .padding-bottom-default {
  835. padding-bottom: 32px !important;
  836. }
  837. .padding-left-none {
  838. /*rtl:ignore*/
  839. padding-left: 0 !important;
  840. }
  841. .padding-left-half {
  842. /*rtl:ignore*/
  843. padding-left: 16px !important;
  844. }
  845. .padding-left-default {
  846. /*rtl:ignore*/
  847. padding-left: 32px !important;
  848. }
  849. /**
  850. * Extras
  851. */
  852. .editor-post-title__block .editor-post-title__input {
  853. font-weight: 600;
  854. }
  855. .wp-block-media-text {
  856. background: #0d1b24;
  857. color: #FFFFFF;
  858. }
  859. .wp-block-media-text.is-style-inset-borders:before {
  860. border-color: #FFFFFF;
  861. }