editor-blocks.css 18 KB

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