editor-blocks.css 17 KB

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