editor-blocks.css 17 KB

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