style-editor.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991
  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: black;
  162. background-color: white;
  163. font-family: Poppins, serif;
  164. font-family: var(--font-base, Poppins, 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: black;
  180. }
  181. a:hover {
  182. color: #666666;
  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.2rem;
  201. letter-spacing: normal;
  202. line-height: 1.125;
  203. }
  204. blockquote cite,
  205. blockquote footer {
  206. font-size: 0.83333rem;
  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: 1rem;
  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.69444rem;
  231. letter-spacing: normal;
  232. }
  233. figcaption {
  234. color: #666666;
  235. font-size: 0.69444rem;
  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: white;
  279. font-weight: 600;
  280. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  281. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  282. font-size: 0.83333em;
  283. line-height: 1;
  284. background-color: black;
  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: white;
  290. background-color: #666666;
  291. }
  292. .wp-block-button.is-style-outline .wp-block-button__link {
  293. color: black;
  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: #666666;
  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. /* default & custom background-color */
  308. /* Treating H2 separately to account for legacy /core styles */
  309. }
  310. .wp-block-cover .wp-block-cover__inner-container,
  311. .wp-block-cover .wp-block-cover-image-text,
  312. .wp-block-cover .wp-block-cover-text,
  313. .wp-block-cover .block-editor-block-list__block,
  314. .wp-block-cover-image .wp-block-cover__inner-container,
  315. .wp-block-cover-image .wp-block-cover-image-text,
  316. .wp-block-cover-image .wp-block-cover-text,
  317. .wp-block-cover-image .block-editor-block-list__block {
  318. color: currentColor;
  319. }
  320. .wp-block-cover .wp-block-cover__inner-container a,
  321. .wp-block-cover .wp-block-cover-image-text a,
  322. .wp-block-cover .wp-block-cover-text a,
  323. .wp-block-cover .block-editor-block-list__block a,
  324. .wp-block-cover-image .wp-block-cover__inner-container a,
  325. .wp-block-cover-image .wp-block-cover-image-text a,
  326. .wp-block-cover-image .wp-block-cover-text a,
  327. .wp-block-cover-image .block-editor-block-list__block a {
  328. color: currentColor;
  329. }
  330. .wp-block-cover:not([class*='background-color']) .wp-block-cover__inner-container,
  331. .wp-block-cover:not([class*='background-color']) .wp-block-cover-image-text,
  332. .wp-block-cover:not([class*='background-color']) .wp-block-cover-text,
  333. .wp-block-cover:not([class*='background-color']) .block-editor-block-list__block,
  334. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover__inner-container,
  335. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover-image-text,
  336. .wp-block-cover-image:not([class*='background-color']) .wp-block-cover-text,
  337. .wp-block-cover-image:not([class*='background-color']) .block-editor-block-list__block {
  338. color: white;
  339. }
  340. .wp-block-cover h2,
  341. .wp-block-cover-image h2 {
  342. font-size: 1.728em;
  343. letter-spacing: -0.015em;
  344. line-height: 1.125;
  345. padding: 0;
  346. max-width: inherit;
  347. text-align: inherit;
  348. }
  349. .wp-block-cover h2.has-text-align-left,
  350. .wp-block-cover-image h2.has-text-align-left {
  351. text-align: left;
  352. }
  353. .wp-block-cover h2.has-text-align-center,
  354. .wp-block-cover-image h2.has-text-align-center {
  355. text-align: center;
  356. }
  357. .wp-block-cover h2.has-text-align-right,
  358. .wp-block-cover-image h2.has-text-align-right {
  359. text-align: right;
  360. }
  361. .wp-block-heading h1, h1, .h1,
  362. .wp-block-heading h2, h2, .h2,
  363. .wp-block-heading h3, h3, .h3,
  364. .wp-block-heading h4, h4, .h4,
  365. .wp-block-heading h5, h5, .h5,
  366. .wp-block-heading h6, h6, .h6 {
  367. font-family: Poppins, sans-serif;
  368. font-family: var(--font-headings, Poppins, sans-serif);
  369. font-weight: 600;
  370. clear: both;
  371. }
  372. .wp-block-heading h1, h1, .h1 {
  373. font-size: 2.0736em;
  374. letter-spacing: -0.015em;
  375. line-height: 1.125;
  376. }
  377. .wp-block-heading h2, h2, .h2 {
  378. font-size: 1.728em;
  379. letter-spacing: -0.015em;
  380. line-height: 1.125;
  381. }
  382. .wp-block-heading h3, h3, .h3 {
  383. font-size: 1.44em;
  384. letter-spacing: -0.015em;
  385. line-height: 1.125;
  386. }
  387. .wp-block-heading h4, h4, .h4 {
  388. font-size: 1.2em;
  389. letter-spacing: normal;
  390. line-height: 1.125;
  391. }
  392. .wp-block-heading h5, h5, .h5 {
  393. font-size: 1em;
  394. letter-spacing: normal;
  395. line-height: 1.125;
  396. }
  397. .wp-block-heading h6, h6, .h6 {
  398. font-size: 0.83333em;
  399. letter-spacing: normal;
  400. line-height: 1.125;
  401. }
  402. /* Center image block by default in the editor */
  403. .wp-block-image > div {
  404. text-align: center;
  405. }
  406. [data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized {
  407. margin: 0 auto;
  408. }
  409. .wp-block-gallery figcaption {
  410. margin-bottom: 0;
  411. }
  412. .wp-block-group.has-background {
  413. padding: 21.312px;
  414. }
  415. @media only screen and (min-width: 560px) {
  416. .wp-block-group.has-background {
  417. padding: 32px;
  418. }
  419. }
  420. .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] {
  421. margin: 0;
  422. width: 100%;
  423. }
  424. .wp-block-latest-comments {
  425. margin-left: 0;
  426. }
  427. .wp-block-latest-posts {
  428. padding-left: 0;
  429. }
  430. .wp-block-latest-posts > li > a {
  431. font-family: Poppins, sans-serif;
  432. font-family: var(--font-headings, Poppins, sans-serif);
  433. font-size: 1.2rem;
  434. font-weight: 600;
  435. line-height: 1.125;
  436. }
  437. .wp-block-latest-posts:not(.is-grid) > li {
  438. /* Vertical margins logic */
  439. margin-top: 32px;
  440. margin-bottom: 32px;
  441. }
  442. .wp-block-latest-posts:not(.is-grid) > li:first-child {
  443. margin-top: 0;
  444. }
  445. .wp-block-latest-posts:not(.is-grid) > li:last-child {
  446. margin-bottom: 0;
  447. }
  448. .wp-block-latest-posts .wp-block-latest-posts__post-date {
  449. color: #666666;
  450. font-size: 0.83333rem;
  451. line-height: 1.6;
  452. }
  453. [class*="inner-container"] .wp-block-latest-posts .wp-block-latest-posts__post-date,
  454. .has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
  455. color: currentColor;
  456. }
  457. .wp-block-latest-posts .wp-block-latest-posts__post-excerpt,
  458. .wp-block-latest-posts .wp-block-latest-posts__post-full-content {
  459. font-size: 0.83333rem;
  460. line-height: 1.6;
  461. margin: 0;
  462. }
  463. .block-library-list ul,
  464. .block-library-list ol {
  465. margin: 32px 0;
  466. padding-left: 32px;
  467. }
  468. .block-library-list li > ul,
  469. .block-library-list li > ol {
  470. margin: 0;
  471. }
  472. .wp-block-media-text .block-editor-inner-blocks {
  473. padding-right: 16px;
  474. padding-left: 16px;
  475. }
  476. @media only screen and (min-width: 640px) {
  477. .wp-block-media-text .block-editor-inner-blocks {
  478. padding-right: 32px;
  479. padding-left: 32px;
  480. }
  481. }
  482. .wp-block-media-text[style*="background-color"]:not(.has-background-background-color) a {
  483. color: currentColor;
  484. }
  485. .a8c-posts-list {
  486. padding-left: 0;
  487. }
  488. p.has-background {
  489. padding: 16px 16px;
  490. }
  491. p.has-background:not(.has-background-background-color) a {
  492. color: currentColor;
  493. }
  494. .wp-block-pullquote {
  495. padding: calc( 3 * 16px) 0;
  496. margin-left: 0;
  497. margin-right: 0;
  498. text-align: center;
  499. border-top-color: #e6e6e6;
  500. border-top-width: 4px;
  501. border-bottom-color: #e6e6e6;
  502. border-bottom-width: 4px;
  503. color: black;
  504. /**
  505. * Block Options
  506. */
  507. }
  508. .wp-block-pullquote blockquote {
  509. padding-left: 0;
  510. }
  511. .wp-block-pullquote p {
  512. font-family: Poppins, sans-serif;
  513. font-family: var(--font-headings, Poppins, sans-serif);
  514. font-size: 1.2em;
  515. letter-spacing: normal;
  516. line-height: 1.125;
  517. }
  518. .wp-block-pullquote a {
  519. color: currentColor;
  520. }
  521. .wp-block-pullquote .wp-block-pullquote__citation,
  522. .wp-block-pullquote cite,
  523. .wp-block-pullquote footer {
  524. color: #666666;
  525. font-size: 0.83333em;
  526. letter-spacing: normal;
  527. }
  528. .wp-block-pullquote:not(.is-style-solid-color) {
  529. background: none;
  530. }
  531. .wp-block-pullquote.is-style-solid-color {
  532. background-color: black;
  533. color: white;
  534. }
  535. .wp-block-pullquote.is-style-solid-color.alignleft blockquote,
  536. .wp-block-pullquote.is-style-solid-color.alignright blockquote {
  537. padding-left: 16px;
  538. padding-right: 16px;
  539. max-width: inherit;
  540. }
  541. .wp-block-pullquote.is-style-solid-color blockquote {
  542. padding-left: 0;
  543. }
  544. .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation,
  545. .wp-block-pullquote.is-style-solid-color cite,
  546. .wp-block-pullquote.is-style-solid-color footer {
  547. color: currentColor;
  548. }
  549. .wp-block-pullquote.alignwide > p,
  550. .wp-block-pullquote.alignfull > p,
  551. .wp-block-pullquote.alignwide blockquote,
  552. .wp-block-pullquote.alignfull blockquote {
  553. margin-left: auto;
  554. margin-right: auto;
  555. }
  556. .wp-block-quote {
  557. border-left-color: black;
  558. margin: 32px 0;
  559. padding-left: 16px;
  560. }
  561. .wp-block-quote p {
  562. font-family: Poppins, sans-serif;
  563. font-family: var(--font-headings, Poppins, sans-serif);
  564. font-size: 1.2em;
  565. letter-spacing: normal;
  566. }
  567. .wp-block-quote.is-large, .wp-block-quote.is-style-large {
  568. border: none;
  569. padding: 0;
  570. }
  571. .wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
  572. font-family: Poppins, sans-serif;
  573. font-family: var(--font-headings, Poppins, sans-serif);
  574. font-size: 1.44em;
  575. letter-spacing: -0.015em;
  576. line-height: 1.125;
  577. }
  578. .has-background:not(.has-background-background-color) .wp-block-quote,
  579. [class*="background-color"]:not(.has-background-background-color) .wp-block-quote,
  580. [style*="background-color"]:not(.has-background-background-color) .wp-block-quote,
  581. .wp-block-cover[style*="background-image"] .wp-block-quote {
  582. border-color: currentColor;
  583. }
  584. .wp-block-quote .wp-block-quote__citation {
  585. color: #666666;
  586. font-size: 0.83333em;
  587. letter-spacing: normal;
  588. }
  589. .has-background:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  590. [class*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  591. [style*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
  592. .wp-block-cover[style*="background-image"] .wp-block-quote .wp-block-quote__citation {
  593. color: currentColor;
  594. }
  595. .wp-block-separator,
  596. hr {
  597. border-bottom: 2px solid #e6e6e6;
  598. clear: both;
  599. }
  600. .wp-block-separator[style*="text-align:right"], .wp-block-separator[style*="text-align: right"],
  601. hr[style*="text-align:right"],
  602. hr[style*="text-align: right"] {
  603. border-right-color: #e6e6e6;
  604. }
  605. .wp-block-separator.is-style-wide,
  606. hr.is-style-wide {
  607. border-bottom-width: 2px;
  608. }
  609. .wp-block-separator.is-style-dots,
  610. hr.is-style-dots {
  611. border-bottom: none;
  612. }
  613. .wp-block-separator.is-style-dots:before,
  614. hr.is-style-dots:before {
  615. color: #e6e6e6;
  616. }
  617. .has-background:not(.has-background-background-color) .wp-block-separator,
  618. [class*="background-color"]:not(.has-background-background-color) .wp-block-separator,
  619. [style*="background-color"]:not(.has-background-background-color) .wp-block-separator,
  620. .wp-block-cover[style*="background-image"] .wp-block-separator, .has-background:not(.has-background-background-color)
  621. hr,
  622. [class*="background-color"]:not(.has-background-background-color)
  623. hr,
  624. [style*="background-color"]:not(.has-background-background-color)
  625. hr,
  626. .wp-block-cover[style*="background-image"]
  627. hr {
  628. border-color: currentColor;
  629. }
  630. table th,
  631. .wp-block-table th {
  632. font-family: Poppins, sans-serif;
  633. font-family: var(--font-headings, Poppins, sans-serif);
  634. }
  635. table td,
  636. table th,
  637. .wp-block-table td,
  638. .wp-block-table th {
  639. padding: calc( 0.5 * 16px);
  640. }
  641. /**
  642. * Editor Post Title
  643. * - Needs a special styles
  644. */
  645. .editor-post-title__block .editor-post-title__input {
  646. color: black;
  647. font-family: Poppins, sans-serif;
  648. font-family: var(--font-headings, Poppins, sans-serif);
  649. font-weight: 600;
  650. font-size: 1.728em;
  651. letter-spacing: -0.015em;
  652. line-height: 1.125;
  653. }
  654. .has-primary-color[class] {
  655. color: black !important;
  656. }
  657. .has-secondary-color[class] {
  658. color: #1a1a1a !important;
  659. }
  660. .has-foreground-color[class] {
  661. color: black !important;
  662. }
  663. .has-foreground-light-color[class] {
  664. color: #666666 !important;
  665. }
  666. .has-foreground-dark-color[class] {
  667. color: #333333 !important;
  668. }
  669. .has-background-light-color[class] {
  670. color: #f2f2f2 !important;
  671. }
  672. .has-background-dark-color[class] {
  673. color: #d9d9d9 !important;
  674. }
  675. .has-background-color[class] {
  676. color: white !important;
  677. }
  678. .has-background:not(.has-background-background-color) a,
  679. .has-background p, .has-background h1, .has-background h2, .has-background h3, .has-background h4, .has-background h5, .has-background h6 {
  680. color: currentColor;
  681. }
  682. .has-primary-background-color[class] {
  683. background-color: black !important;
  684. color: white;
  685. }
  686. .has-primary-background-color[class] {
  687. background-color: black !important;
  688. color: white;
  689. }
  690. .has-secondary-background-color[class] {
  691. background-color: #1a1a1a !important;
  692. color: white;
  693. }
  694. .has-foreground-background-color[class] {
  695. background-color: black !important;
  696. color: white;
  697. }
  698. .has-foreground-light-background-color[class] {
  699. background-color: #666666 !important;
  700. color: white;
  701. }
  702. .has-foreground-dark-background-color[class] {
  703. background-color: #333333 !important;
  704. color: white;
  705. }
  706. .has-background-light-background-color[class] {
  707. background-color: #f2f2f2 !important;
  708. color: black;
  709. }
  710. .has-background-dark-background-color[class] {
  711. background-color: #d9d9d9 !important;
  712. color: black;
  713. }
  714. .has-background-background-color[class] {
  715. background-color: white !important;
  716. color: black;
  717. }
  718. .is-small-text,
  719. .has-small-font-size {
  720. font-size: 0.83333em;
  721. }
  722. .is-regular-text,
  723. .has-regular-font-size,
  724. .has-normal-font-size,
  725. .has-medium-font-size {
  726. font-size: 1.2em;
  727. }
  728. .is-large-text,
  729. .has-large-font-size {
  730. font-size: 1.44em;
  731. line-height: 1.125;
  732. }
  733. .is-larger-text,
  734. .has-larger-font-size,
  735. .has-huge-font-size {
  736. font-size: 1.728em;
  737. line-height: 1.125;
  738. }
  739. .has-drop-cap:not(:focus)::first-letter {
  740. font-family: Poppins, sans-serif;
  741. font-family: var(--font-headings, Poppins, sans-serif);
  742. font-size: calc(2 * 2.0736em);
  743. font-weight: 600;
  744. }
  745. /**
  746. * Spacing Overrides
  747. */
  748. [data-block] {
  749. margin-top: 21.312px;
  750. margin-bottom: 21.312px;
  751. }
  752. @media only screen and (min-width: 560px) {
  753. [data-block] {
  754. margin-top: 32px;
  755. margin-bottom: 32px;
  756. }
  757. }
  758. /*
  759. * Margins
  760. */
  761. .margin-top-none {
  762. margin-top: 0 !important;
  763. }
  764. .margin-top-half {
  765. margin-top: 16px !important;
  766. }
  767. .margin-top-default {
  768. margin-top: 32px !important;
  769. }
  770. .margin-right-none {
  771. /*rtl:ignore*/
  772. margin-right: 0 !important;
  773. }
  774. .margin-right-half {
  775. /*rtl:ignore*/
  776. margin-right: 16px !important;
  777. }
  778. .margin-right-default {
  779. /*rtl:ignore*/
  780. margin-right: 32px !important;
  781. }
  782. .margin-bottom-none {
  783. margin-bottom: 0 !important;
  784. }
  785. .margin-bottom-half {
  786. margin-bottom: 16px !important;
  787. }
  788. .margin-bottom-default {
  789. margin-bottom: 32px !important;
  790. }
  791. .margin-left-none {
  792. /*rtl:ignore*/
  793. margin-left: 0 !important;
  794. }
  795. .margin-left-half {
  796. /*rtl:ignore*/
  797. margin-left: 16px !important;
  798. }
  799. .margin-left-default {
  800. /*rtl:ignore*/
  801. margin-left: 32px !important;
  802. }
  803. /*
  804. * Padding
  805. */
  806. .padding-top-none {
  807. padding-top: 0 !important;
  808. }
  809. .padding-top-half {
  810. padding-top: 16px !important;
  811. }
  812. .padding-top-default {
  813. padding-top: 32px !important;
  814. }
  815. .padding-right-none {
  816. /*rtl:ignore*/
  817. padding-right: 0 !important;
  818. }
  819. .padding-right-half {
  820. /*rtl:ignore*/
  821. padding-right: 16px !important;
  822. }
  823. .padding-right-default {
  824. /*rtl:ignore*/
  825. padding-right: 32px !important;
  826. }
  827. .padding-bottom-none {
  828. padding-bottom: 0 !important;
  829. }
  830. .padding-bottom-half {
  831. padding-bottom: 16px !important;
  832. }
  833. .padding-bottom-default {
  834. padding-bottom: 32px !important;
  835. }
  836. .padding-left-none {
  837. /*rtl:ignore*/
  838. padding-left: 0 !important;
  839. }
  840. .padding-left-half {
  841. /*rtl:ignore*/
  842. padding-left: 16px !important;
  843. }
  844. .padding-left-default {
  845. /*rtl:ignore*/
  846. padding-left: 32px !important;
  847. }