editor-style.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. html .mceContentBody {
  2. max-width: 656px;
  3. }
  4. body.mceContentBody {
  5. font-family: "Roboto Slab", Georgia, Times, serif;
  6. font-size: 15px;
  7. font-weight: 300;
  8. line-height: 27px;
  9. color: #666;
  10. }
  11. article,
  12. aside,
  13. details,
  14. figcaption,
  15. figure,
  16. footer,
  17. header,
  18. main,
  19. nav,
  20. section {
  21. display: block;
  22. }
  23. ol,
  24. ul {
  25. list-style: none;
  26. }
  27. table {
  28. border-spacing: 0;
  29. /* tables still need 'cellspacing="0"' in the markup */
  30. border-collapse: separate;
  31. }
  32. caption,
  33. th,
  34. td,
  35. th {
  36. font-weight: normal;
  37. text-align: left;
  38. }
  39. blockquote:before,
  40. blockquote:after,
  41. q:before,
  42. q:after {
  43. content: '';
  44. }
  45. blockquote,
  46. q {
  47. quotes: '' '';
  48. }
  49. a:focus {
  50. outline: thin dotted;
  51. }
  52. a:hover,
  53. a:active {
  54. outline: 0;
  55. }
  56. a img {
  57. border: 0;
  58. }
  59. /* =Rebuild
  60. ----------------------------------------------- */
  61. /* Text elements */
  62. p {
  63. margin-bottom: 24px;
  64. }
  65. ul,
  66. ol {
  67. margin: 0 0 24px 36px;
  68. }
  69. ul {
  70. list-style: disc;
  71. }
  72. ol {
  73. list-style: decimal;
  74. }
  75. dt {
  76. font-weight: 600;
  77. }
  78. dd {
  79. margin: 0 24px 24px;
  80. }
  81. b,
  82. strong {
  83. font-weight: 600;
  84. }
  85. dfn,
  86. cite,
  87. em,
  88. i {
  89. font-style: italic;
  90. }
  91. blockquote {
  92. margin: 0 24px;
  93. }
  94. address {
  95. margin: 0 0 24px;
  96. }
  97. pre {
  98. font-family: 'Courier 10 Pitch', Courier, monospace;
  99. font-size: .9375em;
  100. line-height: 1.6em;
  101. overflow: auto;
  102. max-width: 100%;
  103. margin-top: -2px;
  104. margin-bottom: 24px;
  105. padding: 24px;
  106. background: rgba(119, 119, 119, .5);
  107. }
  108. code,
  109. kbd,
  110. tt,
  111. var {
  112. font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
  113. font-size: .875em;
  114. line-height: 1.71429em;
  115. }
  116. abbr,
  117. acronym {
  118. cursor: help;
  119. border-bottom: 1px dotted #666;
  120. }
  121. mark,
  122. ins {
  123. text-decoration: none;
  124. background: #fff9c0;
  125. }
  126. sup,
  127. sub {
  128. font-size: 75%;
  129. line-height: 0;
  130. position: relative;
  131. height: 0;
  132. vertical-align: baseline;
  133. }
  134. sup {
  135. bottom: 1ex;
  136. }
  137. sub {
  138. top: .5ex;
  139. }
  140. small {
  141. font-size: 75%;
  142. }
  143. big {
  144. font-size: 125%;
  145. }
  146. figure {
  147. margin: 0;
  148. }
  149. table {
  150. width: 100%;
  151. margin: 0 0 24px;
  152. }
  153. th {
  154. font-weight: bold;
  155. }
  156. /* =Global */
  157. /* Alignment */
  158. .alignleft {
  159. display: inline;
  160. float: left;
  161. margin: 14px 27px 14px 0;
  162. }
  163. .alignright {
  164. display: inline;
  165. float: right;
  166. margin: 14px 0 14px 27px;
  167. }
  168. .aligncenter {
  169. display: block;
  170. clear: both;
  171. margin: 14px auto;
  172. }
  173. .alignnone {
  174. margin-top: 14px;
  175. margin-bottom: 14px;
  176. }
  177. /* Headings */
  178. h1,
  179. h2,
  180. h3,
  181. h4,
  182. h5,
  183. h6 {
  184. clear: both;
  185. color: #666;
  186. font-family: "Roboto Slab", Georgia, Times, serif;
  187. font-weight: 600;
  188. }
  189. h1 {
  190. font-size: 28px;
  191. margin: 27px 0;
  192. }
  193. h2 {
  194. font-size: 20px;
  195. margin: 27px 0;
  196. }
  197. h3 {
  198. font-size: 20px;
  199. margin: 27px 0;
  200. }
  201. h4 {
  202. font-size: 16px;
  203. margin: 27px 0;
  204. }
  205. h5 {
  206. font-size: 16px;
  207. margin: 27px 0;
  208. }
  209. h6 {
  210. font-size: 14px;
  211. margin: 27px 0;
  212. }
  213. hr {
  214. height: 0;
  215. margin-top: -1px;
  216. margin-bottom: 24px;
  217. padding-top: 24px;
  218. border: 1px solid #ccc;
  219. border-width: 0 0 1px 0;
  220. clear: both;
  221. }
  222. /* Text elements */
  223. p {
  224. margin-bottom: 27px;
  225. }
  226. ul {
  227. margin: 0 0 27px 27px;
  228. padding: 0;
  229. list-style: disc;
  230. }
  231. ul ul {
  232. list-style: square;
  233. }
  234. ul ul ul {
  235. list-style: circle;
  236. }
  237. ol {
  238. margin: 0 0 27px 27px;
  239. padding: 0;
  240. list-style: decimal;
  241. }
  242. ol ol {
  243. list-style: lower-alpha;
  244. }
  245. ol ol ol {
  246. list-style: lower-roman;
  247. }
  248. .block-editor-block-list__block li > ul,
  249. .block-editor-block-list__block li > ol {
  250. margin-bottom: 0;
  251. margin-left: 27px;
  252. }
  253. dt {
  254. font-weight: 600;
  255. }
  256. dd {
  257. margin: 14px 0 14px 27px;
  258. }
  259. b,
  260. strong {
  261. font-weight: bold;
  262. }
  263. dfn,
  264. cite,
  265. em,
  266. i {
  267. font-style: italic;
  268. }
  269. blockquote {
  270. margin: 0 0 27px;
  271. padding-left: 48px;
  272. position: relative;
  273. color: #999;
  274. }
  275. blockquote:before {
  276. font-family: Genericons;
  277. font-size: 32px;
  278. color: #eee;
  279. content: "\f106";
  280. display: block;
  281. position: absolute;
  282. top: 0;
  283. left: 0;
  284. }
  285. blockquote blockquote {
  286. font-size: inherit;
  287. }
  288. blockquote cite {
  289. display: block;
  290. font-size: inherit;
  291. font-weight: inherit;
  292. font-style: inherit;
  293. margin-top: 7px;
  294. width: 100%;
  295. text-align: right;
  296. }
  297. address {
  298. font-style: italic;
  299. margin-bottom: 27px;
  300. }
  301. pre {
  302. background: transparent;
  303. color: #666;
  304. font-family: "Roboto Slab", Georgia, Times, serif;
  305. font-size: 15px;
  306. font-weight: 300;
  307. line-height: 27px;
  308. overflow: auto;
  309. max-width: 100%;
  310. margin-bottom: 27px;
  311. padding: 0;
  312. }
  313. code,
  314. kbd,
  315. tt,
  316. var {
  317. font: 14px Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
  318. font-size: 1em;
  319. line-height: 2.09231em;
  320. }
  321. abbr,
  322. acronym {
  323. margin-bottom: 26px;
  324. cursor: help;
  325. border-bottom: 1px dotted #eee;
  326. }
  327. mark,
  328. ins {
  329. text-decoration: none;
  330. background: fff9c0;
  331. }
  332. sup,
  333. sub {
  334. font-size: .8125em;
  335. line-height: 2.09231em;
  336. line-height: 0;
  337. position: relative;
  338. height: 0;
  339. vertical-align: baseline;
  340. }
  341. sup {
  342. bottom: 1ex;
  343. }
  344. sub {
  345. top: .5ex;
  346. }
  347. small {
  348. font-size: .8125em;
  349. line-height: 2.09231em;
  350. }
  351. big {
  352. font-size: 1.2em;
  353. line-height: 1.36em;
  354. }
  355. figure {
  356. margin: 0;
  357. }
  358. table {
  359. width: 100%;
  360. margin-bottom: 27px;
  361. }
  362. td,
  363. th {
  364. padding: 7px 3px 6px;
  365. border-collapse: collapse;
  366. border-bottom: 1px solid #eee;
  367. }
  368. th {
  369. font-weight: bold;
  370. padding-bottom: 4px;
  371. letter-spacing: 1px;
  372. text-transform: uppercase;
  373. border-bottom-width: 3px;
  374. }
  375. img {
  376. max-width: 100%;
  377. height: auto;
  378. }
  379. /* Links */
  380. a {
  381. -webkit-transition: all .2s ease-in-out;
  382. -moz-transition: all .2s ease-in-out;
  383. -o-transition: all .2s ease-in-out;
  384. transition: all .2s ease-in-out;
  385. text-decoration: none;
  386. color: #1c7c7c;
  387. }
  388. a:visited {
  389. color: #1c7c7c;
  390. }
  391. a:hover,
  392. a:focus,
  393. a:active {
  394. -webkit-transition: all .2s ease-in-out;
  395. -moz-transition: all .2s ease-in-out;
  396. -o-transition: all .2s ease-in-out;
  397. transition: all .2s ease-in-out;
  398. color: #1c7c7c;
  399. }
  400. .wp-caption-dd {
  401. text-align: left;
  402. font-size: .8125em;
  403. line-height: 1.5675em;
  404. margin: 14px 0;
  405. padding: 0 1%;
  406. }
  407. @media screen and (min-width: 50em) {
  408. h1 {
  409. font-size: 32px;
  410. }
  411. h2 {
  412. font-size: 28px;
  413. }
  414. h3 {
  415. font-size: 24px;
  416. }
  417. h4 {
  418. font-size: 20px;
  419. }
  420. body.mceContentBody,
  421. pre {
  422. font-size: 18px;
  423. line-height: 1.7em;
  424. }
  425. blockquote {
  426. font-size: 18pxem;
  427. line-height: 1.4em;
  428. padding-left: 64px;
  429. }
  430. blockquote cite {
  431. font-size: .8125em;
  432. }
  433. blockquote:before {
  434. font-size: 48px;
  435. }
  436. blockquote.alignleft,
  437. blockquote.alignright {
  438. max-width: 280px;
  439. padding-left: 48px;
  440. }
  441. blockquote.alignleft:before,
  442. blockquote.alignright:before {
  443. font-size: 32px;
  444. }
  445. }