style-editor.scss 16 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000
  1. /*!
  2. Calm (Twenty Nineteen) Editor Styles
  3. */
  4. /** === Includes === */
  5. @import "sass/variables-site/variables-site";
  6. @import "sass/mixins/mixins-master";
  7. @import "sass/site/header/site-header";
  8. @import "sass/navigation/menu-main-navigation";
  9. @import "sass/typography/headings";
  10. /** === Editor Frame === */
  11. body {
  12. background-color: $color__background-body;
  13. font-weight: $font__weight_standard;
  14. font-size: 1em;
  15. .wp-block[data-align="full"] {
  16. width: 100%;
  17. }
  18. @include media(mobile) {
  19. .wp-block[data-align="full"] {
  20. width: calc( 100% + 90px );
  21. max-width: calc( 100% + 90px );
  22. }
  23. }
  24. @include media(tablet) {
  25. .editor-writing-flow {
  26. max-width: 80%;
  27. margin: 0 10%;
  28. }
  29. .wp-block[data-align="wide"] {
  30. width: 100%;
  31. }
  32. .wp-block[data-align="full"] {
  33. position: relative;
  34. left: calc( -12.5% - 14px );
  35. width: calc( 125% + 116px );
  36. max-width: calc( 125% + 115px ); // Subtract 1px here to avoid the rounding errors that happen due to the usage of percentages.
  37. }
  38. .wp-block[data-align="right"] {
  39. max-width: 125%;
  40. }
  41. }
  42. }
  43. /** === Content Width === */
  44. .wp-block {
  45. width: calc(100vw - (2 * #{$size__spacing-unit}));
  46. max-width: 100%;
  47. @include media(tablet) {
  48. width: $size__site-tablet-content;
  49. }
  50. @include media(desktop) {
  51. width: $size__site-desktop-content;
  52. }
  53. // Only the top level blocks need specific widths, therefore override for every nested block.
  54. .wp-block {
  55. width: 100%;
  56. }
  57. }
  58. .block-editor-block-list__layout {
  59. padding: 0;
  60. }
  61. /** === Base Typography === */
  62. body {
  63. font-size: $font__size_base;
  64. font-family: $font__body;
  65. line-height: $font__line-height-body;
  66. color: $color__text-main;
  67. }
  68. p {
  69. font-size: $font__size_base;
  70. //! Font Sizes
  71. &.has-small-font-size {
  72. font-size: $font__size-sm;
  73. }
  74. &.has-normal-font-size {
  75. font-size: $font__size-md;
  76. }
  77. &.has-large-font-size {
  78. font-size: $font__size-lg;
  79. }
  80. &.has-huge-font-size {
  81. font-size: $font__size-xl;
  82. }
  83. }
  84. h1,
  85. h2,
  86. h3,
  87. h4,
  88. h5,
  89. h6 {
  90. font-family: $font__heading;
  91. font-weight: 600;
  92. line-height: $font__line-height-heading;
  93. margin-top: $size__vertical-spacing-unit;
  94. margin-bottom: $size__vertical-spacing-unit;
  95. .editor-inner-blocks & {
  96. margin-top: 1.375rem;
  97. margin-bottom: 1.375rem;
  98. }
  99. }
  100. h1 {
  101. font-size: $font__size-lg;
  102. }
  103. h2 {
  104. font-size: $font__size-md;
  105. }
  106. h3 {
  107. font-size: $font__size_base;
  108. }
  109. h4 {
  110. font-size: $font__size-sm;
  111. }
  112. h5 {
  113. font-size: $font__size-xs;
  114. }
  115. h6 {
  116. font-size: $font__size-xxs;
  117. }
  118. a {
  119. @include link-transition;
  120. color: $color__link;
  121. *:visited {
  122. }
  123. &:hover,
  124. &:active {
  125. color: $color__link-hover;
  126. outline: 0;
  127. text-decoration: none;
  128. }
  129. &:focus {
  130. outline: 0;
  131. text-decoration: underline;
  132. }
  133. }
  134. // Use white text against these backgrounds by default.
  135. .has-primary-background-color,
  136. .has-secondary-background-color,
  137. .has-dark-gray-background-color,
  138. .has-light-gray-background-color {
  139. color: $color__background-body;
  140. p,
  141. h1,
  142. h2,
  143. h3,
  144. h4,
  145. h5,
  146. h6,
  147. a {
  148. color: $color__background-body;
  149. }
  150. }
  151. // Use dark gray text against this background by default.
  152. .has-white-background-color {
  153. color: $color__text-main;
  154. p,
  155. h1,
  156. h2,
  157. h3,
  158. h4,
  159. h5,
  160. h6,
  161. a {
  162. color: $color__text-main;
  163. }
  164. }
  165. figcaption,
  166. .gallery-caption {
  167. font-family: $font__heading;
  168. font-size: $font__size-xs;
  169. line-height: 1.6;
  170. color: $color__text-light;
  171. }
  172. /** === Post Title === */
  173. .editor-post-title {
  174. margin-left: auto;
  175. margin-right: auto;
  176. padding: 0;
  177. @include media(tablet) {
  178. width: $size__site-tablet-content;
  179. }
  180. @include media(desktop) {
  181. width: $size__site-desktop-content;
  182. }
  183. }
  184. .editor-post-title__block {
  185. font-size: $font__size_base;
  186. margin: 0;
  187. &:before {
  188. margin-top: 0;
  189. margin-bottom: 0;
  190. position: relative;
  191. top: 0.5em;
  192. }
  193. .editor-post-title__input {
  194. font-family: $font__heading;
  195. font-size: $font__size-md;
  196. @include media(tablet) {
  197. font-size: $font__size-lg;
  198. }
  199. font-weight: 600;
  200. }
  201. }
  202. /** === Default Appender === */
  203. .editor-default-block-appender .editor-default-block-appender__content {
  204. font-family: $font__body;
  205. font-size: $font__size_base;
  206. }
  207. /** === Heading === */
  208. .wp-block-heading {
  209. strong {
  210. font-weight: bolder;
  211. }
  212. }
  213. /** === Paragraph === */
  214. .wp-block-paragraph {
  215. &.has-drop-cap:not(:focus)::first-letter {
  216. font-family: $font__heading;
  217. font-size: $font__size-xxxl;
  218. line-height: 1;
  219. font-weight: bold;
  220. margin: 0 0.25em 0 0;
  221. }
  222. }
  223. /** === Table === */
  224. .wp-block-table {
  225. font-family: $font__heading;
  226. }
  227. /** === Cover === */
  228. .wp-block-cover {
  229. position: relative;
  230. min-height: 380px;
  231. padding: $size__spacing-unit;
  232. .wp-block-cover__inner-container {
  233. padding: 0;
  234. color: #fff;
  235. a {
  236. color: inherit;
  237. }
  238. strong {
  239. font-weight: bolder;
  240. }
  241. h1,
  242. h2,
  243. h3,
  244. h4,
  245. h5,
  246. h6 {
  247. font-weight: 700;
  248. }
  249. h1 {
  250. font-size: $font__size-xl;
  251. }
  252. h2 {
  253. font-size: $font__size-lg;
  254. max-width: 100%;
  255. padding: 0;
  256. text-align: inherit;
  257. &.has-text-align-left {
  258. text-align: left;
  259. }
  260. &.has-text-align-center {
  261. text-align: center;
  262. }
  263. &.has-text-align-right {
  264. text-align: right;
  265. }
  266. }
  267. h3 {
  268. font-size: $font__size-md;
  269. }
  270. h4 {
  271. font-size: $font__size_base;
  272. }
  273. h5 {
  274. font-size: $font__size-sm;
  275. }
  276. h6 {
  277. font-size: $font__size-xs;
  278. }
  279. @include media(tablet) {
  280. margin-left: auto;
  281. margin-right: auto;
  282. padding: 0;
  283. h1 {
  284. font-size: $font__size-xxxl;
  285. }
  286. h2 {
  287. font-size: $font__size-xxl;
  288. }
  289. h3 {
  290. font-size: $font__size-lg;
  291. }
  292. h4 {
  293. font-size: $font__size-md;
  294. }
  295. h5 {
  296. font-size: $font__size_base;
  297. }
  298. h6 {
  299. font-size: $font__size-sm;
  300. }
  301. }
  302. }
  303. h2 {
  304. text-align: inherit;
  305. }
  306. @include media(tablet) {
  307. padding: $size__spacing-unit 10%;
  308. min-height: 620px;
  309. }
  310. }
  311. .wp-block[data-type="core/cover"][data-align="left"],
  312. .wp-block[data-type="core/cover"][data-align="right"] {
  313. .wp-block-cover__inner-container {
  314. width: calc(2 * (100vw / 12));
  315. }
  316. .wp-block-cover {
  317. width: 100%;
  318. max-width: 100%;
  319. padding: calc(1.375 * #{$size__spacing-unit});
  320. p {
  321. padding-left: 0;
  322. padding-right: 0;
  323. }
  324. @include media(tablet) {
  325. padding: calc(2.75 * #{$size__spacing-unit}) calc(2.75 * #{$size__spacing-unit}) calc(3.125 * #{$size__spacing-unit});
  326. }
  327. }
  328. }
  329. .wp-block[data-type="core/cover"][data-align="wide"],
  330. .wp-block[data-type="core/cover"][data-align="full"] {
  331. @include media(tablet) {
  332. .wp-block-cover__inner-container {
  333. max-width: 100%;
  334. }
  335. }
  336. @include media(desktop) {
  337. .wp-block-cover__inner-container {
  338. max-width: 100%;
  339. }
  340. }
  341. }
  342. .wp-block[data-type="core/cover"][data-align="full"] {
  343. @include media(tablet) {
  344. .wp-block-cover {
  345. padding-left: calc(10% + 64px);
  346. padding-right: calc(10% + 64px);
  347. }
  348. }
  349. }
  350. /** === Gallery === */
  351. .wp-block-gallery {
  352. .blocks-gallery-image figcaption,
  353. .blocks-gallery-item figcaption,
  354. .gallery-item .gallery-caption {
  355. font-size: $font__size-xs;
  356. line-height: 1.6;
  357. }
  358. }
  359. /** === Button === */
  360. .wp-block-button {
  361. .wp-block-button__link {
  362. line-height: 1.8;
  363. font-family: $font__heading;
  364. font-size: $font__size-sm;
  365. font-weight: bold;
  366. }
  367. &:not(.is-style-outline) .wp-block-button__link {
  368. background: $color__background-button;
  369. }
  370. &:not(.is-style-squared) .wp-block-button__link {
  371. border-radius: 5px;
  372. }
  373. &.is-style-outline,
  374. &.is-style-outline:hover,
  375. &.is-style-outline:focus,
  376. &.is-style-outline:active {
  377. background: transparent;
  378. color: $color__background-button;
  379. .wp-block-button__link {
  380. background: transparent;
  381. &:not(.has-text-color) {
  382. color: $color__background-button;
  383. }
  384. }
  385. }
  386. }
  387. /** === Blockquote === */
  388. .wp-block-quote {
  389. &:not(.is-large):not(.is-style-large) {
  390. border-width: 2px;
  391. border-color: $color__link;
  392. }
  393. &.is-large,
  394. &.is-style-large {
  395. margin-top: $font__size-xxl;
  396. margin-bottom: $font__size-xxl;
  397. }
  398. &.is-large p,
  399. &.is-style-large p {
  400. font-size: $font__size-lg;
  401. line-height: 1.3;
  402. margin-bottom: 0.5em;
  403. margin-top: 0.5em;
  404. }
  405. cite,
  406. footer,
  407. .wp-block-quote__citation {
  408. font-family: $font__heading;
  409. font-size: $font__size-xs;
  410. line-height: 1.6;
  411. color: $color__text-light;
  412. }
  413. }
  414. /** === Pullquote === */
  415. .wp-block-pullquote {
  416. border-color: transparent;
  417. border-width: 2px;
  418. color: #000;
  419. blockquote {
  420. margin-top: calc(3 * #{ $size__spacing-unit});
  421. margin-bottom: calc(3.33 * #{ $size__spacing-unit});
  422. hyphens: auto;
  423. word-break: break-word;
  424. }
  425. &:not(.is-style-solid-color) .wp-block-pullquote__citation {
  426. color: $color__text-light;
  427. }
  428. &.is-style-solid-color {
  429. blockquote {
  430. width: calc(100% - (2 * #{ $size__spacing-unit}));
  431. max-width: calc( 100% - (2 * #{ $size__spacing-unit}));
  432. a,
  433. &.has-text-color p,
  434. &.has-text-color a {
  435. color: inherit;
  436. }
  437. &:not(.has-text-color) {
  438. color: $color__background-body;
  439. }
  440. @include media(tablet) {
  441. max-width: 80%;
  442. }
  443. }
  444. &:not(.has-background-color) {
  445. background-color: $color__link;
  446. }
  447. }
  448. }
  449. .wp-block[data-type="core/pullquote"],
  450. .wp-block[data-type="core/pullquote"][data-align="left"],
  451. .wp-block[data-type="core/pullquote"][data-align="right"] {
  452. blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  453. blockquote > .editor-rich-text p,
  454. p {
  455. font-size: $font__size-lg;
  456. font-style: italic;
  457. line-height: 1.3;
  458. margin-bottom: 0.5em;
  459. margin-top: 0.5em;
  460. @include media(tablet) {
  461. font-size: $font__size-xl;
  462. }
  463. }
  464. .wp-block-pullquote__citation {
  465. font-family: $font__heading;
  466. font-size: $font__size-xs;
  467. line-height: 1.6;
  468. text-transform: none;
  469. }
  470. em {
  471. font-style: normal;
  472. }
  473. }
  474. .wp-block[data-type="core/pullquote"][data-align="left"],
  475. .wp-block[data-type="core/pullquote"][data-align="right"] {
  476. .editor-block-list__block-edit {
  477. width: calc(4 * (100vw / 12));
  478. max-width: 50%;
  479. .wp-block-pullquote:not(.is-style-solid-color) {
  480. padding: 0;
  481. }
  482. .wp-block-pullquote.is-style-solid-color {
  483. padding: 1em;
  484. }
  485. }
  486. blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  487. blockquote > .editor-rich-text p,
  488. p,
  489. .wp-block-pullquote__citation {
  490. text-align: left;
  491. }
  492. }
  493. .wp-block[data-type="core/pullquote"][data-align="full"] {
  494. @include media(tablet) {
  495. .wp-block-pullquote blockquote {
  496. max-width: calc(80% - 128px);
  497. }
  498. }
  499. }
  500. /** === File === */
  501. .wp-block-file {
  502. font-family: $font__heading;
  503. .wp-block-file__textlink {
  504. text-decoration: underline;
  505. color: $color__link;
  506. &:hover {
  507. color: $color__link-hover;
  508. text-decoration: none;
  509. }
  510. }
  511. .wp-block-file__button {
  512. display: table;
  513. line-height: 1.8;
  514. font-size: $font__size-sm;
  515. font-weight: bold;
  516. background-color: $color__link;
  517. border-radius: 5px;
  518. }
  519. .wp-block-file__button-richtext-wrapper {
  520. display: block;
  521. margin-top: calc(0.75 * #{$size__spacing-unit});
  522. margin-left: 0;
  523. }
  524. }
  525. /** === Verse === */
  526. .wp-block-verse,
  527. .wp-block-verse pre {
  528. padding: 0;
  529. }
  530. /** === Code === */
  531. .wp-block-code {
  532. border-radius: 0;
  533. }
  534. /** === Table === */
  535. .wp-block-table {
  536. td, th {
  537. border-color: $color__text-light;
  538. }
  539. }
  540. /** === Separator === */
  541. .wp-block-separator,
  542. hr {
  543. height: 2px;
  544. margin-bottom: (2.75 * $size__spacing-unit);
  545. margin-top: (2.75 * $size__spacing-unit);
  546. text-align: left;
  547. max-width: calc(6*(100vw/12) - 28px) !important;
  548. border: 0;
  549. &:after {
  550. background-color: $color__background-hr;
  551. content: '';
  552. display: block;
  553. height: 2px;
  554. max-width: 3.25em;
  555. }
  556. &.is-style-wide {
  557. background-color: $color__background-hr;
  558. @include postContentMaxWidth();
  559. &:after {
  560. display: none;
  561. }
  562. }
  563. &.is-style-dots {
  564. @include postContentMaxWidth();
  565. background-color: inherit;
  566. border: inherit;
  567. height: inherit;
  568. text-align: center;
  569. &:before {
  570. color: $color__background-hr;
  571. font-size: $font__size-lg;
  572. letter-spacing: $font__size-sm;
  573. padding-left: $font__size-sm;
  574. }
  575. &:after {
  576. display: none;
  577. }
  578. }
  579. /* Remove duplicate rule-line when a separator
  580. * is followed by an H1, or H2 */
  581. & + h1,
  582. & + h2 {
  583. &:before {
  584. display: none;
  585. }
  586. }
  587. }
  588. /* Remove duplicate rule-line when a separator
  589. * is followed by an H1, or H2 */
  590. .wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h1:before,
  591. .wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h2:before {
  592. display: none;
  593. }
  594. /** === Latest Posts, Archives, Categories === */
  595. ul.wp-block-archives,
  596. .wp-block-categories,
  597. .wp-block-latest-posts {
  598. padding: 0;
  599. list-style-type: none;
  600. ul {
  601. padding: 0;
  602. list-style-type: none;
  603. }
  604. li {
  605. color: $color__text-light;
  606. font-family: $font__heading;
  607. font-size: calc(#{$font__size_base} * #{$font__size-ratio});
  608. font-weight: bold;
  609. line-height: $font__line-height-heading;
  610. padding-bottom: ( .75 * $size__spacing-unit );
  611. &.menu-item-has-children,
  612. &:last-child {
  613. padding-bottom: 0;
  614. }
  615. a {
  616. text-decoration: none;
  617. }
  618. ul {
  619. padding-left: $size__spacing-unit;
  620. }
  621. }
  622. }
  623. .wp-block-categories {
  624. ul {
  625. padding-top: ( .75 * $size__spacing-unit );
  626. @include nestedSubMenuPadding();
  627. }
  628. li ul {
  629. list-style: none;
  630. padding-left: 0;
  631. margin-bottom: ( -.75 * $size__spacing-unit );
  632. }
  633. }
  634. /** === Latest Posts grid view === */
  635. .wp-block-latest-posts.is-grid {
  636. li {
  637. border-top: 2px solid $color__border;
  638. padding-top: (1 * $size__spacing-unit);
  639. margin-bottom: (2 * $size__spacing-unit);
  640. a {
  641. &:after {
  642. content: '';
  643. }
  644. }
  645. &:last-child {
  646. margin-bottom: auto;
  647. a:after {
  648. content: '';
  649. }
  650. }
  651. }
  652. }
  653. /** === Latest Comments === */
  654. .wp-block-latest-comments {
  655. .wp-block-latest-comments__comment-meta {
  656. font-family: $font__heading;
  657. font-weight: bold;
  658. .wp-block-latest-comments__comment-date {
  659. font-weight: normal;
  660. }
  661. }
  662. .wp-block-latest-comments__comment,
  663. .wp-block-latest-comments__comment-date,
  664. .wp-block-latest-comments__comment-excerpt p {
  665. font-size: inherit;
  666. }
  667. .wp-block-latest-comments__comment-date {
  668. font-size: $font__size-xs;
  669. }
  670. }
  671. /** === Site Title Block === */
  672. .wp-block-a8c-site-title {
  673. text-align: center;
  674. }
  675. /** === Site Description Block === */
  676. .wp-block-a8c-site-description {
  677. text-align: center;
  678. margin: 0;
  679. }
  680. /** === Classic Editor === */
  681. /* Properly center-align captions in the classic-editor block */
  682. .wp-caption {
  683. dd {
  684. color: $color__text-light;
  685. font-size: $font__size-xs;
  686. font-family: $font__heading;
  687. line-height: $font__line-height-pre;
  688. margin: 0;
  689. padding: ( $size__spacing-unit * .5 );
  690. text-align: left;
  691. text-align: center;
  692. -webkit-margin-start: 0px;
  693. margin-inline-start: 0px;
  694. }
  695. }
  696. .wp-block-freeform {
  697. /* Add style for galleries in classic-editor block */
  698. blockquote {
  699. border-left: 2px solid $color__link;
  700. cite {
  701. font-family: $font__heading;
  702. font-size: $font__size-xs;
  703. font-style: normal;
  704. line-height: 1.6;
  705. color: $color__text-light;
  706. }
  707. }
  708. }
  709. /* Make sure our non-latin font overrides don't overwrite the iconfont used in the classic editor toolbar */
  710. .wp-block[data-type="core/freeform"] .mce-btn i {
  711. font-family: dashicons !important;
  712. }
  713. /** === Media and Text Block === */
  714. .wp-block-media-text {
  715. background-color: $color__background-body-dark;
  716. color: $color__text-light;
  717. .editor-inner-blocks {
  718. align-self: start;
  719. padding-top: 32px;
  720. padding-bottom: 32px;
  721. }
  722. &:before {
  723. content: '';
  724. position: absolute;
  725. left: 0;
  726. width: 100%;
  727. border-top: 32px solid $color__background-body;
  728. border-bottom: 32px solid $color__background-body;
  729. height: 100%;
  730. }
  731. &.has-media-on-the-right {
  732. background-color: $color__background-body-light;
  733. color: $color__text-main;
  734. }
  735. .editor-block-list__block {
  736. margin: 0;
  737. &:first-child {
  738. .components-autocomplete {
  739. > :first-child {
  740. &:before {
  741. border-width: 1px;
  742. border-style: solid;
  743. border-color: inherit;
  744. content: "";
  745. display: block;
  746. height: 2px;
  747. margin: 1.46rem 0 1rem;
  748. width: 20px;
  749. }
  750. }
  751. }
  752. }
  753. }
  754. //! Font Sizes
  755. .has-small-font-size {
  756. font-size: $font__size-sm;
  757. }
  758. .has-normal-font-size {
  759. font-size: $font__size-md;
  760. }
  761. .has-large-font-size {
  762. font-size: $font__size-lg;
  763. }
  764. .has-huge-font-size {
  765. font-size: $font__size-xl;
  766. }
  767. }
  768. // Remove spacing between consecutive Media & Text blocks.
  769. [data-type="core/media-text"] {
  770. & + [data-type="core/media-text"] {
  771. margin-top: -32px;
  772. }
  773. a {
  774. color: inherit;
  775. }
  776. }
  777. /** === Mailchimp Block - Temp Fix === */
  778. .wp-block-jetpack-mailchimp {
  779. p {
  780. font-size: $font__size-xs;
  781. }
  782. }
  783. /** === Business Hours Block - Temp Fix === */
  784. .wp-block-jetpack-business-hours {
  785. dt,
  786. dd {
  787. float: left;
  788. }
  789. dt {
  790. clear: both;
  791. font-weight: bold;
  792. margin-right: ( $size__spacing-unit * .5 );
  793. }
  794. dd {
  795. margin: 0;
  796. }
  797. }