editor-blocks.css 18 KB

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