editor-blocks.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857
  1. /*
  2. * Theme Name: Toujours
  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: "Merriweather", Georgia, "Times New Roman", serif;
  22. font-size: 17px;
  23. font-weight: 400;
  24. line-height: 1.8;
  25. }
  26. .edit-post-visual-editor .editor-block-list__block {
  27. color: #404040;
  28. }
  29. .alignleft,
  30. .editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit {
  31. display: inline;
  32. float: left;
  33. margin: 0 1.5em .75em 0;
  34. }
  35. .alignright,
  36. .editor-block-list__layout .editor-block-list__block[data-align=right] .editor-block-list__block-edit {
  37. display: inline;
  38. float: right;
  39. margin: 0 0 .75em 1.5em;
  40. }
  41. .aligncenter,
  42. .editor-block-list__layout .editor-block-list__block[data-align=center] .editor-block-list__block-edit {
  43. margin-left: auto;
  44. margin-right: auto;
  45. }
  46. .wp-block-columns.alignfull,
  47. .wp-block-latest-comments.alignfull,
  48. .editor-block-list__layout .editor-block-list__block[data-align=full] {
  49. padding-left: 60px;
  50. padding-right: 60px;
  51. }
  52. /* Title */
  53. .editor-post-title__block .editor-post-title__input {
  54. clear: both;
  55. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  56. font-weight: 300;
  57. font-size: 40px;
  58. line-height: 1.2;
  59. margin: 0;
  60. padding: 0 0 15px;
  61. }
  62. /* Headings */
  63. .edit-post-visual-editor h1,
  64. .wp-block-freeform.block-library-rich-text__tinymce h1,
  65. .edit-post-visual-editor h2,
  66. .wp-block-freeform.block-library-rich-text__tinymce h2,
  67. .edit-post-visual-editor h3,
  68. .wp-block-freeform.block-library-rich-text__tinymce h3,
  69. .edit-post-visual-editor h4,
  70. .wp-block-freeform.block-library-rich-text__tinymce h4,
  71. .edit-post-visual-editor h5,
  72. .wp-block-freeform.block-library-rich-text__tinymce h5,
  73. .edit-post-visual-editor h6,
  74. .wp-block-freeform.block-library-rich-text__tinymce h6 {
  75. clear: both;
  76. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  77. font-weight: 300;
  78. line-height: 1.2;
  79. margin: 0;
  80. padding: 0 0 15px;
  81. }
  82. .edit-post-visual-editor h1,
  83. .wp-block-freeform.block-library-rich-text__tinymce h1 {
  84. font-size: 40px;
  85. }
  86. .edit-post-visual-editor h2,
  87. .wp-block-freeform.block-library-rich-text__tinymce h2 {
  88. font-size: 35px;
  89. }
  90. .edit-post-visual-editor h3,
  91. .wp-block-freeform.block-library-rich-text__tinymce h3{
  92. font-size: 30px;
  93. }
  94. .edit-post-visual-editor h4,
  95. .wp-block-freeform.block-library-rich-text__tinymce h4 {
  96. font-size: 20px;
  97. font-weight: 500;
  98. letter-spacing: 0.08em;
  99. text-transform: uppercase;
  100. }
  101. .edit-post-visual-editor h5,
  102. .wp-block-freeform.block-library-rich-text__tinymce h5 {
  103. font-size: 18px;
  104. font-weight: 500;
  105. letter-spacing: 0.08em;
  106. text-transform: uppercase;
  107. }
  108. .edit-post-visual-editor h6,
  109. .wp-block-freeform.block-library-rich-text__tinymce h6 {
  110. font-size: 16px;
  111. font-weight: 500;
  112. letter-spacing: 0.08em;
  113. text-transform: uppercase;
  114. }
  115. /*--------------------------------------------------------------
  116. 2.0 General Block Styles
  117. --------------------------------------------------------------*/
  118. /* Main column width */
  119. .wp-block {
  120. max-width: 790px; /* 760px + 30px to account for padding */
  121. }
  122. /* Link styles */
  123. .edit-post-visual-editor a,
  124. .editor-block-list__block a,
  125. .wp-block-freeform.block-library-rich-text__tinymce a {
  126. color: #2590ec;
  127. }
  128. .edit-post-visual-editor a:hover,
  129. .edit-post-visual-editor a:focus,
  130. .edit-post-visual-editor a:active,
  131. .editor-block-list__block a:hover,
  132. .editor-block-list__block a:focus,
  133. .editor-block-list__block a:active,
  134. .wp-block-freeform.block-library-rich-text__tinymce a:hover,
  135. .wp-block-freeform.block-library-rich-text__tinymce a:focus,
  136. .wp-block-freeform.block-library-rich-text__tinymce a:active {
  137. color: #666;
  138. }
  139. /* List styles */
  140. .edit-post-visual-editor ul:not(.wp-block-gallery),
  141. .editor-block-list__block ul:not(.wp-block-gallery),
  142. .block-library-list ul,
  143. .edit-post-visual-editor ol,
  144. .editor-block-list__block ol,
  145. .block-library-list ol.editor-rich-text__tinymce {
  146. margin: 0 0 30px;
  147. padding: 0 0 0 40px;
  148. }
  149. .block-library-list .editor-rich-text__tinymce {
  150. margin: 0;
  151. padding: 0;
  152. }
  153. .edit-post-visual-editor ul:not(.wp-block-gallery),
  154. .editor-block-list__block ul:not(.wp-block-gallery),
  155. .block-library-list ul {
  156. list-style: disc;
  157. }
  158. .edit-post-visual-editor ol,
  159. .editor-block-list__block ol,
  160. .block-library-list ol.editor-rich-text__tinymce {
  161. list-style: decimal;
  162. }
  163. .edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
  164. .editor-block-list__block ul:not(.wp-block-gallery) li > ul,
  165. .block-library-list li > ul,
  166. .edit-post-visual-editor li > ol,
  167. .editor-block-list__block li > ol,
  168. .block-library-list li > ol {
  169. margin-bottom: 0;
  170. margin-left: 1.5em;
  171. }
  172. .wp-block-freeform.block-library-rich-text__tinymce ol {
  173. list-style: decimal;
  174. margin-left: 3em;
  175. padding: 0;
  176. }
  177. .rtl .wp-block-freeform.block-library-rich-text__tinymce ol {
  178. margin-right: 3em;
  179. margin-left: 0;
  180. }
  181. .wp-block-freeform.block-library-rich-text__tinymce li > ol {
  182. margin-left: 3em;
  183. }
  184. .rtl .wp-block-freeform.block-library-rich-text__tinymce li > ol {
  185. margin-left: 0;
  186. margin-right: 3em;
  187. }
  188. .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
  189. .rtl .editor-block-list__block ul:not(.wp-block-gallery),
  190. .rtl .block-library-list ul,
  191. .rtl .edit-post-visual-editor ol,
  192. .rtl .editor-block-list__block ol,
  193. .rtl .block-library-list ol.editor-rich-text__tinymce {
  194. margin-left: 0;
  195. margin-right: 1.5em;
  196. padding: 0 40px 0 0;
  197. }
  198. .wp-block-freeform.block-library-rich-text__tinymce ol {
  199. list-style: decimal;
  200. margin-left: 3em;
  201. padding: 0;
  202. }
  203. .rtl .wp-block-freeform.block-library-rich-text__tinymce ol {
  204. margin-right: 3em;
  205. margin-left: 0;
  206. }
  207. .wp-block-freeform.block-library-rich-text__tinymce li > ol {
  208. margin-left: 3em;
  209. }
  210. .rtl .wp-block-freeform.block-library-rich-text__tinymce li > ol {
  211. margin-left: 0;
  212. margin-right: 3em;
  213. }
  214. /* Captions */
  215. [class^="wp-block-"] figcaption,
  216. .wp-caption-dd {
  217. font-size: 14px;
  218. font-style: italic;
  219. }
  220. [class^="wp-block-"]:not(.wp-block-gallery) figcaption,
  221. .wp-caption-dd {
  222. color: #999;
  223. }
  224. /* Definition List styles */
  225. .wp-block-freeform.block-library-rich-text__tinymce dt {
  226. font-weight: bold;
  227. }
  228. .wp-block-freeform.block-library-rich-text__tinymce dd {
  229. margin: 0 1.5em 1.5em;
  230. }
  231. /* Code styles */
  232. .wp-block-freeform.block-library-rich-text__tinymce code,
  233. .wp-block-freeform.block-library-rich-text__tinymce kbd,
  234. .wp-block-freeform.block-library-rich-text__tinymce tt,
  235. .wp-block-freeform.block-library-rich-text__tinymce var {
  236. background: transparent;
  237. font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  238. font-size: 15px;
  239. }
  240. /* Mark, Ins styles */
  241. .wp-block-freeform.block-library-rich-text__tinymce mark,
  242. .wp-block-freeform.block-library-rich-text__tinymce ins {
  243. background: #fff9c0;
  244. text-decoration: none;
  245. }
  246. /* Address styles */
  247. .wp-block-freeform.block-library-rich-text__tinymce address {
  248. margin-bottom: 1.5em;
  249. }
  250. /* Blockquote styles */
  251. .wp-block-freeform.block-library-rich-text__tinymce blockquote {
  252. color: #888;
  253. border-left: 4px solid #f0f0f0;
  254. margin: 0 0 1.5em;
  255. padding: 0 0 0 30px;
  256. }
  257. .wp-block-freeform.block-library-rich-text__tinymce blockquote > :last-child {
  258. margin-bottom: 0;
  259. }
  260. .wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
  261. display: block;
  262. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  263. font-size: 18px;
  264. font-style: normal;
  265. font-weight: 300;
  266. margin-top: 5px;
  267. }
  268. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
  269. border: 0;
  270. border-right: 4px solid #f0f0f0;
  271. padding-left: 0;
  272. padding-right: 30px;
  273. }
  274. /* Alignments */
  275. .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignleft {
  276. float: left;
  277. }
  278. .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignright {
  279. float: right;
  280. }
  281. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft {
  282. margin: .75em 1.5em .75em 0;
  283. }
  284. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
  285. margin: .75em 0 .75em 1.5em;
  286. }
  287. /* Pre styles */
  288. .wp-block-freeform.block-library-rich-text__tinymce pre {
  289. background: #333;
  290. color: #ddd;
  291. font-family: "Courier 10 Pitch", Courier, monospace;
  292. line-height: 1.6;
  293. margin-bottom: 1.6em;
  294. max-width: 100%;
  295. overflow: auto;
  296. padding: 1.6em;
  297. position: relative;
  298. }
  299. /* Table styles */
  300. .wp-block-freeform.block-library-rich-text__tinymce table {
  301. border: 0;
  302. border-bottom: 4px double #e1e1e1;
  303. border-top: 4px double #e1e1e1;
  304. margin: 0 0 30px;
  305. max-width: 100%;
  306. overflow: auto;
  307. width: 100%;
  308. }
  309. .wp-block-freeform.block-library-rich-text__tinymce table tr {
  310. border-bottom: 1px solid #e1e1e1;
  311. }
  312. .wp-block-freeform.block-library-rich-text__tinymce table td,
  313. .wp-block-freeform.block-library-rich-text__tinymce table th {
  314. border: 0;
  315. border-bottom: 1px solid #e1e1e1;
  316. font-size: 90%;
  317. padding: 10px;
  318. text-align: left;
  319. }
  320. .wp-block-freeform.block-library-rich-text__tinymce table tr:last-child td,
  321. .wp-block-freeform.block-library-rich-text__tinymce table tr:last-child th {
  322. border-bottom: 0;
  323. }
  324. .rtl .wp-block-freeform.block-library-rich-text__tinymce table td,
  325. .rtl .wp-block-freeform.block-library-rich-text__tinymce table th {
  326. text-align: right;
  327. }
  328. /*--------------------------------------------------------------
  329. 3.0 Blocks - Common Blocks
  330. --------------------------------------------------------------*/
  331. /* Paragraph */
  332. .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
  333. font-size: 5em;
  334. margin-top: 0.125em;
  335. }
  336. .edit-post-visual-editor p {
  337. margin: 0 0 1.5em;
  338. }
  339. .edit-post-visual-editor blockquote p {
  340. margin: 0 0 1.5em;
  341. }
  342. /* Images */
  343. .wp-block-image figcaption {
  344. font-size: 14px;
  345. font-style: italic;
  346. }
  347. /* Quote */
  348. .wp-block-quote:not(.is-large):not(.is-style-large),
  349. .wp-block-quote,
  350. .rtl .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align:left"],
  351. .rtl .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align: left"],
  352. .rtl .wp-block-quote[style*="text-align:left"],
  353. .rtl .wp-block-quote[style*="text-align: left"] {
  354. color: #888;
  355. border: 0;
  356. border-left: 4px solid #f0f0f0;
  357. margin: 0 0 1.5em;
  358. padding: 0 0 0 30px;
  359. }
  360. .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align:right"],
  361. .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align: right"],
  362. .wp-block-quote[style*="text-align:right"],
  363. .wp-block-quote[style*="text-align: right"],
  364. .rtl .wp-block-quote:not(.is-large):not(.is-style-large),
  365. .rtl .wp-block-quote {
  366. border: 0;
  367. border-right: 4px solid #f0f0f0;
  368. margin: 0;
  369. padding-left: 0;
  370. padding-right: 30px;
  371. }
  372. .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align:center"],
  373. .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align: center"],
  374. .wp-block-quote[style*="text-align:center"],
  375. .wp-block-quote[style*="text-align: center"] {
  376. border: 0;
  377. padding: 0;
  378. }
  379. .edit-post-visual-editor .editor-block-list__block blockquote p {
  380. color: #888;
  381. font-size: 20px;
  382. font-style: italic;
  383. }
  384. .editor-block-list__block .wp-block-quote__citation {
  385. color: inherit;
  386. display: block;
  387. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  388. font-size: 18px;
  389. font-style: normal;
  390. font-weight: 300;
  391. margin-top: 5px;
  392. }
  393. .editor-block-list__block .wp-block-quote em,
  394. .editor-block-list__block .wp-block-quote i {
  395. font-style: normal;
  396. }
  397. .editor-block-list__block .wp-block-quote > :last-child {
  398. margin-bottom: 0;
  399. }
  400. .wp-block-quote.is-large,
  401. .wp-block-quote.is-style-large {
  402. font-size: 28px;
  403. font-style: italic;
  404. }
  405. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large,
  406. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large,
  407. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p,
  408. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p {
  409. font-size: 28px;
  410. }
  411. .editor-block-list__block .wp-block-quote.is-large .wp-block-quote__citation,
  412. .editor-block-list__block .wp-block-quote.is-style-large .wp-block-quote__citation {
  413. font-size: 22px;
  414. }
  415. .editor-block-list__block .wp-block-quote.is-large p,
  416. .editor-block-list__block .wp-block-quote.is-style-large p {
  417. margin-bottom: 1.5em;
  418. font-style: normal;
  419. }
  420. /* Cover */
  421. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-image-text,
  422. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .wp-block-cover-text,
  423. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image h2,
  424. .edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-image-text,
  425. .edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-text,
  426. .edit-post-visual-editor .editor-block-list__block .wp-block-cover h2 {
  427. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  428. font-size: 2em;
  429. font-weight: 300;
  430. }
  431. /* File */
  432. .wp-block-file {
  433. margin: 0 0 1.5em;
  434. }
  435. .wp-block-file__textlink {
  436. color: #2590ec;
  437. text-decoration: underline;
  438. }
  439. .wp-block-file .wp-block-file__button {
  440. background-color: #2590ec;
  441. border: 0;
  442. border-radius: 0;
  443. color: #fff;
  444. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  445. font-size: 14px;
  446. font-weight: 500;
  447. letter-spacing: 0.08em;
  448. line-height: 1;
  449. padding: 15px 30px;
  450. text-transform: uppercase;
  451. -webkit-transition: background-color 0.2s;
  452. -moz-transition: background-color 0.2s;
  453. transition: background-color 0.2s;
  454. }
  455. .wp-block-button .editor-rich-text__tinymce.mce-content-body {
  456. line-height: 1;
  457. }
  458. .rtl .wp-block-file .wp-block-file__button {
  459. margin-left: 15px;
  460. margin-right: 0;
  461. }
  462. /*--------------------------------------------------------------
  463. 4.0 Blocks - Formatting
  464. --------------------------------------------------------------*/
  465. /* Verse */
  466. .wp-block-verse pre {
  467. background: transparent;
  468. color: inherit;
  469. font-family: inherit;
  470. font-size: inherit;
  471. font-style: italic;
  472. line-height: inherit;
  473. margin-bottom: 1.5em;
  474. max-width: 100%;
  475. overflow: auto;
  476. padding: 0;
  477. }
  478. /* Code */
  479. .wp-block-code {
  480. background: #333;
  481. color: #ddd;
  482. font-family: "Courier 10 Pitch", Courier, monospace;
  483. line-height: 1.6;
  484. margin-bottom: 1.6em;
  485. max-width: 100%;
  486. overflow: auto;
  487. padding: 1.6em;
  488. position: relative;
  489. }
  490. .wp-block-code .editor-plain-text {
  491. background: #333;
  492. color: #ddd;
  493. }
  494. /* Classic */
  495. .wp-block-freeform.block-library-rich-text__tinymce {
  496. overflow: visible;
  497. }
  498. /* Preformatted */
  499. .editor-block-list__block .wp-block-preformatted pre {
  500. background: #333;
  501. color: #ddd;
  502. font-family: "Courier 10 Pitch", Courier, monospace;
  503. line-height: 1.6;
  504. margin-bottom: 1.6em;
  505. max-width: 100%;
  506. overflow: auto;
  507. padding: 1.6em;
  508. position: relative;
  509. }
  510. /* Pullquote */
  511. .editor-block-list__block .wp-block-pullquote blockquote {
  512. margin: 0;
  513. padding: 0;
  514. border: 0;
  515. }
  516. .edit-post-visual-editor .editor-block-list__block .wp-block-pullquote blockquote p {
  517. font-size: 28px;
  518. }
  519. .edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignleft blockquote p,
  520. .edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignright blockquote p {
  521. font-size: 22px;
  522. }
  523. .wp-block-pullquote blockquote:before {
  524. display: none;
  525. }
  526. .wp-block-pullquote {
  527. border-left: 0;
  528. border-bottom: 1px solid #f0f0f0;
  529. border-top: 3px solid #f0f0f0;
  530. font-size: 28px;
  531. font-style: italic;
  532. line-height: 1.6;
  533. margin: 0 0 1.5em;
  534. padding: 1.5em;
  535. color: #888;
  536. }
  537. .wp-block-pullquote blockquote {
  538. font-size: 28px;
  539. }
  540. .wp-block-pullquote.alignfull blockquote {
  541. padding-left: 1.5em;
  542. padding-right: 1.5em;
  543. }
  544. .wp-block-pullquote.alignleft,
  545. .wp-block-pullquote.alignright {
  546. font-size: 22px;
  547. }
  548. .wp-block-pullquote.alignleft cite,
  549. .wp-block-pullquote.alignright cite {
  550. font-size: 18px;
  551. }
  552. .wp-block-pullquote.alignleft blockquote,
  553. .wp-block-pullquote.alignright blockquote {
  554. border: 0;
  555. padding: 0;
  556. margin: 0;
  557. }
  558. .wp-block-pullquote.alignleft {
  559. font-size: 18px;
  560. margin-right: 1.5em;
  561. }
  562. .wp-block-pullquote.alignright {
  563. font-size: 18px;
  564. margin-left: 1.5em;
  565. }
  566. .wp-block-pullquote blockquote > .editor-rich-text p {
  567. margin-bottom: .75em;
  568. }
  569. .wp-block-pullquote__citation,
  570. .wp-block-pullquote cite,
  571. .wp-block-pullquote footer {
  572. color: inherit;
  573. display: block;
  574. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  575. font-size: 18px;
  576. font-style: normal;
  577. font-weight: 300;
  578. margin-top: 5px;
  579. text-transform: none;
  580. }
  581. /* Table */
  582. .editor-block-list__block .wp-block-table__cell-content {
  583. padding: 0;
  584. }
  585. .editor-block-list__block table.wp-block-table {
  586. border-bottom: 4px double #e1e1e1;
  587. border-top: 4px double #e1e1e1;
  588. margin: 0 0 30px;
  589. max-width: 100%;
  590. overflow: auto;
  591. width: 100%;
  592. }
  593. .editor-block-list__block table.wp-block-table tr {
  594. border-bottom: 1px solid #e1e1e1;
  595. }
  596. .editor-block-list__block table.wp-block-table td {
  597. border: 0;
  598. font-size: 90%;
  599. padding: 10px;
  600. text-align: left;
  601. }
  602. .editor-block-list__block table.wp-block-table th {
  603. border: 0;
  604. font-size: 90%;
  605. padding: 10px;
  606. text-align: left;
  607. }
  608. .rtl .editor-block-list__block table.wp-block-table td,
  609. .rtl .editor-block-list__block table.wp-block-table th {
  610. text-align: right;
  611. }
  612. /*--------------------------------------------------------------
  613. 5.0 Blocks - Layout Elements
  614. --------------------------------------------------------------*/
  615. /* Buttons */
  616. .wp-block-button .wp-block-button__link {
  617. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  618. font-size: 14px;
  619. font-weight: 500;
  620. letter-spacing: 0.08em;
  621. line-height: 1;
  622. padding: 15px 30px;
  623. text-transform: uppercase;
  624. }
  625. .wp-block-button__link {
  626. background-color: #2590ec;
  627. color: #fff;
  628. }
  629. .is-style-outline .wp-block-button__link:not(.has-text-color) {
  630. color: #2590ec;
  631. }
  632. .wp-block-button.alignleft {
  633. margin-left: 0;
  634. }
  635. .wp-block-button.alignright {
  636. margin-right: 0;
  637. }
  638. .wp-block-button.aligncenter {
  639. margin: 1.5em auto;
  640. }
  641. /* Separator */
  642. .wp-block-separator {
  643. background-color: #ccc;
  644. border: 0;
  645. height: 1px;
  646. margin-bottom: 1.5em;
  647. }
  648. .wp-block-separator.is-style-wide {
  649. max-width: 100%;
  650. }
  651. /*--------------------------------------------------------------
  652. 6.0 Blocks - Widgets
  653. --------------------------------------------------------------*/
  654. /* General Widget styles */
  655. .edit-post-visual-editor [data-align="center"] .wp-block-categories__list,
  656. .edit-post-visual-editor [data-align="center"] .wp-block-archives,
  657. .edit-post-visual-editor [data-align="center"] .wp-block-lastest-posts {
  658. list-style-position: inside;
  659. }
  660. /* Categories */
  661. .editor-block-list__block[data-align=right] .wp-block-categories__list,
  662. .editor-block-list__block[data-align=left] .wp-block-categories__list {
  663. padding: 0;
  664. }
  665. /* Latest Comments */
  666. .editor-block-list__block .wp-block-latest-comments__comment-meta a {
  667. box-shadow: none;
  668. font-weight: 700;
  669. text-decoration: none;
  670. }
  671. .wp-block-latest-comments .wp-block-latest-comments__comment {
  672. margin-bottom: 0;
  673. padding: 1em 0;
  674. }
  675. .wp-block-latest-comments__comment-date {
  676. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  677. font-size: 13.5px;
  678. font-style: normal;
  679. font-weight: 500;
  680. letter-spacing: 0.08em;
  681. text-transform: uppercase;
  682. }
  683. .rtl ol.wp-block-latest-comments {
  684. margin-right: 0;
  685. padding-right: 0;
  686. }
  687. .wp-block-latest-comments__comment-excerpt p:last-child {
  688. margin-bottom: 0;
  689. }
  690. /* Latest Posts */
  691. .rtl .edit-post-visual-editor .wp-block-latest-posts {
  692. padding-right: 0;
  693. }
  694. .edit-post-visual-editor .wp-block-latest-posts.is-grid,
  695. .rtl .edit-post-visual-editor .wp-block-latest-posts.is-grid {
  696. list-style: none;
  697. margin-left: 0;
  698. margin-right: 0;
  699. padding: 0;
  700. }
  701. .edit-post-visual-editor .wp-block-latest-posts.is-grid li {
  702. margin-bottom: .75em;
  703. }