style-editor.css 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133
  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: #444444;
  162. background-color: white;
  163. font-family: "Source Sans Pro", Arial, sans-serif;
  164. font-family: var(--font-base, "Source Sans Pro", Arial, sans-serif);
  165. font-size: 18px;
  166. font-weight: normal;
  167. line-height: 1.78;
  168. -moz-osx-font-smoothing: grayscale;
  169. -webkit-font-smoothing: antialiased;
  170. }
  171. .editor-post-title__block {
  172. font-size: 18px;
  173. }
  174. p {
  175. font-size: 1em;
  176. line-height: 1.78;
  177. }
  178. a {
  179. color: #404040;
  180. }
  181. a:hover {
  182. color: #f25f70;
  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: #767676;
  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.69444em;
  283. line-height: 1;
  284. background-color: #f25f70;
  285. border-radius: 9px;
  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: #4f4f4f;
  291. }
  292. .wp-block-button.is-style-outline .wp-block-button__link {
  293. color: #f25f70;
  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: #4f4f4f;
  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: #444444;
  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: 1.728em;
  344. letter-spacing: normal;
  345. line-height: 1.125;
  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: "Oswald", sans-serif;
  369. font-family: var(--font-headings, "Oswald", sans-serif);
  370. font-weight: 300;
  371. clear: both;
  372. }
  373. .wp-block-heading h1, h1, .h1 {
  374. font-size: 2.0736em;
  375. letter-spacing: normal;
  376. line-height: 1.125;
  377. }
  378. .wp-block-heading h2, h2, .h2 {
  379. font-size: 1.728em;
  380. letter-spacing: normal;
  381. line-height: 1.125;
  382. }
  383. .wp-block-heading h3, h3, .h3 {
  384. font-size: 1.44em;
  385. letter-spacing: normal;
  386. line-height: 1.125;
  387. }
  388. .wp-block-heading h4, h4, .h4 {
  389. font-size: 1.2em;
  390. letter-spacing: normal;
  391. line-height: 1.125;
  392. }
  393. .wp-block-heading h5, h5, .h5 {
  394. font-size: 1em;
  395. letter-spacing: normal;
  396. line-height: 1.125;
  397. }
  398. .wp-block-heading h6, h6, .h6 {
  399. font-size: 0.83333em;
  400. letter-spacing: normal;
  401. line-height: 1.125;
  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: "Oswald", sans-serif;
  433. font-family: var(--font-headings, "Oswald", sans-serif);
  434. font-size: 1.2rem;
  435. font-weight: 300;
  436. line-height: 1.125;
  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.83333rem;
  452. line-height: 1.78;
  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.83333rem;
  461. line-height: 1.78;
  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: #DDDDDD;
  501. border-top-width: 4px;
  502. border-bottom-color: #DDDDDD;
  503. border-bottom-width: 4px;
  504. color: #444444;
  505. /**
  506. * Block Options
  507. */
  508. }
  509. .wp-block-pullquote blockquote {
  510. padding-left: 0;
  511. }
  512. .wp-block-pullquote p {
  513. font-family: "Source Sans Pro", Arial, sans-serif;
  514. font-family: var(--font-base, "Source Sans Pro", Arial, sans-serif);
  515. font-size: 1.2em;
  516. letter-spacing: normal;
  517. line-height: 1.125;
  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.83333em;
  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: #404040;
  534. color: white;
  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: #404040;
  559. margin: 32px 0;
  560. padding-left: 16px;
  561. }
  562. .wp-block-quote p {
  563. font-family: "Source Sans Pro", Arial, sans-serif;
  564. font-family: var(--font-base, "Source Sans Pro", Arial, sans-serif);
  565. font-size: 1.2em;
  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: "Source Sans Pro", Arial, sans-serif;
  574. font-family: var(--font-base, "Source Sans Pro", Arial, sans-serif);
  575. font-size: 1.44em;
  576. letter-spacing: normal;
  577. line-height: 1.125;
  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.83333em;
  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 #DDDDDD;
  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: #DDDDDD;
  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: #DDDDDD;
  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: "Oswald", sans-serif;
  634. font-family: var(--font-headings, "Oswald", sans-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: #444444;
  648. font-family: "Oswald", sans-serif;
  649. font-family: var(--font-headings, "Oswald", sans-serif);
  650. font-weight: 300;
  651. font-size: 1.728em;
  652. letter-spacing: normal;
  653. line-height: 1.125;
  654. }
  655. .has-primary-color[class] {
  656. color: #404040 !important;
  657. }
  658. .has-secondary-color[class] {
  659. color: #f25f70 !important;
  660. }
  661. .has-foreground-color[class] {
  662. color: #444444 !important;
  663. }
  664. .has-foreground-light-color[class] {
  665. color: #767676 !important;
  666. }
  667. .has-foreground-dark-color[class] {
  668. color: #111111 !important;
  669. }
  670. .has-background-light-color[class] {
  671. color: #FFFFFF !important;
  672. }
  673. .has-background-dark-color[class] {
  674. color: #DDDDDD !important;
  675. }
  676. .has-background-color[class] {
  677. color: white !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: #404040 !important;
  685. color: white;
  686. }
  687. .has-primary-background-color[class] {
  688. background-color: #404040 !important;
  689. color: white;
  690. }
  691. .has-secondary-background-color[class] {
  692. background-color: #f25f70 !important;
  693. color: white;
  694. }
  695. .has-foreground-background-color[class] {
  696. background-color: #444444 !important;
  697. color: white;
  698. }
  699. .has-foreground-light-background-color[class] {
  700. background-color: #767676 !important;
  701. color: white;
  702. }
  703. .has-foreground-dark-background-color[class] {
  704. background-color: #111111 !important;
  705. color: white;
  706. }
  707. .has-background-light-background-color[class] {
  708. background-color: #FFFFFF !important;
  709. color: #444444;
  710. }
  711. .has-background-dark-background-color[class] {
  712. background-color: #DDDDDD !important;
  713. color: #444444;
  714. }
  715. .has-background-background-color[class] {
  716. background-color: white !important;
  717. color: #444444;
  718. }
  719. .is-small-text,
  720. .has-small-font-size {
  721. font-size: 0.83333em;
  722. }
  723. .is-regular-text,
  724. .has-regular-font-size,
  725. .has-normal-font-size,
  726. .has-medium-font-size {
  727. font-size: 1.2em;
  728. }
  729. .is-large-text,
  730. .has-large-font-size {
  731. font-size: 1.44em;
  732. line-height: 1.125;
  733. }
  734. .is-larger-text,
  735. .has-larger-font-size,
  736. .has-huge-font-size {
  737. font-size: 1.728em;
  738. line-height: 1.125;
  739. }
  740. .has-drop-cap:not(:focus)::first-letter {
  741. font-family: "Oswald", sans-serif;
  742. font-family: var(--font-headings, "Oswald", sans-serif);
  743. font-size: calc(2 * 2.0736em);
  744. font-weight: 300;
  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. * Extra Editor Styles
  851. *
  852. * 1. General Styles
  853. * 2. Block Specific Styles
  854. * 2.1. Column Block
  855. * 2.2. Quote Block
  856. * 2.3. File Block
  857. * 2.4. Pre Block and Verse Block
  858. * 2.5. Button Block
  859. * 2.6. Search Block
  860. */
  861. .editor-post-title__input {
  862. text-align: center;
  863. }
  864. /**
  865. * 1. General Styles
  866. */
  867. body {
  868. background-color: white;
  869. font-weight: 300;
  870. }
  871. a {
  872. text-decoration: none;
  873. }
  874. /**
  875. * 2. Block Specific Styles
  876. */
  877. /**
  878. * 2.1. Column Block
  879. */
  880. .wp-block-coblocks-column h1,
  881. .wp-block-coblocks-column h2,
  882. .wp-block-coblocks-column h3,
  883. .wp-block-coblocks-column h4,
  884. .wp-block-coblocks-column h5,
  885. .wp-block-coblocks-column h6 {
  886. margin-bottom: .857em;
  887. }
  888. .wp-block-coblocks-column a {
  889. color: #f25f70;
  890. }
  891. .wp-block-coblocks-column a:hover {
  892. color: #4f4f4f;
  893. }
  894. /**
  895. * 2.2. Quote Block
  896. */
  897. .wp-block-quote,
  898. .wp-block-quote[style*="text-align:center"],
  899. .wp-block-quote[style*="text-align:right"] {
  900. border: 1px solid #f2f2f2;
  901. padding: 16px;
  902. }
  903. .wp-block-quote p,
  904. .wp-block-quote[style*="text-align:center"] p,
  905. .wp-block-quote[style*="text-align:right"] p {
  906. font-family: "Source Sans Pro", Arial, sans-serif;
  907. font-family: var(--font-base, "Source Sans Pro", Arial, sans-serif);
  908. }
  909. .wp-block-quote .wp-block-quote__citation,
  910. .wp-block-quote[style*="text-align:center"] .wp-block-quote__citation,
  911. .wp-block-quote[style*="text-align:right"] .wp-block-quote__citation {
  912. color: #f25f70;
  913. }
  914. /**
  915. * 2.3. File Block
  916. */
  917. .wp-block-file div.wp-block-file__button {
  918. text-transform: uppercase;
  919. line-height: 1;
  920. color: white;
  921. cursor: pointer;
  922. font-weight: 600;
  923. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  924. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  925. font-size: 0.69444rem;
  926. background-color: #f25f70;
  927. border-radius: 9px;
  928. border-width: 2px;
  929. padding: 16px 16px;
  930. display: inline-block;
  931. }
  932. .wp-block-file div.wp-block-file__button:focus, .wp-block-file div.wp-block-file__button:hover, .wp-block-file div.wp-block-file__button:visited {
  933. color: white;
  934. background-color: #4f4f4f;
  935. opacity: 1;
  936. }
  937. /**
  938. * 2.4. Pre Block and Verse Block
  939. */
  940. .wp-block-preformatted pre,
  941. .wp-block-verse pre {
  942. font-family: "Courier 10 Pitch", Courier, monospace;
  943. }
  944. /**
  945. * 2.5. Button Block
  946. */
  947. .wp-block-button div.wp-block-button__link {
  948. text-transform: uppercase;
  949. }
  950. /**
  951. * 2.6. Search Block
  952. */
  953. .wp-block-search .wp-block-search__button {
  954. text-transform: uppercase;
  955. line-height: 1;
  956. color: white;
  957. cursor: pointer;
  958. font-weight: 600;
  959. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  960. font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif);
  961. font-size: 0.69444rem;
  962. background-color: #f25f70;
  963. border-radius: 9px;
  964. border-width: 2px;
  965. padding: 16px 16px;
  966. display: inline-block;
  967. border: none;
  968. box-shadow: none;
  969. }
  970. .wp-block-search .wp-block-search__button:focus, .wp-block-search .wp-block-search__button:hover, .wp-block-search .wp-block-search__button:visited {
  971. color: white;
  972. background-color: #4f4f4f;
  973. opacity: 1;
  974. }