editor-blocks.css 18 KB

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