style-editor.css 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178
  1. @charset "UTF-8";
  2. /*!
  3. Modern Business Editor Styles
  4. */
  5. /** === Includes === */
  6. /*
  7. * IBM Plex Sans (Google Font)
  8. */
  9. /* If we add the border using a regular CSS border, it won't look good on non-retina devices,
  10. * since its edges can look jagged due to lack of antialiasing. In this case, we are several
  11. * layers of box-shadow to add the border visually, which will render the border smoother. */
  12. /* Fallback for non-latin fonts */
  13. /* Calculates maximum width for post content */
  14. /* Nested sub-menu padding: 10 levels deep */
  15. .author-description .author-link,
  16. .comment-metadata,
  17. .comment-reply-link,
  18. .comments-title,
  19. .comment-author .fn,
  20. .discussion-meta-info,
  21. .entry-meta,
  22. .entry-footer,
  23. .main-navigation,
  24. .no-comments,
  25. .not-found .page-title,
  26. .error-404 .page-title,
  27. .post-navigation .post-title,
  28. .page-links,
  29. .page-description,
  30. .pagination .nav-links,
  31. .sticky-post,
  32. .site-title,
  33. .site-title:focus,
  34. .site-info,
  35. #cancel-comment-reply-link,
  36. img:after,
  37. h1,
  38. h2,
  39. h3,
  40. h4,
  41. h5,
  42. h6 {
  43. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  44. }
  45. .main-navigation,
  46. .page-description,
  47. .author-description .author-link,
  48. .not-found .page-title,
  49. .error-404 .page-title,
  50. .post-navigation .post-title,
  51. .pagination .nav-links,
  52. .comments-title,
  53. .comment-author .fn,
  54. .no-comments,
  55. .site-title,
  56. .site-title:focus,
  57. h1,
  58. h2,
  59. h3,
  60. h4,
  61. h5,
  62. h6 {
  63. font-weight: 700;
  64. letter-spacing: 0;
  65. line-height: 1.2;
  66. -webkit-font-smoothing: antialiased;
  67. -moz-osx-font-smoothing: grayscale;
  68. }
  69. .page-title {
  70. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  71. }
  72. .site-branding,
  73. .main-navigation ul.main-menu > li,
  74. .social-navigation,
  75. .author-description .author-bio,
  76. .nav-links {
  77. line-height: 1.25;
  78. }
  79. .has-huge-font-size {
  80. font-size: 2.25em;
  81. }
  82. .has-large-font-size,
  83. h1 {
  84. font-size: 1.6875em;
  85. }
  86. h2 {
  87. font-size: 1.125em;
  88. }
  89. .site-title,
  90. .site-title:focus,
  91. .site-description,
  92. .nav-links,
  93. .page-title,
  94. .page-description,
  95. .comment-author .fn,
  96. .no-comments,
  97. .has-regular-font-size,
  98. h2.author-title,
  99. p.author-bio,
  100. h3 {
  101. font-size: 22px;
  102. }
  103. .has-small-font-size,
  104. .comments-title,
  105. h4 {
  106. font-size: 0.88889em;
  107. }
  108. .pagination .nav-links,
  109. .comment-content,
  110. h5 {
  111. font-size: 0.71111em;
  112. }
  113. .entry-meta,
  114. .entry-footer,
  115. .discussion-meta-info,
  116. .site-info,
  117. .comment-reply-link,
  118. .comment-metadata,
  119. .comment-notes,
  120. .sticky-post,
  121. #cancel-comment-reply-link,
  122. img:after,
  123. h6 {
  124. font-size: 0.59259em;
  125. }
  126. .page-description,
  127. .page-links a {
  128. font-weight: bold;
  129. }
  130. .post-navigation .post-title,
  131. .entry-title,
  132. .not-found .page-title,
  133. .error-404 .page-title,
  134. .comments-title,
  135. blockquote {
  136. -webkit-hyphens: auto;
  137. -ms-hyphens: auto;
  138. hyphens: auto;
  139. word-break: break-word;
  140. }
  141. /* Do not hyphenate entry title on tablet view and bigger. */
  142. @media only screen and (min-width: 768px) {
  143. .entry-title {
  144. -webkit-hyphens: none;
  145. -ms-hyphens: none;
  146. hyphens: none;
  147. }
  148. }
  149. /** === Helper Functions === */
  150. /**
  151. Given a string, $alignment, returns the nested FSE block selectors
  152. required for Full Site Editing to look correct. If $alignment is given,
  153. we use it to target wp-blocks with a matching data-align attribute.
  154. If no alignment is given, we target the base wp-block class. In both
  155. of these scenarios, we target top level blocks, and any top level blocks
  156. inside one of the FSE template blocks.
  157. */
  158. /** === Editor Frame === */
  159. body {
  160. font-weight: 300;
  161. background: #fff;
  162. }
  163. body .wp-block[data-align="full"] {
  164. width: 100%;
  165. }
  166. @media only screen and (min-width: 600px) {
  167. body .wp-block[data-align="full"], body .wp-block.post-content__block .wp-block[data-align="full"] {
  168. width: calc( 100% + 90px);
  169. max-width: calc( 100% + 90px);
  170. }
  171. }
  172. @media only screen and (min-width: 768px) {
  173. body .editor-writing-flow {
  174. max-width: 80%;
  175. margin: 0 10%;
  176. }
  177. body .wp-block[data-align="wide"], body .wp-block.post-content__block .wp-block[data-align="wide"] {
  178. width: 100%;
  179. }
  180. body .wp-block[data-align="full"], body .wp-block.post-content__block .wp-block[data-align="full"] {
  181. position: relative;
  182. left: calc( -12.5% - 14px);
  183. width: calc( 125% + 116px);
  184. max-width: calc( 125% + 115px);
  185. }
  186. body .wp-block[data-align="right"], body .wp-block.post-content__block .wp-block[data-align="right"] {
  187. max-width: 125%;
  188. }
  189. }
  190. /** === Content Width === */
  191. .wp-block, .wp-block.post-content__block .wp-block {
  192. width: calc(100vw - (2 * 1rem));
  193. max-width: 100%;
  194. }
  195. @media only screen and (min-width: 768px) {
  196. .wp-block, .wp-block.post-content__block .wp-block {
  197. width: calc(8 * (100vw / 12));
  198. }
  199. }
  200. @media only screen and (min-width: 1168px) {
  201. .wp-block, .wp-block.post-content__block .wp-block {
  202. width: calc(6 * (100vw / 12 ));
  203. }
  204. }
  205. .wp-block .wp-block, .wp-block.post-content__block .wp-block .wp-block {
  206. width: 100%;
  207. }
  208. /** === Base Typography === */
  209. body {
  210. font-size: 22px;
  211. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  212. line-height: 1.8;
  213. color: #181818;
  214. }
  215. p {
  216. font-size: 22px;
  217. font-weight: 300;
  218. }
  219. p.has-small-font-size {
  220. font-size: 0.88889em;
  221. }
  222. p.has-normal-font-size {
  223. font-size: 1.125em;
  224. }
  225. p.has-large-font-size {
  226. font-size: 1.6875em;
  227. }
  228. p.has-huge-font-size {
  229. font-size: 2.25em;
  230. }
  231. h1,
  232. h2,
  233. h3,
  234. h4,
  235. h5,
  236. h6 {
  237. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  238. font-weight: 700;
  239. line-height: 1.2;
  240. margin-top: 2rem;
  241. margin-bottom: 2rem;
  242. text-align: center;
  243. }
  244. .editor-inner-blocks h1, .editor-inner-blocks
  245. h2, .editor-inner-blocks
  246. h3, .editor-inner-blocks
  247. h4, .editor-inner-blocks
  248. h5, .editor-inner-blocks
  249. h6 {
  250. margin-top: 1.375rem;
  251. margin-bottom: 1.375rem;
  252. text-align: inherit;
  253. }
  254. h1 {
  255. font-size: 1.6875em;
  256. }
  257. h2 {
  258. font-size: 1.125em;
  259. }
  260. h3 {
  261. font-size: 22px;
  262. }
  263. h4 {
  264. font-size: 0.88889em;
  265. }
  266. h5 {
  267. font-size: 0.71111em;
  268. }
  269. h6 {
  270. font-size: 0.59259em;
  271. }
  272. a {
  273. transition: color 110ms ease-in-out;
  274. color: #c43d80;
  275. }
  276. a:hover, a:active {
  277. color: #9e3067;
  278. outline: 0;
  279. text-decoration: none;
  280. }
  281. a:focus {
  282. outline: 0;
  283. text-decoration: underline;
  284. }
  285. .wp-block-freeform.block-library-rich-text__tinymce a {
  286. color: #c43d80;
  287. }
  288. .has-primary-background-color,
  289. .has-secondary-background-color,
  290. .has-dark-gray-background-color,
  291. .has-light-gray-background-color {
  292. color: #fff;
  293. }
  294. .has-primary-background-color p,
  295. .has-primary-background-color h1,
  296. .has-primary-background-color h2,
  297. .has-primary-background-color h3,
  298. .has-primary-background-color h4,
  299. .has-primary-background-color h5,
  300. .has-primary-background-color h6,
  301. .has-primary-background-color a,
  302. .has-secondary-background-color p,
  303. .has-secondary-background-color h1,
  304. .has-secondary-background-color h2,
  305. .has-secondary-background-color h3,
  306. .has-secondary-background-color h4,
  307. .has-secondary-background-color h5,
  308. .has-secondary-background-color h6,
  309. .has-secondary-background-color a,
  310. .has-dark-gray-background-color p,
  311. .has-dark-gray-background-color h1,
  312. .has-dark-gray-background-color h2,
  313. .has-dark-gray-background-color h3,
  314. .has-dark-gray-background-color h4,
  315. .has-dark-gray-background-color h5,
  316. .has-dark-gray-background-color h6,
  317. .has-dark-gray-background-color a,
  318. .has-light-gray-background-color p,
  319. .has-light-gray-background-color h1,
  320. .has-light-gray-background-color h2,
  321. .has-light-gray-background-color h3,
  322. .has-light-gray-background-color h4,
  323. .has-light-gray-background-color h5,
  324. .has-light-gray-background-color h6,
  325. .has-light-gray-background-color a {
  326. color: #fff;
  327. }
  328. .has-white-background-color {
  329. color: #181818;
  330. }
  331. .has-white-background-color p,
  332. .has-white-background-color h1,
  333. .has-white-background-color h2,
  334. .has-white-background-color h3,
  335. .has-white-background-color h4,
  336. .has-white-background-color h5,
  337. .has-white-background-color h6,
  338. .has-white-background-color a {
  339. color: #181818;
  340. }
  341. figcaption,
  342. .gallery-caption {
  343. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  344. font-size: 0.71111em;
  345. line-height: 1.6;
  346. color: #686868;
  347. }
  348. /** === Post Title === */
  349. .editor-post-title__block {
  350. margin-bottom: 0;
  351. font-size: 22px;
  352. }
  353. .editor-post-title__block:before {
  354. width: 2.8125em;
  355. margin-top: 0;
  356. margin-bottom: 0;
  357. margin-left: 1em;
  358. position: relative;
  359. top: 0.5em;
  360. }
  361. .editor-post-title__block .editor-post-title__input {
  362. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  363. font-weight: 300;
  364. text-align: center;
  365. font-size: 1.6875em;
  366. }
  367. @media only screen and (min-width: 768px) {
  368. .editor-post-title__block .editor-post-title__input {
  369. font-size: 2.8125em;
  370. }
  371. }
  372. /** === Default Appender === */
  373. .editor-default-block-appender .editor-default-block-appender__content {
  374. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  375. font-size: 22px;
  376. }
  377. /** === Heading === */
  378. .wp-block-heading strong {
  379. font-weight: 700;
  380. }
  381. /** === Paragraph === */
  382. .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
  383. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  384. font-size: 3.375em;
  385. line-height: 1;
  386. font-weight: 700;
  387. margin: 0 0.25em 0 0;
  388. }
  389. /** === Table === */
  390. .wp-block-table {
  391. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  392. }
  393. /** === Cover === */
  394. .wp-block-cover-image,
  395. .wp-block-cover {
  396. position: relative;
  397. min-height: 420px;
  398. padding: 1rem;
  399. }
  400. @media only screen and (min-width: 768px) {
  401. .wp-block-cover-image,
  402. .wp-block-cover {
  403. min-height: 640px;
  404. padding: 1rem 10%;
  405. }
  406. }
  407. .wp-block-cover-image + .wp-block-cover:not(.alignleft):not(.alignrights),
  408. .wp-block-cover-image + .wp-block-cover-image:not(.alignleft):not(.alignrights),
  409. .wp-block-cover + .wp-block-cover:not(.alignleft):not(.alignrights),
  410. .wp-block-cover + .wp-block-cover-image:not(.alignleft):not(.alignrights) {
  411. margin-top: 32px;
  412. }
  413. .wp-block-cover-image .wp-block-cover__inner-container,
  414. .wp-block-cover .wp-block-cover__inner-container {
  415. color: #fff;
  416. max-width: 100%;
  417. padding-left: 1rem;
  418. padding-right: 1rem;
  419. text-shadow: 0 0 12px #000;
  420. }
  421. .wp-block-cover-image .wp-block-cover__inner-container strong,
  422. .wp-block-cover .wp-block-cover__inner-container strong {
  423. font-weight: 700;
  424. }
  425. .wp-block-cover-image .wp-block-cover__inner-container a,
  426. .wp-block-cover .wp-block-cover__inner-container a {
  427. color: inherit;
  428. }
  429. @media only screen and (min-width: 768px) {
  430. .wp-block-cover-image .wp-block-cover__inner-container,
  431. .wp-block-cover .wp-block-cover__inner-container {
  432. max-width: 100%;
  433. }
  434. }
  435. .wp-block-cover-image h1,
  436. .wp-block-cover-image h2,
  437. .wp-block-cover-image h3,
  438. .wp-block-cover-image h4,
  439. .wp-block-cover-image h5,
  440. .wp-block-cover-image h6,
  441. .wp-block-cover h1,
  442. .wp-block-cover h2,
  443. .wp-block-cover h3,
  444. .wp-block-cover h4,
  445. .wp-block-cover h5,
  446. .wp-block-cover h6 {
  447. font-weight: 300;
  448. text-align: inherit;
  449. }
  450. .wp-block-cover-image h1.has-text-align-left,
  451. .wp-block-cover-image h2.has-text-align-left,
  452. .wp-block-cover-image h3.has-text-align-left,
  453. .wp-block-cover-image h4.has-text-align-left,
  454. .wp-block-cover-image h5.has-text-align-left,
  455. .wp-block-cover-image h6.has-text-align-left,
  456. .wp-block-cover h1.has-text-align-left,
  457. .wp-block-cover h2.has-text-align-left,
  458. .wp-block-cover h3.has-text-align-left,
  459. .wp-block-cover h4.has-text-align-left,
  460. .wp-block-cover h5.has-text-align-left,
  461. .wp-block-cover h6.has-text-align-left {
  462. text-align: left;
  463. }
  464. .wp-block-cover-image h1.has-text-align-center,
  465. .wp-block-cover-image h2.has-text-align-center,
  466. .wp-block-cover-image h3.has-text-align-center,
  467. .wp-block-cover-image h4.has-text-align-center,
  468. .wp-block-cover-image h5.has-text-align-center,
  469. .wp-block-cover-image h6.has-text-align-center,
  470. .wp-block-cover h1.has-text-align-center,
  471. .wp-block-cover h2.has-text-align-center,
  472. .wp-block-cover h3.has-text-align-center,
  473. .wp-block-cover h4.has-text-align-center,
  474. .wp-block-cover h5.has-text-align-center,
  475. .wp-block-cover h6.has-text-align-center {
  476. text-align: center;
  477. }
  478. .wp-block-cover-image h1.has-text-align-right,
  479. .wp-block-cover-image h2.has-text-align-right,
  480. .wp-block-cover-image h3.has-text-align-right,
  481. .wp-block-cover-image h4.has-text-align-right,
  482. .wp-block-cover-image h5.has-text-align-right,
  483. .wp-block-cover-image h6.has-text-align-right,
  484. .wp-block-cover h1.has-text-align-right,
  485. .wp-block-cover h2.has-text-align-right,
  486. .wp-block-cover h3.has-text-align-right,
  487. .wp-block-cover h4.has-text-align-right,
  488. .wp-block-cover h5.has-text-align-right,
  489. .wp-block-cover h6.has-text-align-right {
  490. text-align: right;
  491. }
  492. .wp-block-cover-image h1,
  493. .wp-block-cover h1 {
  494. font-size: 2.25em;
  495. }
  496. @media only screen and (min-width: 768px) {
  497. .wp-block-cover-image h1,
  498. .wp-block-cover h1 {
  499. font-size: 3.375em;
  500. }
  501. }
  502. .wp-block-cover-image .wp-block-cover-image-text,
  503. .wp-block-cover-image .wp-block-cover-text,
  504. .wp-block-cover-image h2,
  505. .wp-block-cover .wp-block-cover-image-text,
  506. .wp-block-cover .wp-block-cover-text,
  507. .wp-block-cover h2 {
  508. font-size: 1.6875em;
  509. margin-left: auto;
  510. margin-right: auto;
  511. max-width: 100%;
  512. padding: 0;
  513. }
  514. @media only screen and (min-width: 768px) {
  515. .wp-block-cover-image .wp-block-cover-image-text,
  516. .wp-block-cover-image .wp-block-cover-text,
  517. .wp-block-cover-image h2,
  518. .wp-block-cover .wp-block-cover-image-text,
  519. .wp-block-cover .wp-block-cover-text,
  520. .wp-block-cover h2 {
  521. font-size: 2.8125em;
  522. }
  523. }
  524. .wp-block-cover-image h3,
  525. .wp-block-cover h3 {
  526. font-size: 1.125em;
  527. }
  528. @media only screen and (min-width: 768px) {
  529. .wp-block-cover-image h3,
  530. .wp-block-cover h3 {
  531. font-size: 2.25em;
  532. }
  533. }
  534. .wp-block-cover-image h4,
  535. .wp-block-cover h4 {
  536. font-size: 22px;
  537. }
  538. @media only screen and (min-width: 768px) {
  539. .wp-block-cover-image h4,
  540. .wp-block-cover h4 {
  541. font-size: 1.6875em;
  542. }
  543. }
  544. .wp-block-cover-image h5,
  545. .wp-block-cover h5 {
  546. font-size: 0.88889em;
  547. }
  548. @media only screen and (min-width: 768px) {
  549. .wp-block-cover-image h5,
  550. .wp-block-cover h5 {
  551. font-size: 1.125em;
  552. }
  553. }
  554. .wp-block-cover-image h6,
  555. .wp-block-cover h6 {
  556. font-size: 0.71111em;
  557. }
  558. @media only screen and (min-width: 768px) {
  559. .wp-block-cover-image h6,
  560. .wp-block-cover h6 {
  561. font-size: 22px;
  562. }
  563. }
  564. .wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover__inner-container,
  565. .wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover__inner-container {
  566. width: calc(2 * (100vw / 12));
  567. }
  568. .wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover,
  569. .wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover {
  570. width: 100%;
  571. max-width: 100%;
  572. padding: calc(1.375 * 1rem);
  573. }
  574. .wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover .wp-block-cover__inner-container,
  575. .wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover .wp-block-cover__inner-container {
  576. padding-left: 0;
  577. padding-right: 0;
  578. }
  579. @media only screen and (min-width: 768px) {
  580. .wp-block[data-type="core/cover"][data-align="left"] .wp-block-cover,
  581. .wp-block[data-type="core/cover"][data-align="right"] .wp-block-cover {
  582. padding: calc(2.75 * 1rem) calc(2.75 * 1rem) calc(3.125 * 1rem);
  583. }
  584. }
  585. /* Media Text */
  586. @media only screen and (min-width: 768px) {
  587. .wp-block[data-type="core/media-text"] {
  588. max-width: calc(6 * (100vw / 12) - 28px);
  589. margin-left: auto;
  590. margin-right: auto;
  591. }
  592. .wp-block[data-type="core/media-text"][data-align="wide"] {
  593. max-width: 100%;
  594. }
  595. }
  596. .wp-block[data-type="core/media-text"]:nth-child(odd) .wp-block-media-text {
  597. background-color: #181818;
  598. color: #fff;
  599. }
  600. .wp-block[data-type="core/media-text"]:nth-child(even) .wp-block-media-text {
  601. background-color: #f2f2f2;
  602. }
  603. @media only screen and (min-width: 768px) {
  604. .wp-block[data-type="core/media-text"] .editor-inner-blocks {
  605. padding-left: 0;
  606. }
  607. .wp-block[data-type="core/media-text"] .has-media-on-the-right .editor-inner-blocks {
  608. padding-left: 60px;
  609. padding-right: 0;
  610. }
  611. .wp-block[data-type="core/media-text"][data-align="full"] {
  612. margin-left: 0;
  613. max-width: 125%;
  614. }
  615. .wp-block[data-type="core/media-text"][data-align="full"] .has-media-on-the-right {
  616. margin-left: 0;
  617. margin-right: 0;
  618. }
  619. }
  620. .wp-block-media-text {
  621. margin: 0;
  622. }
  623. .wp-block-media-text a,
  624. .wp-block-media-text a:hover {
  625. color: inherit;
  626. }
  627. .wp-block-media-text .components-resizable-box__handle {
  628. z-index: 3;
  629. }
  630. .wp-block-media-text .components-resizable-box__handle-right {
  631. right: calc((12px - 30px) * -1);
  632. }
  633. .wp-block-media-text .components-resizable-box__handle-left {
  634. left: calc((12px - 30px) * -1);
  635. }
  636. @media only screen and (min-width: 768px) {
  637. .wp-block-media-text {
  638. padding: 60px 0;
  639. }
  640. .wp-block-media-text .block-library-media-text__media-container {
  641. margin-left: -60px;
  642. margin-right: 60px;
  643. max-width: calc( 100%);
  644. }
  645. .wp-block-media-text .editor-inner-blocks {
  646. padding: 0 60px;
  647. }
  648. .wp-block-media-text.has-media-on-the-right .block-library-media-text__media-container {
  649. margin-right: -60px;
  650. margin-left: 60px;
  651. }
  652. .wp-block-media-text.has-media-on-the-right .editor-inner-blocks {
  653. padding-right: 0;
  654. }
  655. }
  656. [data-type="core/media-text"] + [data-type="core/media-text"] {
  657. margin-top: -32px;
  658. }
  659. /** === Gallery === */
  660. .wp-block-gallery .blocks-gallery-image figcaption,
  661. .wp-block-gallery .blocks-gallery-item figcaption,
  662. .wp-block-gallery .gallery-item .gallery-caption {
  663. font-size: 0.71111em;
  664. line-height: 1.6;
  665. }
  666. /** === Button === */
  667. .wp-block-button .wp-block-button__link {
  668. line-height: 1.8;
  669. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  670. font-size: 0.88889em;
  671. font-weight: 700;
  672. }
  673. .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  674. background: #c43d80;
  675. }
  676. .wp-block-button:not(.is-style-squared) .wp-block-button__link {
  677. border-radius: 5px;
  678. }
  679. .wp-block-button.is-style-outline, .wp-block-button.is-style-outline:hover, .wp-block-button.is-style-outline:focus, .wp-block-button.is-style-outline:active {
  680. background: transparent;
  681. color: #c43d80;
  682. }
  683. .wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button.is-style-outline:hover .wp-block-button__link, .wp-block-button.is-style-outline:focus .wp-block-button__link, .wp-block-button.is-style-outline:active .wp-block-button__link {
  684. background: transparent;
  685. }
  686. .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:hover .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:focus .wp-block-button__link:not(.has-text-color), .wp-block-button.is-style-outline:active .wp-block-button__link:not(.has-text-color) {
  687. color: #c43d80;
  688. }
  689. /** === Blockquote === */
  690. .wp-block-quote:not(.is-large):not(.is-style-large) {
  691. border-color: #c43d80;
  692. border-width: 2px;
  693. }
  694. .wp-block-quote.is-large, .wp-block-quote.is-style-large {
  695. margin-top: 2.8125em;
  696. margin-bottom: 2.8125em;
  697. }
  698. .wp-block-quote.is-large p,
  699. .wp-block-quote.is-style-large p {
  700. font-size: 1.6875em;
  701. line-height: 1.3;
  702. margin-bottom: 0.5em;
  703. margin-top: 0.5em;
  704. }
  705. .wp-block-quote cite,
  706. .wp-block-quote footer,
  707. .wp-block-quote .wp-block-quote__citation {
  708. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  709. font-size: 0.71111em;
  710. line-height: 1.6;
  711. color: #686868;
  712. }
  713. /** === Pullquote === */
  714. .wp-block-pullquote {
  715. border-color: transparent;
  716. border-width: 2px;
  717. color: #000;
  718. }
  719. .wp-block-pullquote blockquote {
  720. margin-top: calc(3 * 1rem);
  721. margin-bottom: calc(3.33 * 1rem);
  722. -webkit-hyphens: auto;
  723. -ms-hyphens: auto;
  724. hyphens: auto;
  725. word-break: break-word;
  726. }
  727. .wp-block-pullquote:not(.is-style-solid-color) .wp-block-pullquote__citation {
  728. color: #686868;
  729. }
  730. .wp-block-pullquote.is-style-solid-color blockquote {
  731. width: calc(100% - (2 * 1rem));
  732. max-width: calc( 100% - (2 * 1rem));
  733. }
  734. .wp-block-pullquote.is-style-solid-color blockquote a,
  735. .wp-block-pullquote.is-style-solid-color blockquote.has-text-color p,
  736. .wp-block-pullquote.is-style-solid-color blockquote.has-text-color a {
  737. color: inherit;
  738. }
  739. .wp-block-pullquote.is-style-solid-color blockquote:not(.has-text-color) {
  740. color: #fff;
  741. }
  742. @media only screen and (min-width: 768px) {
  743. .wp-block-pullquote.is-style-solid-color blockquote {
  744. max-width: 80%;
  745. }
  746. }
  747. .wp-block-pullquote.is-style-solid-color:not(.has-background-color) {
  748. background-color: #c43d80;
  749. }
  750. .wp-block[data-type="core/pullquote"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  751. .wp-block[data-type="core/pullquote"] blockquote > .editor-rich-text p,
  752. .wp-block[data-type="core/pullquote"] p,
  753. .wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  754. .wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .editor-rich-text p,
  755. .wp-block[data-type="core/pullquote"][data-align="left"] p,
  756. .wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  757. .wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .editor-rich-text p,
  758. .wp-block[data-type="core/pullquote"][data-align="right"] p {
  759. font-size: 1.6875em;
  760. font-style: italic;
  761. line-height: 1.3;
  762. margin-bottom: 0.5em;
  763. margin-top: 0.5em;
  764. }
  765. @media only screen and (min-width: 768px) {
  766. .wp-block[data-type="core/pullquote"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  767. .wp-block[data-type="core/pullquote"] blockquote > .editor-rich-text p,
  768. .wp-block[data-type="core/pullquote"] p,
  769. .wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  770. .wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .editor-rich-text p,
  771. .wp-block[data-type="core/pullquote"][data-align="left"] p,
  772. .wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  773. .wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .editor-rich-text p,
  774. .wp-block[data-type="core/pullquote"][data-align="right"] p {
  775. font-size: 2.25em;
  776. }
  777. }
  778. .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation,
  779. .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote__citation,
  780. .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote__citation {
  781. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  782. font-size: 0.71111em;
  783. line-height: 1.6;
  784. text-transform: none;
  785. }
  786. .wp-block[data-type="core/pullquote"] em,
  787. .wp-block[data-type="core/pullquote"][data-align="left"] em,
  788. .wp-block[data-type="core/pullquote"][data-align="right"] em {
  789. font-style: normal;
  790. }
  791. .wp-block[data-type="core/pullquote"][data-align="left"] .editor-block-list__block-edit,
  792. .wp-block[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-edit {
  793. width: calc(4 * (100vw / 12));
  794. max-width: 50%;
  795. }
  796. .wp-block[data-type="core/pullquote"][data-align="left"] .editor-block-list__block-edit .wp-block-pullquote:not(.is-style-solid-color),
  797. .wp-block[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-edit .wp-block-pullquote:not(.is-style-solid-color) {
  798. padding: 0;
  799. }
  800. .wp-block[data-type="core/pullquote"][data-align="left"] .editor-block-list__block-edit .wp-block-pullquote.is-style-solid-color,
  801. .wp-block[data-type="core/pullquote"][data-align="right"] .editor-block-list__block-edit .wp-block-pullquote.is-style-solid-color {
  802. padding: 1em;
  803. }
  804. .wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  805. .wp-block[data-type="core/pullquote"][data-align="left"] blockquote > .editor-rich-text p,
  806. .wp-block[data-type="core/pullquote"][data-align="left"] p,
  807. .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote__citation,
  808. .wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before,
  809. .wp-block[data-type="core/pullquote"][data-align="right"] blockquote > .editor-rich-text p,
  810. .wp-block[data-type="core/pullquote"][data-align="right"] p,
  811. .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote__citation {
  812. text-align: left;
  813. }
  814. @media only screen and (min-width: 768px) {
  815. .wp-block[data-type="core/pullquote"][data-align="full"] .wp-block-pullquote blockquote {
  816. max-width: calc(80% - 128px);
  817. }
  818. }
  819. /** === File === */
  820. .wp-block-file {
  821. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  822. }
  823. .wp-block-file .wp-block-file__textlink {
  824. text-decoration: underline;
  825. color: #c43d80;
  826. }
  827. .wp-block-file .wp-block-file__textlink:hover {
  828. color: #9e3067;
  829. text-decoration: none;
  830. }
  831. .wp-block-file .wp-block-file__button {
  832. display: table;
  833. line-height: 1.8;
  834. font-size: 0.88889em;
  835. font-weight: 700;
  836. background-color: #c43d80;
  837. border-radius: 5px;
  838. }
  839. .wp-block-file .wp-block-file__button-richtext-wrapper {
  840. display: block;
  841. margin-top: calc(0.75 * 1rem);
  842. margin-left: 0;
  843. }
  844. /** === Verse === */
  845. .wp-block-verse,
  846. .wp-block-verse pre {
  847. padding: 0;
  848. }
  849. /** === Code === */
  850. .wp-block-code {
  851. border-radius: 0;
  852. }
  853. /** === Table === */
  854. .wp-block-table td, .wp-block-table th {
  855. border-color: #686868;
  856. }
  857. /** === Separator === */
  858. .wp-block-separator {
  859. background-color: #686868;
  860. border: 0;
  861. height: 1px;
  862. max-width: 5em;
  863. text-align: left;
  864. }
  865. .wp-block-separator.is-style-wide {
  866. max-width: 100%;
  867. }
  868. .wp-block-separator.is-style-dots {
  869. max-width: 100%;
  870. background-color: inherit;
  871. border: inherit;
  872. height: inherit;
  873. text-align: center;
  874. }
  875. .wp-block-separator.is-style-dots:before {
  876. color: #686868;
  877. font-size: 1.6875em;
  878. }
  879. /* Remove duplicate rule-line when a separator
  880. * is followed by an H1, or H2 */
  881. .wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h1:before,
  882. .wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h2:before {
  883. display: none;
  884. }
  885. /** === Latest Posts, Archives, Categories === */
  886. ul.wp-block-archives,
  887. .wp-block-categories,
  888. .wp-block-latest-posts {
  889. padding: 0;
  890. list-style-type: none;
  891. }
  892. ul.wp-block-archives ul,
  893. .wp-block-categories ul,
  894. .wp-block-latest-posts ul {
  895. padding: 0;
  896. list-style-type: none;
  897. }
  898. ul.wp-block-archives li,
  899. .wp-block-categories li,
  900. .wp-block-latest-posts li {
  901. color: #686868;
  902. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  903. font-size: calc(22px * 1.125);
  904. font-weight: 700;
  905. line-height: 1.2;
  906. padding-bottom: 0.75rem;
  907. }
  908. ul.wp-block-archives li.menu-item-has-children, ul.wp-block-archives li:last-child,
  909. .wp-block-categories li.menu-item-has-children,
  910. .wp-block-categories li:last-child,
  911. .wp-block-latest-posts li.menu-item-has-children,
  912. .wp-block-latest-posts li:last-child {
  913. padding-bottom: 0;
  914. }
  915. ul.wp-block-archives li a,
  916. .wp-block-categories li a,
  917. .wp-block-latest-posts li a {
  918. text-decoration: none;
  919. }
  920. ul.wp-block-archives li ul,
  921. .wp-block-categories li ul,
  922. .wp-block-latest-posts li ul {
  923. padding-left: 1rem;
  924. }
  925. .wp-block-categories ul {
  926. padding-top: 0.75rem;
  927. }
  928. .wp-block-categories ul ul {
  929. counter-reset: submenu;
  930. }
  931. .wp-block-categories ul ul > li > a::before {
  932. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  933. font-weight: normal;
  934. content: "– " counters(submenu, "– ", none);
  935. counter-increment: submenu;
  936. }
  937. .wp-block-categories li ul {
  938. list-style: none;
  939. padding-left: 0;
  940. margin-bottom: -0.75rem;
  941. }
  942. /** === Latest Posts grid view === */
  943. .wp-block-latest-posts.is-grid li {
  944. border-top: 2px solid #ccc;
  945. padding-top: 1rem;
  946. margin-bottom: 2rem;
  947. }
  948. .wp-block-latest-posts.is-grid li a:after {
  949. content: '';
  950. }
  951. .wp-block-latest-posts.is-grid li:last-child {
  952. margin-bottom: auto;
  953. }
  954. .wp-block-latest-posts.is-grid li:last-child a:after {
  955. content: '';
  956. }
  957. /** === Latest Comments === */
  958. .wp-block-latest-comments .wp-block-latest-comments__comment-meta {
  959. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  960. font-weight: 700;
  961. }
  962. .wp-block-latest-comments .wp-block-latest-comments__comment-meta .wp-block-latest-comments__comment-date {
  963. font-weight: 300;
  964. }
  965. .wp-block-latest-comments .wp-block-latest-comments__comment,
  966. .wp-block-latest-comments .wp-block-latest-comments__comment-date,
  967. .wp-block-latest-comments .wp-block-latest-comments__comment-excerpt p {
  968. font-size: inherit;
  969. }
  970. .wp-block-latest-comments .wp-block-latest-comments__comment-date {
  971. font-size: 0.71111em;
  972. }
  973. /** === Classic Editor === */
  974. /* Properly center-align captions in the classic-editor block */
  975. .wp-caption dd {
  976. color: #686868;
  977. font-size: 0.71111em;
  978. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  979. line-height: 1.6;
  980. margin: 0;
  981. padding: 0.5rem;
  982. text-align: left;
  983. text-align: center;
  984. -webkit-margin-start: 0px;
  985. margin-inline-start: 0px;
  986. }
  987. .wp-block-freeform {
  988. /* Add style for galleries in classic-editor block */
  989. }
  990. .wp-block-freeform blockquote {
  991. border-left: 2px solid #c43d80;
  992. }
  993. .wp-block-freeform blockquote cite {
  994. font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  995. font-size: 0.71111em;
  996. font-style: normal;
  997. line-height: 1.6;
  998. color: #686868;
  999. }
  1000. /* Make sure our non-latin font overrides don't overwrite the iconfont used in the classic editor toolbar */
  1001. .wp-block[data-type="core/freeform"] .mce-btn i {
  1002. font-family: dashicons !important;
  1003. }
  1004. /** === Mailchimp Block - Temp Fix === */
  1005. .wp-block-jetpack-mailchimp p {
  1006. font-size: 0.71111em;
  1007. }
  1008. /** === Business Hours Block - Temp Fix === */
  1009. .wp-block-jetpack-business-hours dt,
  1010. .wp-block-jetpack-business-hours dd {
  1011. float: left;
  1012. }
  1013. .wp-block-jetpack-business-hours dt {
  1014. clear: both;
  1015. font-weight: bold;
  1016. margin-right: 0.5rem;
  1017. }
  1018. .wp-block-jetpack-business-hours dd {
  1019. margin: 0;
  1020. }