editor-blocks.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928
  1. /*
  2. * Theme Name: Scratchpad
  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: "Lato", "Helvetica Neue", helvetica, arial, sans-serif;
  22. font-size: 18px;
  23. line-height: 1.8;
  24. }
  25. .edit-post-visual-editor .editor-block-list__block {
  26. color: #777;
  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. font-family: "Lato", "Helvetica Neue", helvetica, arial, sans-serif;
  54. color: #777;
  55. margin-top: 0;
  56. padding-top: 0;
  57. font-size: 32px;
  58. }
  59. @media only screen and (max-width: 800px) {
  60. .editor-post-title__block .editor-post-title__input {
  61. font-size: 28px;
  62. }
  63. }
  64. /* Headings */
  65. .edit-post-visual-editor h1,
  66. .edit-post-visual-editor h2,
  67. .edit-post-visual-editor h3,
  68. .edit-post-visual-editor h4,
  69. .edit-post-visual-editor h5,
  70. .edit-post-visual-editor h6 {
  71. clear: both;
  72. margin-top: 0;
  73. padding-top: 0;
  74. }
  75. .edit-post-visual-editor h1 {
  76. font-size: 32px;
  77. }
  78. .edit-post-visual-editor h2 {
  79. font-size: 28px;
  80. }
  81. .edit-post-visual-editor h3 {
  82. font-size: 24px;
  83. }
  84. .edit-post-visual-editor h4 {
  85. font-size: 20px;
  86. }
  87. .edit-post-visual-editor h5 {
  88. font-size: 16px;
  89. text-transform: uppercase;
  90. }
  91. .edit-post-visual-editor h6 {
  92. font-size: 14px;
  93. text-transform: uppercase;
  94. }
  95. @media only screen and (max-width: 800px) {
  96. .edit-post-visual-editor h1 {
  97. font-size: 28px;
  98. }
  99. .edit-post-visual-editor h2 {
  100. font-size: 24px;
  101. }
  102. .edit-post-visual-editor h3 {
  103. font-size: 20px;
  104. }
  105. .edit-post-visual-editor h4 {
  106. font-size: 18px;
  107. }
  108. .edit-post-visual-editor h5 {
  109. font-size: 16px;
  110. }
  111. .edit-post-visual-editor h6 {
  112. font-size: 14px;
  113. }
  114. }
  115. /*--------------------------------------------------------------
  116. 2.0 General Block Styles
  117. --------------------------------------------------------------*/
  118. /* Main column width */
  119. .wp-block {
  120. max-width: 690px; /* 660px + 30px to account for 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: #537375;
  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: #537375;
  138. text-decoration: none;
  139. }
  140. /* List styles */
  141. .edit-post-visual-editor ul:not(.wp-block-gallery),
  142. .editor-block-list__block ul:not(.wp-block-gallery),
  143. .block-library-list ul,
  144. .edit-post-visual-editor ol,
  145. .editor-block-list__block ol,
  146. .block-library-list ol.editor-rich-text__tinymce {
  147. margin: 0 0 1.5em 3em;
  148. padding: 0;
  149. }
  150. .block-library-list .editor-rich-text__tinymce {
  151. margin: 0;
  152. padding: 0;
  153. }
  154. .edit-post-visual-editor ul:not(.wp-block-gallery),
  155. .editor-block-list__block ul:not(.wp-block-gallery),
  156. .block-library-list ul {
  157. list-style: disc;
  158. }
  159. .edit-post-visual-editor ol,
  160. .editor-block-list__block ol,
  161. .block-library-list ol.editor-rich-text__tinymce {
  162. list-style: decimal;
  163. }
  164. .edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
  165. .editor-block-list__block ul:not(.wp-block-gallery) li > ul,
  166. .block-library-list li > ul,
  167. .edit-post-visual-editor li > ol,
  168. .editor-block-list__block li > ol,
  169. .block-library-list li > ol {
  170. margin-bottom: 0;
  171. margin-left: 2em;
  172. }
  173. .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
  174. .rtl .editor-block-list__block ul:not(.wp-block-gallery),
  175. .rtl .block-library-list ul,
  176. .rtl .edit-post-visual-editor ol,
  177. .rtl .editor-block-list__block ol,
  178. .rtl .block-library-list ol.editor-rich-text__tinymce {
  179. margin-left: 0;
  180. margin-right: 2em;
  181. padding: 0;
  182. }
  183. /* Captions */
  184. [class^="wp-block-"] figcaption,
  185. .wp-caption-dd {
  186. font-family: "Kalam", "Chalkboard", "Comic Sans", script;
  187. font-size: 15px;
  188. line-height: 1.5;
  189. margin-left: 0;
  190. margin-right: 0;
  191. text-align: center;
  192. }
  193. [class^="wp-block-"]:not(.wp-block-gallery) figcaption,
  194. .wp-caption-dd {
  195. border-bottom: 1px solid #ddd;
  196. color: #b9b9b9;
  197. padding-bottom: 0.5em;
  198. }
  199. /* Definition List styles */
  200. .wp-block-freeform.block-library-rich-text__tinymce dt {
  201. font-weight: bold;
  202. }
  203. .wp-block-freeform.block-library-rich-text__tinymce dd {
  204. margin-bottom: 1em;
  205. }
  206. /* Code styles */
  207. .wp-block-freeform.block-library-rich-text__tinymce code,
  208. .wp-block-freeform.block-library-rich-text__tinymce kbd,
  209. .wp-block-freeform.block-library-rich-text__tinymce tt,
  210. .wp-block-freeform.block-library-rich-text__tinymce var {
  211. background: transparent;
  212. color: #777;
  213. font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  214. font-size: 15px;
  215. }
  216. /* Mark, Ins styles */
  217. .wp-block-freeform.block-library-rich-text__tinymce mark,
  218. .wp-block-freeform.block-library-rich-text__tinymce ins {
  219. background: #fff9c0;
  220. }
  221. /*--------------------------------------------------------------
  222. 3.0 Blocks - Common Blocks
  223. --------------------------------------------------------------*/
  224. /* Paragraph */
  225. .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
  226. font-size: 5em;
  227. margin-top: 0.16em;
  228. }
  229. .edit-post-visual-editor p {
  230. margin: 0 0 1.5em;
  231. }
  232. .edit-post-visual-editor blockquote p {
  233. margin: 0 0 1.5em;
  234. }
  235. /* Images */
  236. .wp-block-image figcaption {
  237. font-family: "Kalam", "Chalkboard", "Comic Sans", script;
  238. font-size: 15px;
  239. line-height: 1.5;
  240. }
  241. /* Quote */
  242. .wp-block-quote:before {
  243. background: url("images/icon-sprites.svg") 0 -408px no-repeat;
  244. background-size: 100%;
  245. content: "";
  246. display: block;
  247. height: 39px;
  248. opacity: 0.2;
  249. position: absolute;
  250. top: 0;
  251. width: 50px;
  252. }
  253. .wp-block-quote:before,
  254. .rtl .wp-block-quote[style*="text-align:left"]:before,
  255. .rtl .wp-block-quote[style*="text-align: left"]:before {
  256. left: 0;
  257. right: auto;
  258. }
  259. .wp-block-quote:not(.is-large):not(.is-style-large),
  260. .wp-block-quote {
  261. border: 0;
  262. color: #aaa;
  263. font-size: 22px;
  264. font-style: italic;
  265. margin: 0;
  266. padding-left: 70px;
  267. position: relative;
  268. }
  269. .rtl .wp-block-quote:before,
  270. .wp-block-quote[style*="text-align:right"]:before,
  271. .wp-block-quote[style*="text-align: right"]:before {
  272. left: auto;
  273. right: 0;
  274. }
  275. @media only screen and (max-width: 800px) {
  276. .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large),
  277. .editor-block-list__block .wp-block-quote {
  278. font-size: 17px;
  279. }
  280. }
  281. .rtl .wp-block-quote:not(.is-large):not(.is-style-large),
  282. .rtl .wp-block-quote,
  283. .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align:right"],
  284. .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align: right"],
  285. .wp-block-quote[style*="text-align:right"],
  286. .wp-block-quote[style*="text-align: right"] {
  287. border: 0;
  288. margin: 0;
  289. padding-left: 0;
  290. padding-right: 70px;
  291. }
  292. .rtl .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align:left"],
  293. .rtl .wp-block-quote:not(.is-large):not(.is-style-large)[style*="text-align: left"],
  294. .rtl .wp-block-quote[style*="text-align:left"],
  295. .rtl .wp-block-quote[style*="text-align: left"] {
  296. padding-left: 70px;
  297. padding-right: 0;
  298. }
  299. .edit-post-visual-editor .editor-block-list__block blockquote p {
  300. color: #aaa;
  301. font-size: 22px;
  302. }
  303. .editor-block-list__block .wp-block-quote__citation {
  304. color: inherit;
  305. display: block;
  306. font-size: 18px;
  307. font-style: italic;
  308. padding: 8px 0 0;
  309. }
  310. .editor-block-list__block .wp-block-quote em,
  311. .editor-block-list__block .wp-block-quote i {
  312. font-style: normal;
  313. }
  314. .editor-block-list__block .wp-block-quote > :last-child {
  315. margin-bottom: 0;
  316. }
  317. .wp-block-quote.is-large,
  318. .wp-block-quote.is-style-large {
  319. font-size: 32px;
  320. font-style: italic;
  321. }
  322. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large,
  323. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large,
  324. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p,
  325. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p {
  326. font-size: 32px;
  327. }
  328. @media only screen and (max-width: 800px) {
  329. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large,
  330. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large,
  331. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p,
  332. .edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p {
  333. font-size: 28px;
  334. }
  335. }
  336. .editor-block-list__block .wp-block-quote.is-large p,
  337. .editor-block-list__block .wp-block-quote.is-style-large p {
  338. margin-bottom: 1.5em;
  339. font-style: normal;
  340. }
  341. /* Cover */
  342. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text,
  343. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-text,
  344. .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image h2,
  345. .edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-image-text,
  346. .edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-text,
  347. .edit-post-visual-editor .editor-block-list__block .wp-block-cover h2 {
  348. font-family: "Kalam", "Chalkboard", "Comic Sans", script;
  349. font-size: 2.0em;
  350. }
  351. /* File */
  352. .wp-block-file {
  353. margin: 0 0 1.5em;
  354. }
  355. .wp-block-file .wp-block-file__button {
  356. background: transparent;
  357. border: 2px solid rgba(119, 119, 119, 0.5);
  358. border-radius: 255px 15px 225px 15px/15px 225px 15px;
  359. color: rgba(119, 119, 119, 0.8);
  360. font-family: "Kalam", "Chalkboard", "Comic Sans", script;
  361. font-size: 14px;
  362. letter-spacing: 0.05em;
  363. outline: none;
  364. padding: 10px 20px;
  365. text-shadow: none;
  366. text-transform: uppercase;
  367. -webkit-transition: color 0.2s, border-color 0.2s;
  368. -moz-transition: color 0.2s, border-color 0.2s;
  369. transition: color 0.2s, border-color 0.2s;
  370. }
  371. .rtl .wp-block-file .wp-block-file__button {
  372. margin-left: 10px;
  373. margin-right: 0;
  374. }
  375. /*--------------------------------------------------------------
  376. 4.0 Blocks - Formatting
  377. --------------------------------------------------------------*/
  378. /* Verse */
  379. .wp-block-verse pre {
  380. background: transparent;
  381. color: inherit;
  382. font-family: "Kalam", "Chalkboard", "Comic Sans", script;
  383. font-size: inherit;
  384. line-height: inherit;
  385. margin-bottom: 1.5em;
  386. max-width: 100%;
  387. overflow: auto;
  388. padding: 0;
  389. }
  390. /* Code */
  391. .wp-block-code {
  392. color: #777;
  393. background: #eee;
  394. font-family: "Courier 10 Pitch", Courier, monospace;
  395. font-size: 15px;
  396. font-size: 0.9375rem;
  397. line-height: 1.6;
  398. margin-bottom: 1.6em;
  399. max-width: 100%;
  400. overflow: auto;
  401. padding: 1.6em;
  402. }
  403. .wp-block-code .editor-plain-text {
  404. background: #eee;
  405. }
  406. /* Classic */
  407. .wp-block-freeform.block-library-rich-text__tinymce {
  408. overflow: visible;
  409. }
  410. .wp-block-freeform.block-library-rich-text__tinymce address {
  411. margin-bottom: 1.5em;
  412. }
  413. .wp-block-freeform.block-library-rich-text__tinymce ol {
  414. list-style: decimal;
  415. margin-left: 3em;
  416. padding: 0;
  417. }
  418. .wp-block-freeform.block-library-rich-text__tinymce li > ol {
  419. margin-left: 3em;
  420. }
  421. .wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
  422. background: url("images/icon-sprites.svg") 0 -408px no-repeat;
  423. background-size: 100%;
  424. content: "";
  425. display: block;
  426. height: 39px;
  427. left: 0;
  428. opacity: 0.2;
  429. position: absolute;
  430. top: 0;
  431. width: 50px;
  432. }
  433. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
  434. left: auto;
  435. right: 0;
  436. }
  437. .wp-block-freeform.block-library-rich-text__tinymce blockquote {
  438. border: 0;
  439. color: #aaa;
  440. font-size: 22px;
  441. font-style: italic;
  442. margin: 0;
  443. padding-left: 70px;
  444. position: relative;
  445. }
  446. @media only screen and (max-width: 800px) {
  447. .wp-block-freeform.block-library-rich-text__tinymce blockquote {
  448. font-size: 17px;
  449. }
  450. }
  451. .wp-block-freeform.block-library-rich-text__tinymce blockquote > :last-child {
  452. margin-bottom: 0;
  453. }
  454. .wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
  455. font-style: italic;
  456. font-size: 18px;
  457. }
  458. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
  459. border: 0;
  460. padding-left: 0;
  461. padding-right: 70px;
  462. }
  463. .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignleft {
  464. float: left;
  465. }
  466. .rtl .wp-block-freeform.block-library-rich-text__tinymce .alignright {
  467. float: right;
  468. }
  469. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft {
  470. margin: .75em 1.5em .75em 0;
  471. }
  472. .rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
  473. margin: .75em 0 .75em 1.5em;
  474. }
  475. .wp-block-freeform.block-library-rich-text__tinymce h1,
  476. .wp-block-freeform.block-library-rich-text__tinymce h2,
  477. .wp-block-freeform.block-library-rich-text__tinymce h3,
  478. .wp-block-freeform.block-library-rich-text__tinymce h4,
  479. .wp-block-freeform.block-library-rich-text__tinymce h5,
  480. .wp-block-freeform.block-library-rich-text__tinymce h6 {
  481. clear: both;
  482. margin-top: 0;
  483. padding-top: 0;
  484. color: #777;
  485. }
  486. .wp-block-freeform.block-library-rich-text__tinymce h1 {
  487. font-size: 32px;
  488. }
  489. .wp-block-freeform.block-library-rich-text__tinymce h2 {
  490. font-size: 28px;
  491. }
  492. .wp-block-freeform.block-library-rich-text__tinymce h3 {
  493. font-size: 24px;
  494. }
  495. .wp-block-freeform.block-library-rich-text__tinymce h4 {
  496. font-size: 20px;
  497. }
  498. .wp-block-freeform.block-library-rich-text__tinymce h5 {
  499. font-size: 16px;
  500. text-transform: uppercase;
  501. }
  502. .wp-block-freeform.block-library-rich-text__tinymce h6 {
  503. font-size: 14px;
  504. text-transform: uppercase;
  505. }
  506. @media only screen and (max-width: 800px) {
  507. .wp-block-freeform.block-library-rich-text__tinymce h1 {
  508. font-size: 28px;
  509. }
  510. .wp-block-freeform.block-library-rich-text__tinymce h2 {
  511. font-size: 24px;
  512. }
  513. .wp-block-freeform.block-library-rich-text__tinymce h3 {
  514. font-size: 20px;
  515. }
  516. .wp-block-freeform.block-library-rich-text__tinymce h4 {
  517. font-size: 18px;
  518. }
  519. .wp-block-freeform.block-library-rich-text__tinymce h5 {
  520. font-size: 16px;
  521. }
  522. .wp-block-freeform.block-library-rich-text__tinymce h6 {
  523. font-size: 14px;
  524. }
  525. }
  526. .wp-block-freeform.block-library-rich-text__tinymce pre {
  527. color: #777;
  528. background: #eee;
  529. font-family: "Courier 10 Pitch", Courier, monospace;
  530. font-size: 15px;
  531. line-height: 1.6;
  532. margin-bottom: 1.6em;
  533. max-width: 100%;
  534. overflow: auto;
  535. padding: 1.6em;
  536. }
  537. .wp-block-freeform.block-library-rich-text__tinymce table {
  538. border: 0;
  539. border-collapse: collapse;
  540. border-top: 1px solid #ddd;
  541. color: #777;
  542. margin: 0 0 1.5em;
  543. width: 100%;
  544. }
  545. .wp-block-freeform.block-library-rich-text__tinymce .alternate {
  546. background: transparent;
  547. }
  548. .wp-block-freeform.block-library-rich-text__tinymce table td,
  549. .wp-block-freeform.block-library-rich-text__tinymce table th {
  550. border: 0;
  551. border-bottom: 1px solid #ddd;
  552. font-size: 90%;
  553. padding: 0.5em;
  554. text-align: left;
  555. }
  556. .rtl .wp-block-freeform.block-library-rich-text__tinymce table td,
  557. .rtl .wp-block-freeform.block-library-rich-text__tinymce table th {
  558. text-align: right;
  559. }
  560. /* Preformatted */
  561. .editor-block-list__block .wp-block-preformatted pre {
  562. color: #777;
  563. background: #eee;
  564. font-family: "Courier 10 Pitch", Courier, monospace;
  565. font-size: 15px;
  566. line-height: 1.6;
  567. margin-bottom: 1.6em;
  568. max-width: 100%;
  569. overflow: auto;
  570. padding: 1.6em;
  571. }
  572. /* Pullquote */
  573. .editor-block-list__block .wp-block-pullquote blockquote {
  574. margin: 0;
  575. padding: 0;
  576. border: 0;
  577. }
  578. .edit-post-visual-editor .editor-block-list__block .wp-block-pullquote blockquote p {
  579. font-size: 28px;
  580. }
  581. .edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignleft blockquote p,
  582. .edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignright blockquote p {
  583. font-size: 22px;
  584. }
  585. .wp-block-pullquote blockquote:before {
  586. display: none;
  587. }
  588. .wp-block-pullquote {
  589. border-left: 0;
  590. border-bottom: 2px solid #bdcbcc;
  591. border-top: 5px solid #bdcbcc;
  592. font-size: 28px;
  593. font-style: italic;
  594. line-height: 1.6;
  595. margin: 0 0 1.5em;
  596. padding: 1.5em;
  597. color: #aaa;
  598. }
  599. .wp-block-pullquote blockquote {
  600. font-size: 28px;
  601. }
  602. .wp-block-pullquote.alignfull blockquote {
  603. padding-left: 1.5em;
  604. padding-right: 1.5em;
  605. }
  606. .wp-block-pullquote.alignleft,
  607. .wp-block-pullquote.alignright {
  608. font-size: 22px;
  609. }
  610. .wp-block-pullquote.alignleft cite,
  611. .wp-block-pullquote.alignright cite {
  612. font-size: 18px;
  613. }
  614. .wp-block-pullquote.alignleft blockquote,
  615. .wp-block-pullquote.alignright blockquote {
  616. border: 0;
  617. padding: 0;
  618. margin: 0;
  619. }
  620. .wp-block-pullquote.alignleft {
  621. font-size: 18px;
  622. margin-right: 1.5em;
  623. }
  624. .wp-block-pullquote.alignright {
  625. font-size: 18px;
  626. margin-left: 1.5em;
  627. }
  628. .wp-block-pullquote blockquote > .editor-rich-text p {
  629. margin-bottom: .75em;
  630. }
  631. .wp-block-pullquote__citation,
  632. .wp-block-pullquote cite,
  633. .wp-block-pullquote footer {
  634. color: inherit;
  635. font-size: 18px;
  636. font-style: italic;
  637. font-weight: normal;
  638. text-transform: none;
  639. }
  640. /* Table */
  641. .editor-block-list__block .wp-block-table__cell-content {
  642. padding: 0;
  643. }
  644. .editor-block-list__block table.wp-block-table {
  645. border-top: 1px solid #ddd;
  646. margin: 0 0 1.5em;
  647. width: 100%;
  648. }
  649. .editor-block-list__block table.wp-block-table td {
  650. border: 0;
  651. border-bottom: 1px solid #ddd;
  652. font-size: 90%;
  653. padding: 0.5em;
  654. text-align: left;
  655. }
  656. .editor-block-list__block table.wp-block-table th {
  657. border: 0;
  658. border-bottom: 1px solid #ddd;
  659. font-size: 90%;
  660. padding: 0.5em;
  661. text-align: left;
  662. }
  663. .rtl .editor-block-list__block table.wp-block-table td,
  664. .rtl .editor-block-list__block table.wp-block-table th {
  665. text-align: right;
  666. }
  667. /*--------------------------------------------------------------
  668. 5.0 Blocks - Layout Elements
  669. --------------------------------------------------------------*/
  670. /* Buttons */
  671. .wp-block-button .wp-block-button__link {
  672. font-family: "Kalam", "Chalkboard", "Comic Sans", script;
  673. font-size: 14px;
  674. letter-spacing: 0.05em;
  675. outline: none;
  676. padding: 12px 20px 10px;
  677. text-shadow: none;
  678. text-transform: uppercase;
  679. }
  680. .wp-block-button__link {
  681. background-color: rgba(119, 119, 119, 0.8);
  682. color: #fff;
  683. }
  684. .is-style-outline .wp-block-button__link:not(.has-text-color) {
  685. color: rgba(119, 119, 119, 0.8);
  686. }
  687. .wp-block-button.alignleft {
  688. margin-left: 0;
  689. }
  690. .wp-block-button.alignright {
  691. margin-right: 0;
  692. }
  693. .wp-block-button.aligncenter {
  694. margin: 1.5em auto;
  695. }
  696. /* Separator */
  697. .wp-block-separator {
  698. background-color: #ccc;
  699. border: 0;
  700. height: 1px;
  701. margin-bottom: 1.5em;
  702. }
  703. .wp-block-separator.is-style-wide {
  704. max-width: 100%;
  705. }
  706. /*--------------------------------------------------------------
  707. 6.0 Blocks - Widgets
  708. --------------------------------------------------------------*/
  709. /* General Widget styles */
  710. .edit-post-visual-editor [data-align="center"] .wp-block-categories__list,
  711. .edit-post-visual-editor [data-align="center"] .wp-block-archives,
  712. .edit-post-visual-editor [data-align="center"] .wp-block-lastest-posts {
  713. list-style-position: inside;
  714. text-align: center;
  715. }
  716. /* Categories */
  717. .editor-block-list__block[data-align=right] .wp-block-categories__list,
  718. .editor-block-list__block[data-align=left] .wp-block-categories__list {
  719. padding: 0;
  720. }
  721. /* Latest Comments */
  722. .wp-block-latest-comments {
  723. margin-left: 0;
  724. margin-right: 0;
  725. }
  726. .wp-block-latest-comments__comment-meta a {
  727. font-weight: 700;
  728. text-decoration: none;
  729. }
  730. .wp-block-latest-comments .wp-block-latest-comments__comment {
  731. margin-bottom: 0;
  732. padding: 0.75em 0;
  733. }
  734. .wp-block-latest-comments .avatar,
  735. .wp-block-latest-comments__comment-avatar {
  736. margin: 0;
  737. }
  738. .wp-block-latest-comments__comment,
  739. .wp-block-latest-comments__comment-date,
  740. .wp-block-latest-comments__comment-excerpt p {
  741. font-size: inherit;
  742. }
  743. .wp-block-latest-comments__comment-date {
  744. color: #999;
  745. font-family: "Kalam", "Chalkboard", "Comic Sans", script;
  746. font-size: 16px;
  747. font-size: 1rem;
  748. }
  749. .rtl ol.wp-block-latest-comments {
  750. margin-right: 0;
  751. }
  752. /* Latest Posts */
  753. .edit-post-visual-editor .wp-block-latest-posts.is-grid {
  754. list-style: none;
  755. margin-left: 0;
  756. margin-right: 0;
  757. }
  758. .edit-post-visual-editor .wp-block-latest-posts.is-grid li {
  759. margin-bottom: .75em;
  760. }