editor-style.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. /*
  2. Editor Styles
  3. --------------------------------------------------------------*/
  4. /*--------------------------------------------------------------
  5. # Normalize
  6. --------------------------------------------------------------*/
  7. html {
  8. font-family: sans-serif;
  9. -webkit-text-size-adjust: 100%;
  10. -ms-text-size-adjust: 100%;
  11. }
  12. article,
  13. aside,
  14. details,
  15. figcaption,
  16. figure,
  17. footer,
  18. header,
  19. main,
  20. menu,
  21. nav,
  22. section,
  23. summary {
  24. display: block;
  25. }
  26. audio,
  27. canvas,
  28. progress,
  29. video {
  30. display: inline-block;
  31. vertical-align: baseline;
  32. }
  33. audio:not([controls]) {
  34. display: none;
  35. height: 0;
  36. }
  37. [hidden],
  38. template {
  39. display: none;
  40. }
  41. a {
  42. background-color: transparent;
  43. }
  44. a:active,
  45. a:hover {
  46. outline: 0;
  47. }
  48. abbr[title] {
  49. border-bottom: 1px dotted;
  50. }
  51. b,
  52. strong {
  53. font-weight: bold;
  54. }
  55. dfn {
  56. font-style: italic;
  57. }
  58. h1 {
  59. font-size: 2em;
  60. margin: 0.67em 0;
  61. }
  62. mark {
  63. background: #ff0;
  64. color: #000;
  65. }
  66. small {
  67. font-size: 80%;
  68. }
  69. sub,
  70. sup {
  71. font-size: 75%;
  72. line-height: 0;
  73. position: relative;
  74. vertical-align: baseline;
  75. }
  76. sup {
  77. top: -0.5em;
  78. }
  79. sub {
  80. bottom: -0.25em;
  81. }
  82. img {
  83. border: 0;
  84. }
  85. svg:not(:root) {
  86. overflow: hidden;
  87. }
  88. figure {
  89. margin: 1em 40px;
  90. }
  91. hr {
  92. box-sizing: content-box;
  93. height: 0;
  94. }
  95. pre {
  96. overflow: auto;
  97. }
  98. code,
  99. kbd,
  100. pre,
  101. samp {
  102. font-family: monospace, monospace;
  103. }
  104. button,
  105. input,
  106. optgroup,
  107. select,
  108. textarea {
  109. margin: 0;
  110. }
  111. button {
  112. overflow: visible;
  113. }
  114. button,
  115. select {
  116. text-transform: none;
  117. }
  118. button,
  119. html input[type="button"],
  120. input[type="reset"],
  121. input[type="submit"] {
  122. cursor: pointer;
  123. -webkit-appearance: button;
  124. }
  125. button[disabled],
  126. html input[disabled] {
  127. cursor: default;
  128. }
  129. button::-moz-focus-inner,
  130. input::-moz-focus-inner {
  131. border: 0;
  132. padding: 0;
  133. }
  134. input {
  135. line-height: normal;
  136. }
  137. input[type="checkbox"],
  138. input[type="radio"] {
  139. box-sizing: border-box;
  140. padding: 0;
  141. }
  142. input[type="number"]::-webkit-inner-spin-button,
  143. input[type="number"]::-webkit-outer-spin-button {
  144. height: auto;
  145. }
  146. input[type="search"] {
  147. /* box-sizing: content-box; */
  148. -webkit-appearance: textfield;
  149. }
  150. input[type="search"]::-webkit-search-cancel-button,
  151. input[type="search"]::-webkit-search-decoration {
  152. -webkit-appearance: none;
  153. }
  154. fieldset {
  155. border: 1px solid #c0c0c0;
  156. margin: 0 2px;
  157. padding: 0.35em 0.625em 0.75em;
  158. }
  159. legend {
  160. border: 0;
  161. padding: 0;
  162. }
  163. textarea {
  164. overflow: auto;
  165. }
  166. optgroup {
  167. font-weight: bold;
  168. }
  169. table {
  170. border-collapse: collapse;
  171. border-spacing: 0;
  172. }
  173. td,
  174. th {
  175. padding: 0;
  176. }
  177. /*--------------------------------------------------------------
  178. # Elements
  179. --------------------------------------------------------------*/
  180. * {
  181. box-sizing: border-box;
  182. }
  183. html {
  184. box-sizing: border-box;
  185. font-size: 62.5%;
  186. }
  187. body {
  188. color: #6a6c6e;
  189. font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  190. font-size: 1.8rem;
  191. line-height: 1.75;
  192. }
  193. .site {
  194. background-color: #fff;
  195. position: relative;
  196. }
  197. *,
  198. *:before,
  199. *:after {
  200. box-sizing: inherit; /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; */
  201. }
  202. /* Headers */
  203. h1,
  204. h2,
  205. h3,
  206. h4,
  207. h5,
  208. h6 {
  209. color: #1a1c1e;
  210. font-family: "Noto Serif", Georgia, serif;
  211. font-weight: 700;
  212. line-height: 1.38;
  213. }
  214. h1 + h2,
  215. h1 + h3,
  216. h2 + h3,
  217. h2 + h4,
  218. h3 + h4,
  219. h4 + h5,
  220. h5 + h6 {
  221. margin-top: -2%;
  222. }
  223. h1:first-child,
  224. h2:first-child,
  225. h3:first-child,
  226. h4:first-child,
  227. h5:first-child,
  228. h6:first-child {
  229. margin-top: 0;
  230. }
  231. h2,
  232. h3,
  233. h4,
  234. h5,
  235. h6 {
  236. clear: both;
  237. line-height: 1.19;
  238. }
  239. h1 {
  240. clear: both;
  241. font-size: 5rem;
  242. font-weight: 700;
  243. line-height: 1.19;
  244. }
  245. h2 {
  246. font-size: 2.6rem;
  247. }
  248. h3 {
  249. font-size: 2.2rem;
  250. }
  251. h4 {
  252. font-size: 2rem;
  253. }
  254. h5 {
  255. font-family: "Lato", "Helvetica Neue", Helvetica, sans-serif;
  256. font-size: 1.7rem;
  257. letter-spacing: 0.05em;
  258. text-transform: uppercase;
  259. }
  260. h6 {
  261. font-family: "Lato", "Helvetica Neue", Helvetica, sans-serif;
  262. font-size: 1.5rem;
  263. letter-spacing: 0.05em;
  264. text-transform: uppercase;
  265. }
  266. p {
  267. margin: 0;
  268. padding: 0 0 1.5em;
  269. }
  270. blockquote:before,
  271. blockquote:after,
  272. q:before,
  273. q:after {
  274. content: "";
  275. }
  276. blockquote,
  277. q {
  278. quotes: "" "";
  279. }
  280. blockquote {
  281. clear: both;
  282. font-family: "Noto Serif", Georgia, serif;
  283. font-size: 1.8rem;
  284. font-style: italic;
  285. position: relative;
  286. }
  287. blockquote p:first-child {
  288. margin: 0;
  289. }
  290. blockquote cite {
  291. display: block;
  292. font-family: "Lato", "Helvetica Neue", Helvetica, sans-serif;
  293. font-size: 1.6rem;
  294. }
  295. q:before {
  296. content: "\201C";
  297. }
  298. q:after {
  299. content: "\201D";
  300. }
  301. dfn,
  302. cite,
  303. em,
  304. i {
  305. font-style: italic;
  306. }
  307. pre,
  308. code,
  309. kbd,
  310. tt,
  311. var {
  312. font-family: "Lucida Console", Monaco, "Courier New", monospace;
  313. font-size: 90%;
  314. font-style: normal;
  315. font-weight: 400;
  316. text-decoration: none;
  317. text-transform: none;
  318. }
  319. code {
  320. display: inline-block;
  321. margin: 0 0.4em;
  322. position: relative;
  323. }
  324. pre {
  325. background: #eee;
  326. font-family: "Courier 10 Pitch", Courier, monospace;
  327. font-size: 1.5rem;
  328. line-height: 1.6;
  329. margin-bottom: 1.6em;
  330. max-width: 100%;
  331. overflow: auto;
  332. padding: 1.6em;
  333. position: relative;
  334. }
  335. pre:before {
  336. background-color: #e7ae01;
  337. color: #ffffff;
  338. content: "\f462";
  339. font-size: 18px; /* for IE9 & IE10, which don't support rem for pseudo-elements */
  340. font-size: 1.8rem;
  341. height: 100%;
  342. line-height: 1.62;
  343. padding: 0 .19em;
  344. position: absolute;
  345. right: 0;
  346. top: 0;
  347. z-index: 5;
  348. }
  349. hr {
  350. background-color: #eee;
  351. border: 0;
  352. height: 1px;
  353. margin-bottom: 1.5em;
  354. }
  355. img {
  356. height: auto; /* Make sure images are scaled correctly. */
  357. max-width: 100%; /* Adhere to container width. */
  358. }
  359. menu,
  360. ol,
  361. ul {
  362. margin: 0;
  363. padding: 0;
  364. }
  365. /**
  366. * Lists
  367. */
  368. ul,
  369. ol {
  370. margin: 0 0 1.5em 3em;
  371. }
  372. ul {
  373. list-style: disc;
  374. }
  375. ol {
  376. list-style: decimal;
  377. }
  378. ol ol {
  379. list-style: upper-alpha;
  380. }
  381. ol ol ol {
  382. list-style: upper-roman;
  383. }
  384. li > ul,
  385. li > ol {
  386. margin-bottom: 0;
  387. margin-left: 1.5em;
  388. }
  389. dt {
  390. font-weight: bold;
  391. }
  392. dd {
  393. margin-left: 1.62em;
  394. }
  395. /**
  396. * Tables
  397. */
  398. table {
  399. border: 1px solid #ddd;
  400. border-collapse: collapse;
  401. border-spacing: 0;
  402. line-height: 1.38;
  403. margin: 0 0 1.62em;
  404. width: 100%;
  405. }
  406. td, th {
  407. border-bottom: 1px solid #ddd;
  408. border-left: 1px solid #ddd;
  409. padding: 10px 20px;
  410. }
  411. th {
  412. font-size: 85%;
  413. letter-spacing: 0.05em;
  414. padding: ;
  415. text-transform: uppercase;
  416. }
  417. th,
  418. tfoot td {
  419. font-weight: 700;
  420. text-align: left;
  421. }
  422. th:first-child,
  423. td:first-child {
  424. border-left: 0;
  425. }
  426. tr {
  427. background-color: rgba(255,255,255,0);
  428. -moz-transition: background-color 0.2s;
  429. -webkit-transition: background-color 0.2s;
  430. transition: background-color 0.2s;
  431. }
  432. thead tr {
  433. background: #eee;
  434. }
  435. tr:hover {
  436. background-color: #eee;
  437. }
  438. figure {
  439. margin: 0;
  440. }
  441. address {
  442. margin: 0 0 1.5em;
  443. }
  444. abbr,
  445. acronym {
  446. border-bottom: 1px dotted #666;
  447. cursor: help;
  448. }
  449. big {
  450. font-size: 125%;
  451. }
  452. small {
  453. font-size: 0.81em;
  454. }
  455. mark,
  456. ins {
  457. background: #fff9c0;
  458. text-decoration: none;
  459. }
  460. mark code,
  461. ins code {
  462. background: transparent;
  463. color: inherit;
  464. display: inline;
  465. padding: 0 .38em;
  466. }
  467. /*--------------------------------------------------------------
  468. # Alignments
  469. --------------------------------------------------------------*/
  470. .alignleft {
  471. display: inline;
  472. float: left;
  473. margin-right: 1.5em;
  474. }
  475. .alignright {
  476. display: inline;
  477. float: right;
  478. margin-left: 1.5em;
  479. }
  480. .aligncenter {
  481. clear: both;
  482. display: block;
  483. margin-left: auto;
  484. margin-right: auto;
  485. }
  486. /*--------------------------------------------------------------
  487. # Media
  488. --------------------------------------------------------------*/
  489. /* Make sure embeds and iframes fit their containers. */
  490. embed,
  491. iframe,
  492. object {
  493. max-width: 100%;
  494. }
  495. /*--------------------------------------------------------------
  496. ## Captions
  497. --------------------------------------------------------------*/
  498. .wp-caption {
  499. margin-bottom: 1.5em;
  500. max-width: 100%;
  501. }
  502. .wp-caption img[class*="wp-image-"] {
  503. display: block;
  504. margin: 0 auto;
  505. }
  506. .wp-caption-text {
  507. text-align: center;
  508. }
  509. .wp-caption .wp-caption-text {
  510. font-size: 80%;
  511. line-height: 1.38;
  512. margin: 0.8075em 0;
  513. }
  514. /*--------------------------------------------------------------
  515. ## Galleries
  516. --------------------------------------------------------------*/
  517. .gallery {
  518. margin-bottom: 1.6em;
  519. }
  520. .gallery-item {
  521. display: inline-block;
  522. padding: 1.79104477%;
  523. text-align: center;
  524. vertical-align: top;
  525. width: 100%;
  526. }
  527. .gallery-columns-2 .gallery-item {
  528. max-width: 50%;
  529. }
  530. .gallery-columns-3 .gallery-item {
  531. max-width: 33.33%;
  532. }
  533. .gallery-columns-4 .gallery-item {
  534. max-width: 25%;
  535. }
  536. .gallery-columns-5 .gallery-item {
  537. max-width: 20%;
  538. }
  539. .gallery-columns-6 .gallery-item {
  540. max-width: 16.66%;
  541. }
  542. .gallery-columns-7 .gallery-item {
  543. max-width: 14.28%;
  544. }
  545. .gallery-columns-8 .gallery-item {
  546. max-width: 12.5%;
  547. }
  548. .gallery-columns-9 .gallery-item {
  549. max-width: 11.11%;
  550. }
  551. .gallery-icon img {
  552. margin: 0 auto;
  553. }
  554. .gallery-caption {
  555. color: #707070;
  556. display: block;
  557. font-size: 0.81em;
  558. font-style: italic;
  559. line-height: 1.38;
  560. padding: 0.5em 0;
  561. }
  562. .gallery-columns-6 .gallery-caption,
  563. .gallery-columns-7 .gallery-caption,
  564. .gallery-columns-8 .gallery-caption,
  565. .gallery-columns-9 .gallery-caption {
  566. display: none;
  567. }