editor-blocks.css 19 KB

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