editor-blocks.css 17 KB

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