editor-blocks.css 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025
  1. /*
  2. * Theme Name: Libretto
  3. * Description: Gutenberg Block Editor Styles
  4. */
  5. /*--------------------------------------------------------------
  6. >>> TABLE OF CONTENTS:
  7. ----------------------------------------------------------------
  8. 1.0 General Typography
  9. 2.0 General Block Styles
  10. 3.0 Blocks - Common Blocks
  11. 4.0 Blocks - Formatting
  12. 5.0 Blocks - Layout Elements
  13. 6.0 Blocks - Widgets
  14. --------------------------------------------------------------*/
  15. /*--------------------------------------------------------------
  16. 1.0 General Typography
  17. --------------------------------------------------------------*/
  18. .edit-post-visual-editor .editor-block-list__block,
  19. .edit-post-visual-editor .editor-block-list__block p,
  20. .editor-default-block-appender textarea.editor-default-block-appender__content {
  21. font-family: "Libre Baskerville", Baskerville, "Book Antiqua", Georgia, Times, serif;
  22. font-size: 17px;
  23. line-height: 2;
  24. }
  25. .edit-post-visual-editor .editor-block-list__block {
  26. color: #363431;
  27. }
  28. .alignleft,
  29. .editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit {
  30. display: inline;
  31. float: left;
  32. margin: 0 1.5em 0.5em 0;
  33. }
  34. .alignright,
  35. .editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit {
  36. display: inline;
  37. float: right;
  38. margin: 0 0 0.5em 1.5em;
  39. }
  40. .aligncenter,
  41. .editor-block-list__layout .editor-block-list__block[data-align=center] .editor-block-list__block-edit {
  42. margin-left: auto;
  43. margin-right: auto;
  44. }
  45. .wp-block > p:not(.no-emphasis):first-of-type + p,
  46. .page:not(.post-password-required) .entry-content > p:not(.no-emphasis):first-of-type + p,
  47. .emphasis + p {
  48. clear: left;
  49. }
  50. /* Title */
  51. .editor-post-title__block .editor-post-title__input {
  52. border: none;
  53. color: #787065;
  54. font-family: "Playfair Display";
  55. font-size: 44px;
  56. font-style: normal;
  57. font-weight: normal;
  58. letter-spacing: 0;
  59. line-height: 1.2;
  60. margin: 0;
  61. padding: 0;
  62. text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
  63. text-transform: none;
  64. }
  65. /* Headings */
  66. .edit-post-visual-editor h1,
  67. .wp-block-freeform.block-library-rich-text__tinymce h1,
  68. .edit-post-visual-editor h2,
  69. .wp-block-freeform.block-library-rich-text__tinymce h2,
  70. .edit-post-visual-editor h3,
  71. .wp-block-freeform.block-library-rich-text__tinymce h3,
  72. .edit-post-visual-editor h4,
  73. .wp-block-freeform.block-library-rich-text__tinymce h4,
  74. .edit-post-visual-editor h5,
  75. .wp-block-freeform.block-library-rich-text__tinymce h5,
  76. .edit-post-visual-editor h6,
  77. .wp-block-freeform.block-library-rich-text__tinymce h6 {
  78. clear: both;
  79. line-height: 1.6;
  80. font-weight: normal;
  81. }
  82. .edit-post-visual-editor h1,
  83. .wp-block-freeform.block-library-rich-text__tinymce h1 {
  84. color: #a09a92;
  85. font-family: "Playfair Display", Georgia, serif;
  86. font-size: 44px;
  87. font-style: italic;
  88. margin: 1em 0 0.5em;
  89. }
  90. .edit-post-visual-editor h2,
  91. .wp-block-freeform.block-library-rich-text__tinymce h2 {
  92. border-bottom: 1px solid #787065;
  93. color: #787065;
  94. font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  95. font-size: 21px;
  96. letter-spacing: 2px;
  97. margin: 4em 0 2em;
  98. padding-bottom: 0.5em;
  99. text-transform: uppercase;
  100. }
  101. .edit-post-visual-editor h3,
  102. .wp-block-freeform.block-library-rich-text__tinymce h3 {
  103. color: #a09a92;
  104. font-size: 25px;
  105. font-style: italic;
  106. margin: 2em 0 1em;
  107. }
  108. .edit-post-visual-editor h4,
  109. .wp-block-freeform.block-library-rich-text__tinymce h4 {
  110. color: #787065;
  111. font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  112. font-size: 16px;
  113. letter-spacing: 1px;
  114. margin: 3em 0 1.5em;
  115. text-transform: uppercase;
  116. }
  117. .edit-post-visual-editor h5,
  118. .wp-block-freeform.block-library-rich-text__tinymce h5 {
  119. color: #a09a92;
  120. font-size: 21px;
  121. font-style: italic;
  122. margin: 1.5em 0 0.75em;
  123. }
  124. .edit-post-visual-editor h6,
  125. .wp-block-freeform.block-library-rich-text__tinymce h6 {
  126. color: #787065;
  127. font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  128. font-size: 14px;
  129. letter-spacing: 1px;
  130. margin: 1.5em 0 0.75em;
  131. text-transform: uppercase;
  132. }
  133. /*--------------------------------------------------------------
  134. 2.0 General Block Styles
  135. --------------------------------------------------------------*/
  136. /* Main column width */
  137. .wp-block {
  138. max-width: 710px; /* 680px + 30px to account for padding */
  139. }
  140. /* Background color */
  141. .edit-post-layout__content .edit-post-visual-editor {
  142. background-color: #faf9f5;
  143. }
  144. /* Link styles */
  145. .edit-post-visual-editor a,
  146. .editor-block-list__block a,
  147. .wp-block-freeform.block-library-rich-text__tinymce a {
  148. color: #932817;
  149. text-decoration: none;
  150. }
  151. .edit-post-visual-editor a:hover,
  152. .edit-post-visual-editor a:focus,
  153. .edit-post-visual-editor a:active,
  154. .editor-block-list__block a:hover,
  155. .editor-block-list__block a:focus,
  156. .editor-block-list__block a:active,
  157. .wp-block-freeform.block-library-rich-text__tinymce a:hover,
  158. .wp-block-freeform.block-library-rich-text__tinymce a:focus,
  159. .wp-block-freeform.block-library-rich-text__tinymce a:active {
  160. color: #712012;
  161. }
  162. /* List styles */
  163. .edit-post-visual-editor ul:not(.wp-block-gallery),
  164. .editor-block-list__block ul:not(.wp-block-gallery),
  165. .block-library-list ul,
  166. .edit-post-visual-editor ol,
  167. .editor-block-list__block ol,
  168. .block-library-list ol.editor-rich-text__tinymce {
  169. margin: 0 0 1.5em;
  170. padding: 0;
  171. }
  172. .block-library-list .editor-rich-text__tinymce {
  173. margin: 0;
  174. padding: 0;
  175. }
  176. .edit-post-visual-editor ul:not(.wp-block-gallery),
  177. .editor-block-list__block ul:not(.wp-block-gallery),
  178. .block-library-list ul {
  179. list-style: disc outside;
  180. }
  181. .edit-post-visual-editor ul:not(.wp-block-gallery) ul,
  182. .editor-block-list__block ul:not(.wp-block-gallery) ul,
  183. .block-library-list ul ul {
  184. list-style: circle outside;
  185. }
  186. .edit-post-visual-editor ol,
  187. .editor-block-list__block ol,
  188. .block-library-list ol.editor-rich-text__tinymce {
  189. list-style: decimal outside;
  190. }
  191. .edit-post-visual-editor ol ol,
  192. .editor-block-list__block ol ol,
  193. .block-library-list ol.editor-rich-text__tinymce ol {
  194. list-style: lower-alpha outside;
  195. }
  196. .edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
  197. .editor-block-list__block ul:not(.wp-block-gallery) li > ul,
  198. .block-library-list li > ul,
  199. .edit-post-visual-editor li > ol,
  200. .editor-block-list__block li > ol,
  201. .block-library-list li > ol {
  202. margin-bottom: 0;
  203. margin-left: 1em;
  204. }
  205. .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
  206. .rtl .editor-block-list__block ul:not(.wp-block-gallery),
  207. .rtl .block-library-list ul,
  208. .rtl .edit-post-visual-editor ol,
  209. .rtl .editor-block-list__block ol,
  210. .rtl .block-library-list ol.editor-rich-text__tinymce {
  211. margin-left: 0;
  212. margin-right: 1em;
  213. padding: 0;
  214. }
  215. /* Captions */
  216. [class^="wp-block-"] figcaption {
  217. color: #a09a92;
  218. font-size: 16px;
  219. font-style: italic;
  220. line-height: 1.2;
  221. text-align: center;
  222. }
  223. .wp-block-freeform.block-library-rich-text__tinymce address {
  224. margin-top: 0.75em;
  225. margin-bottom: 0.75em;
  226. }
  227. .wp-block-freeform.block-library-rich-text__tinymce ol {
  228. list-style: decimal;
  229. margin-left: 3em;
  230. padding: 0;
  231. }
  232. .wp-block-freeform.block-library-rich-text__tinymce li > ol {
  233. margin-left: 1.5em;
  234. }
  235. .wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
  236. color: #ebe7e1;
  237. content: "\201C";
  238. display: block;
  239. font-size: 208px;
  240. font-style: normal;
  241. left: -35px;
  242. line-height: 1;
  243. position: absolute;
  244. top: -40px;
  245. z-index: -1;
  246. }
  247. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
  248. content: "\201D";
  249. right: -35px;
  250. left: auto;
  251. }
  252. .wp-block-freeform.block-library-rich-text__tinymce blockquote {
  253. border: 0;
  254. color: #a09a92;
  255. font-family: "Playfair Display", Georgia, serif;
  256. font-size: 28px;
  257. font-style: italic;
  258. position: relative;
  259. z-index: 2;
  260. }
  261. .wp-block-freeform.block-library-rich-text__tinymce blockquote p {
  262. line-height: 1.4;
  263. }
  264. .wp-block-freeform.block-library-rich-text__tinymce blockquote > :last-child {
  265. margin-bottom: 0;
  266. }
  267. .wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
  268. color: #787065;
  269. display: block;
  270. font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  271. font-size: 16px;
  272. font-style: normal;
  273. letter-spacing: 1px;
  274. margin-top: 1em;
  275. text-transform: uppercase;
  276. text-align: right;
  277. width: 100%;
  278. }
  279. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
  280. margin-right: 0;
  281. padding-left: 0;
  282. padding-right: 1.5em;
  283. }
  284. .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignleft {
  285. float: left;
  286. }
  287. .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignright {
  288. float: right;
  289. }
  290. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft {
  291. margin: .75em 1.5em .75em 0;
  292. }
  293. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
  294. margin: .75em 0 .75em 1.5em;
  295. }
  296. .wp-block-freeform.block-library-rich-text__tinymce pre {
  297. background: #d9d6d0;
  298. font-family: "Droid Sans Mono", "Andale Mono", Consolas, "DejaVu Sans Mono", monospace;
  299. font-size: 16px;
  300. line-height: 1.6;
  301. margin-bottom: 1.6em;
  302. max-width: 100%;
  303. padding: 1.6em;
  304. white-space: pre;
  305. white-space: pre-wrap;
  306. }
  307. .wp-block-freeform.block-library-rich-text__tinymce table {
  308. border-collapse: collapse;
  309. border: 0;
  310. font-size: 0.85em;
  311. line-height: 1.4;
  312. margin: 0.5em 0 1.5em;
  313. width: 100%;
  314. }
  315. .wp-block-freeform.block-library-rich-text__tinymce .alternate {
  316. background: transparent;
  317. }
  318. .wp-block-freeform.block-library-rich-text__tinymce table tr:nth-of-type(odd) td {
  319. background: rgba(255, 255, 255, 0.5);
  320. }
  321. .wp-block-freeform.block-library-rich-text__tinymce table td {
  322. border: 0;
  323. border-bottom: 1px solid #d9d6d0;
  324. padding: 0.8em 1em;
  325. }
  326. .wp-block-freeform.block-library-rich-text__tinymce table thead:nth-of-type(odd) tr td {
  327. background: none;
  328. }
  329. .wp-block-freeform.block-library-rich-text__tinymce table th {
  330. border: 0;
  331. border-bottom: 1px solid #d9d6d0;
  332. font-style: italic;
  333. font-weight: normal;
  334. padding: 0.8em 1em;
  335. text-align: left;
  336. }
  337. .wp-block-freeform.block-library-rich-text__tinymce table thead th {
  338. color: #a09a92;
  339. font-style: normal;
  340. font-weight: bold;
  341. }
  342. .rtl .wp-block-freeform.block-library-rich-text__tinymce table th {
  343. text-align: right;
  344. }
  345. /* Preformatted */
  346. .editor-block-list__block .wp-block-preformatted pre {
  347. background: #d9d6d0;
  348. font-family: "Droid Sans Mono", "Andale Mono", Consolas, "DejaVu Sans Mono", monospace;
  349. font-size: 16px;
  350. line-height: 1.6;
  351. margin-bottom: 1.6em;
  352. max-width: 100%;
  353. padding: 1.6em;
  354. white-space: pre;
  355. white-space: pre-wrap;
  356. }
  357. /* Definition List styles */
  358. .wp-block-freeform.block-library-rich-text__tinymce dt {
  359. font-weight: bold;
  360. }
  361. /*--------------------------------------------------------------
  362. 3.0 Blocks - Common Blocks
  363. --------------------------------------------------------------*/
  364. /* Paragraph */
  365. .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
  366. color: #b7b1a9;
  367. display: inline-block;
  368. float: left;
  369. font-family: "Playfair Display";
  370. font-size: 70px;
  371. font-style: normal;
  372. font-weight: 700;
  373. line-height: 40px;
  374. margin: 6px 10px 0 -5px;
  375. }
  376. .rtl .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
  377. float: right;
  378. margin: 6px -5px 0 10px;
  379. }
  380. @media only screen and (min-width: 641px) {
  381. .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
  382. font-size: 121px;
  383. line-height: 70px;
  384. margin: 6px 10px 0 -5px;
  385. }
  386. .rtl .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
  387. margin: 6px -5px 0 10px;
  388. }
  389. }
  390. .edit-post-visual-editor p {
  391. margin: 0 0 1.5em;
  392. }
  393. .edit-post-visual-editor blockquote p {
  394. margin: 0 0 1.5em;
  395. }
  396. /* Theme has built-in dropcaps and emphasis on the first line of each paragraph */
  397. /* Drop cap and first line */
  398. .editor-writing-flow .editor-block-list__block[data-type="core/paragraph"]:first-of-type .wp-block-paragraph[data-is-placeholder-visible="false"]:not(.no-emphasis):not(:focus):first-letter,
  399. .emphasis:first-letter {
  400. color: #b7b1a9;
  401. display: inline-block;
  402. float: left;
  403. font-family: "Playfair Display";
  404. font-size: 70px;
  405. font-style: normal;
  406. font-weight: 700;
  407. line-height: 40px;
  408. margin: 6px 10px 0 -5px;
  409. }
  410. .editor-writing-flow .editor-block-list__block[data-type="core/paragraph"]:first-of-type .wp-block-paragraph[data-is-placeholder-visible="false"]:not(:focus):not(.no-emphasis):first-line,
  411. .emphasis:first-line {
  412. color: #787065;
  413. font-family: "Playfair Display SC";
  414. font-size: 1em;
  415. font-style: normal !important; /* Cheat to preserve visual sanity */
  416. font-weight: bold;
  417. letter-spacing: 2px;
  418. }
  419. .editor-writing-flow .editor-block-list__block[data-type="core/paragraph"]:first-of-type:not(:focus) .wp-block-paragraph[data-is-placeholder-visible="false"]:not(:focus):not(.no-emphasis)::after,
  420. .emphasis::after {
  421. clear: both;
  422. content: "";
  423. display: block;
  424. }
  425. /*
  426. Browser hack that targets Safari only, to prevent first line from disappearing.
  427. See: https://stackoverflow.com/questions/16348489/is-there-a-css-hack-for-safari-only-not-chrome
  428. */
  429. @media not all and (min-resolution:.001dpcm) { @media {
  430. .editor-writing-flow .editor-block-list__block[data-type="core/paragraph"]:first-of-type:not(:focus) .wp-block-paragraph:not(.no-emphasis):first-letter:after,
  431. .emphasis:first-letter:after; {
  432. display: inline-block;
  433. }
  434. } }
  435. /* Images */
  436. .wp-block-image figcaption {
  437. color: #a09a92;
  438. font-size: 16px;
  439. font-style: italic;
  440. line-height: 1.2;
  441. text-align: center;
  442. }
  443. /* Quote */
  444. .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large) {
  445. margin: 0 0 .75em;
  446. border: 0;
  447. padding: 0;
  448. }
  449. .wp-block-quote:before,
  450. .rtl .wp-block-quote[style*="text-align:left"]:before,
  451. .rtl .wp-block-quote[style*="text-align: left"]:before {
  452. color: #ebe7e1;
  453. content: "\201C";
  454. display: block;
  455. font-size: 208px;
  456. font-style: normal;
  457. left: -35px;
  458. line-height: 1;
  459. position: absolute;
  460. top: -40px;
  461. z-index: -1;
  462. }
  463. .rtl .wp-block-quote:before,
  464. .wp-block-quote[style*="text-align:right"]:before,
  465. .wp-block-quote[style*="text-align: right"]:before {
  466. content: "\201D";
  467. left: auto;
  468. right: -35px;
  469. }
  470. .editor-block-list__block .wp-block-quote {
  471. color: #a09a92;
  472. font-family: "Playfair Display", Georgia, serif;
  473. font-size: 28px;
  474. font-style: italic;
  475. line-height: 1.4;
  476. position: relative;
  477. z-index: 2;
  478. }
  479. .edit-post-visual-editor .editor-block-list__block blockquote p {
  480. font-family: "Playfair Display", Georgia, serif;
  481. color: #a09a92;
  482. font-size: 26px;
  483. font-style: italic;
  484. }
  485. .editor-block-list__block .wp-block-quote__citation {
  486. color: #787065;
  487. display: block;
  488. font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  489. font-size: 16px;
  490. font-style: normal;
  491. letter-spacing: 1px;
  492. margin-top: 1em;
  493. text-transform: uppercase;
  494. text-align: right;
  495. width: 100%;
  496. }
  497. .editor-block-list__block .wp-block-quote__citation::before {
  498. content: "\2013";
  499. display: inline;
  500. }
  501. .editor-block-list__block .wp-block-quote em,
  502. .editor-block-list__block .wp-block-quote i {
  503. font-style: normal;
  504. }
  505. .editor-block-list__block .wp-block-quote > :last-child {
  506. margin-bottom: 0;
  507. }
  508. .editor-block-list__block .wp-block-quote.alignleft {
  509. background: #fff;
  510. border-bottom: 1px solid #ebe7e1;
  511. border-top: 2px solid #a09a92;
  512. box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.025);
  513. font-size: 27px;
  514. font-size: 2.7rem;
  515. max-width: 75%;
  516. padding: 0.5em;
  517. margin: .75em 1.5em .75em 0;
  518. }
  519. .editor-block-list__block .wp-block-quote.alignright {
  520. background: #fff;
  521. border-bottom: 1px solid #ebe7e1;
  522. border-top: 2px solid #a09a92;
  523. box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.025);
  524. font-size: 27px;
  525. max-width: 75%;
  526. padding: 0.5em;
  527. margin: .75em 0 .75em 1.5em;
  528. }
  529. .editor-block-list__block .wp-block-quote.aligncenter {
  530. margin-bottom: .75em;
  531. }
  532. .wp-block-quote.is-large,
  533. .wp-block-quote.is-style-large {
  534. font-size: 32px;
  535. margin: 0 .75em .75em;
  536. padding: 0;
  537. }
  538. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large,
  539. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large,
  540. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p,
  541. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p {
  542. font-size: 32px;
  543. }
  544. .editor-block-list__block .wp-block-quote.is-large p,
  545. .editor-block-list__block .wp-block-quote.is-style-large p {
  546. margin-bottom: .4em;
  547. font-style: normal;
  548. }
  549. /* Cover */
  550. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-image-text,
  551. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-text,
  552. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image h2,
  553. .edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-image-text,
  554. .edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-text,
  555. .edit-post-visual-editor .editor-block-list__block .wp-block-cover h2 {
  556. font-size: 2.0em; /* Cover images inherit the paragraph size; this resets it */
  557. }
  558. /* File */
  559. .wp-block-file__textlink {
  560. color: #932817;
  561. }
  562. .wp-block-file {
  563. margin: 1.5em 0;
  564. }
  565. .wp-block-file .wp-block-file__button {
  566. border-radius: 0;
  567. background: #a09a92;
  568. border: 1px solid #eae9e6;
  569. color: #eae9e6;
  570. font-size: 12px;
  571. letter-spacing: 1px;
  572. line-height: 24px;
  573. outline: 4px solid #a09a92;
  574. padding: 7px 14px;
  575. position: relative;
  576. text-transform: uppercase;
  577. }
  578. .wp-block-file .wp-block-file__button:hover,
  579. .wp-block-file .wp-block-file__button:focus {
  580. background: #a09a92;
  581. color: #faf9f5;
  582. outline: 2px solid #a09a92;
  583. }
  584. .wp-block-file .wp-block-file__button:active {
  585. background: #363431;
  586. outline: 5px solid #363431;
  587. }
  588. .rtl .wp-block-file .wp-block-file__button {
  589. margin-left: .75em;
  590. margin-right: 0;
  591. }
  592. /*--------------------------------------------------------------
  593. 4.0 Blocks - Formatting
  594. --------------------------------------------------------------*/
  595. /* Verse */
  596. .wp-block-verse pre {
  597. background: transparent;
  598. color: inherit;
  599. font-family: inherit;
  600. font-size: inherit;
  601. font-style: italic;
  602. line-height: inherit;
  603. margin-bottom: 1.5em;
  604. max-width: 100%;
  605. overflow: auto;
  606. padding: 0;
  607. }
  608. /* Code */
  609. .wp-block-code {
  610. background: #d9d6d0;
  611. font-family: "Droid Sans Mono", "Andale Mono", Consolas, "DejaVu Sans Mono", monospace;
  612. font-size: 16px;
  613. line-height: 1.6;
  614. margin-bottom: 1.6em;
  615. max-width: 100%;
  616. padding: 1.6em;
  617. white-space: pre;
  618. white-space: pre-wrap;
  619. }
  620. .wp-block-code textarea {
  621. background: #d9d6d0;
  622. }
  623. /* Classic */
  624. .wp-block-freeform.block-library-rich-text__tinymce {
  625. overflow: visible;
  626. }
  627. /* Pullquote */
  628. .editor-block-list__block .wp-block-pullquote blockquote {
  629. margin: 0;
  630. padding: 0;
  631. border: 0;
  632. }
  633. .edit-post-visual-editor .wp-block-pullquote p {
  634. font-size: 24px;
  635. }
  636. .wp-block-pullquote blockquote:before {
  637. display: none;
  638. }
  639. .wp-block-pullquote {
  640. color: #a09a92;
  641. border-top: 2px solid currentColor;
  642. border-bottom: 2px solid currentColor;
  643. font-style: italic;
  644. font-size: 27px;
  645. margin: 0 0 1.5em;
  646. padding: .75em 0;
  647. text-align: center;
  648. }
  649. .wp-block-pullquote blockquote {
  650. font-size: 27px;
  651. }
  652. .wp-block-pullquote.alignfull blockquote {
  653. padding-left: 1.5em;
  654. padding-right: 1.5em;
  655. }
  656. .wp-block-pullquote.alignleft,
  657. .wp-block-pullquote.alignright {
  658. background: #fff;
  659. border-bottom: 1px solid #ebe7e1;
  660. border-top: 2px solid #a09a92;
  661. box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.025);
  662. font-size: 27px;
  663. max-width: 75%;
  664. padding: 0.5em;
  665. }
  666. .wp-block-pullquote.alignleft cite,
  667. .wp-block-pullquote.alignright cite {
  668. display: block;
  669. width: 100%;
  670. text-align: right;
  671. }
  672. .wp-block-pullquote.alignleft blockquote,
  673. .wp-block-pullquote.alignright blockquote {
  674. border: 0;
  675. padding: 0;
  676. margin: 0;
  677. }
  678. .wp-block-pullquote.alignleft {
  679. margin-right: 1.5em;
  680. }
  681. .wp-block-pullquote.alignright {
  682. margin-left: 1.5em;
  683. }
  684. @media only screen and (min-width: 641px) {
  685. .rtl .wp-block-pullquote.alignleft,
  686. .wp-block-pullquote.alignleft {
  687. margin-left: -1.5em;
  688. }
  689. .rtl .wp-block-pullquote.alignright,
  690. .wp-block-pullquote.alignright {
  691. margin-right: -1.5em;
  692. }
  693. }
  694. @media only screen and (min-width: 860px) {
  695. .rtl .wp-block-pullquote.alignleft,
  696. .wp-block-pullquote.alignleft {
  697. margin-left: -6em;
  698. }
  699. .rtl .wp-block-pullquote.alignright,
  700. .wp-block-pullquote.alignright {
  701. margin-right: -6em;
  702. }
  703. }
  704. .wp-block-pullquote blockquote > .editor-rich-text p {
  705. font-size: 24px;
  706. margin-bottom: .75em;
  707. }
  708. .wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
  709. .wp-block-pullquote.alignright blockquote > .editor-rich-text p {
  710. font-size: 24px;
  711. }
  712. .wp-block-pullquote__citation,
  713. .wp-block-pullquote cite,
  714. .wp-block-pullquote footer {
  715. color: #a09a92;
  716. font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  717. font-size: 18px;
  718. font-style: normal;
  719. font-weight: normal;
  720. letter-spacing: 1px;
  721. margin-top: 1em;
  722. text-transform: uppercase;
  723. text-align: center;
  724. }
  725. /* Table */
  726. .editor-block-list__block .wp-block-table__cell-content {
  727. padding: 0;
  728. }
  729. .editor-block-list__block table.wp-block-table {
  730. font-size: 0.85em;
  731. line-height: 1.4;
  732. margin: 0.5em 0 1.5em;
  733. }
  734. .editor-block-list__block table.wp-block-table tr:nth-of-type(odd) td {
  735. background: rgba(255, 255, 255, 0.5);
  736. }
  737. .editor-block-list__block table.wp-block-table td {
  738. border: 0;
  739. border-bottom: 1px solid #d9d6d0;
  740. padding: 0.8em 1em;
  741. }
  742. .editor-block-list__block table.wp-block-table thead:nth-of-type(odd) tr td {
  743. background: none;
  744. }
  745. .editor-block-list__block table.wp-block-table th {
  746. border: 0;
  747. font-style: italic;
  748. border-bottom: 1px solid #d9d6d0;
  749. padding: 0.8em 1em;
  750. text-align: left;
  751. }
  752. .editor-block-list__block table.wp-block-table thead th {
  753. border-width: 2px;
  754. color: #a09a92;
  755. font-style: normal;
  756. font-weight: bold;
  757. }
  758. .rtl .editor-block-list__block table.wp-block-table th {
  759. text-align: right;
  760. }
  761. /*--------------------------------------------------------------
  762. 5.0 Blocks - Layout Elements
  763. --------------------------------------------------------------*/
  764. /* Buttons */
  765. .wp-block-button .wp-block-button__link {
  766. font-size: 12px;
  767. letter-spacing: 1px;
  768. padding: 7px 14px;
  769. line-height: 24px;
  770. position: relative;
  771. text-transform: uppercase;
  772. }
  773. .wp-block-button__link {
  774. background: #a09a92;
  775. border: 1px solid #eae9e6;
  776. color: #eae9e6;
  777. }
  778. .wp-block-button__link:not(.has-background) {
  779. box-shadow: 0 0 0 4px #a09a92;
  780. }
  781. .wp-block-button .wp-block-button__link.has-background {
  782. padding: 11px 18px;
  783. }
  784. .is-style-outline .wp-block-button__link {
  785. box-shadow: none;
  786. }
  787. .is-style-outline .wp-block-button__link:not(.has-text-color) {
  788. color: #a09a92;
  789. }
  790. /* Separator */
  791. .wp-block-separator {
  792. background-color: #d9d6d0;
  793. border: 0;
  794. height: 1px;
  795. margin-bottom: 1.5em;
  796. }
  797. .wp-block-separator.is-style-wide {
  798. max-width: 100%;
  799. }
  800. /*--------------------------------------------------------------
  801. 6.0 Blocks - Widgets
  802. --------------------------------------------------------------*/
  803. /* General Widget styles */
  804. .edit-post-visual-editor [data-align="center"] .wp-block-categories__list,
  805. .edit-post-visual-editor [data-align="center"] .wp-block-archives,
  806. .edit-post-visual-editor [data-align="center"] .wp-block-lastest-posts {
  807. list-style-position: inside;
  808. }
  809. /* Categories */
  810. .editor-block-list__block[data-align=right] .wp-block-categories__list,
  811. .editor-block-list__block[data-align=left] .wp-block-categories__list {
  812. padding: 0;
  813. }
  814. /* Latest Comments */
  815. .wp-block-latest-comments {
  816. margin-left: 0;
  817. margin-right: 0;
  818. }
  819. .wp-block-latest-comments__comment {
  820. margin-bottom: 2em;
  821. }
  822. .wp-block-latest-comments__comment-meta {
  823. font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  824. font-size: 14px;
  825. font-weight: normal;
  826. letter-spacing: 1px;
  827. text-transform: uppercase;
  828. }
  829. .wp-block-latest-comments__comment-meta a {
  830. color: #363431;
  831. }
  832. .wp-block-latest-comments__comment-date {
  833. color: #787065;
  834. }
  835. .wp-block-latest-comments .avatar,
  836. .wp-block-latest-comments__comment-avatar {
  837. margin: 0;
  838. }
  839. .wp-block-latest-comments__comment-excerpt p:last-child {
  840. margin-bottom: 0;
  841. }
  842. .rtl .wp-block-latest-posts {
  843. margin-left: 0;
  844. margin-right: 0;
  845. }
  846. /* Latest Posts */
  847. .edit-post-visual-editor .wp-block-latest-posts.is-grid {
  848. list-style: none;
  849. margin-left: 0;
  850. margin-right: 0;
  851. }
  852. .edit-post-visual-editor .wp-block-latest-posts.is-grid li {
  853. margin-bottom: 1em;
  854. }