editor-blocks.css 20 KB

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