editor-blocks.css 18 KB

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