editor-blocks.css 19 KB

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