editor-blocks.css 17 KB

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