editor-style.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. /*
  2. Theme Name: Twenty Sixteen
  3. Description: Used to style the TinyMCE editor.
  4. */
  5. /**
  6. * Table of Contents:
  7. *
  8. * 1.0 - Body
  9. * 2.0 - Typography
  10. * 3.0 - Elements
  11. * 4.0 - Alignment
  12. * 5.0 - Caption
  13. * 6.0 - Galleries
  14. * 7.0 - Audio / Video
  15. * 8.0 - RTL
  16. */
  17. /**
  18. * 1.0 - Body
  19. */
  20. body {
  21. color: #1a1a1a;
  22. font-family: Merriweather, Georgia, serif;
  23. font-size: 16px;
  24. font-weight: 400;
  25. line-height: 1.75;
  26. margin: 20px 40px;
  27. max-width: 600px;
  28. vertical-align: baseline;
  29. }
  30. body.post-type-page {
  31. max-width: 840px;
  32. }
  33. /**
  34. * 2.0 - Typography
  35. */
  36. h1,
  37. h2,
  38. h3,
  39. h4,
  40. h5,
  41. h6 {
  42. clear: both;
  43. font-weight: 900;
  44. margin: 56px 0 28px;
  45. }
  46. h1 {
  47. font-size: 33px;
  48. line-height: 1.2727272727;
  49. }
  50. h2 {
  51. font-size: 28px;
  52. line-height: 1.25;
  53. }
  54. h3 {
  55. font-size: 23px;
  56. line-height: 1.2173913043;
  57. }
  58. h4,
  59. h5,
  60. h6 {
  61. font-size: 19px;
  62. line-height: 1.1052631579;
  63. }
  64. h4 {
  65. letter-spacing: 0.13333em;
  66. text-transform: uppercase;
  67. }
  68. h6 {
  69. font-style: italic;
  70. }
  71. h1:first-child,
  72. h2:first-child,
  73. h3:first-child,
  74. h4:first-child,
  75. h5:first-child,
  76. h6:first-child {
  77. margin-top: 0;
  78. }
  79. p {
  80. margin: 0 0 28px;
  81. }
  82. b,
  83. strong {
  84. font-weight: 700;
  85. }
  86. dfn,
  87. cite,
  88. em,
  89. i {
  90. font-style: italic;
  91. }
  92. blockquote {
  93. border-left: 4px solid #1a1a1a;
  94. color: #686868;
  95. font-size: 19px;
  96. font-style: italic;
  97. line-height: 1.4736842105;
  98. margin-bottom: 28px;
  99. overflow: hidden;
  100. padding: 0 0 0 24px;
  101. }
  102. blockquote:not(.alignleft):not(.alignright) {
  103. margin-left: -28px;
  104. }
  105. blockquote blockquote:not(.alignleft):not(.alignright) {
  106. margin-left: 0;
  107. }
  108. blockquote:before,
  109. blockquote:after {
  110. content: "";
  111. display: table;
  112. }
  113. blockquote:after {
  114. clear: both;
  115. }
  116. blockquote > :last-child {
  117. margin-bottom: 0;
  118. }
  119. blockquote cite,
  120. blockquote small {
  121. color: #1a1a1a;
  122. font-size: 16px;
  123. line-height: 1.75;
  124. }
  125. blockquote em,
  126. blockquote i,
  127. blockquote cite {
  128. font-style: normal;
  129. }
  130. blockquote strong,
  131. blockquote b {
  132. font-weight: 400;
  133. }
  134. blockquote.alignleft,
  135. blockquote.alignright {
  136. border: 0 solid #1a1a1a;
  137. border-top-width: 4px;
  138. padding: 18px 0 0;
  139. width: -webkit-calc(50% - 14px);
  140. width: calc(50% - 14px);
  141. }
  142. address {
  143. font-style: italic;
  144. margin: 0 0 28px;
  145. }
  146. code,
  147. kbd,
  148. tt,
  149. var,
  150. samp,
  151. pre {
  152. font-family: Inconsolata, monospace;
  153. }
  154. pre {
  155. border: 1px solid #d1d1d1;
  156. font-size: 16px;
  157. line-height: 1.3125;
  158. margin: 0 0 28px;
  159. max-width: 100%;
  160. overflow: auto;
  161. padding: 14px;
  162. white-space: pre;
  163. white-space: pre-wrap;
  164. word-wrap: break-word;
  165. }
  166. code {
  167. background-color: #d1d1d1;
  168. padding: 2px 4px;
  169. }
  170. abbr[title] {
  171. border-bottom: 1px dotted #d1d1d1;
  172. cursor: help;
  173. }
  174. mark,
  175. ins {
  176. background: #007acc;
  177. color: #fff;
  178. padding: 2px 4px;
  179. text-decoration: none;
  180. }
  181. sup,
  182. sub {
  183. font-size: 75%;
  184. height: 0;
  185. line-height: 0;
  186. position: relative;
  187. vertical-align: baseline;
  188. }
  189. sub {
  190. top: -6px;
  191. }
  192. sup {
  193. bottom: -3px;
  194. }
  195. small {
  196. font-size: 80%;
  197. }
  198. big {
  199. font-size: 125%;
  200. }
  201. /**
  202. * 3.0 - Elements
  203. */
  204. hr {
  205. background-color: #d1d1d1;
  206. border: 0;
  207. height: 1px;
  208. margin-bottom: 28px;
  209. }
  210. ul,
  211. ol {
  212. margin: 0 0 28px 0;
  213. padding: 0;
  214. }
  215. ul {
  216. list-style: disc;
  217. }
  218. ol {
  219. list-style: decimal;
  220. }
  221. li > ul,
  222. li > ol {
  223. margin-bottom: 0;
  224. }
  225. li > ul,
  226. blockquote > ul {
  227. margin-left: 20px;
  228. }
  229. li > ol,
  230. blockquote > ol {
  231. margin-left: 24px;
  232. }
  233. dl {
  234. margin: 0 0 28px;
  235. }
  236. dt {
  237. font-weight: bold;
  238. }
  239. dd {
  240. margin: 0 0 28px;
  241. }
  242. table,
  243. th,
  244. td,
  245. .mce-item-table,
  246. .mce-item-table th,
  247. .mce-item-table td {
  248. border: 1px solid #d1d1d1;
  249. }
  250. table a {
  251. color: #007acc;
  252. }
  253. table,
  254. .mce-item-table {
  255. border-collapse: separate;
  256. border-spacing: 0;
  257. border-width: 1px 0 0 1px;
  258. margin: 0 0 28px;
  259. width: 100%;
  260. }
  261. table th,
  262. .mce-item-table th,
  263. table caption {
  264. border-width: 0 1px 1px 0;
  265. font-size: 16px;
  266. font-weight: 700;
  267. padding: 7px;
  268. text-align: left;
  269. vertical-align: baseline;
  270. }
  271. table td,
  272. .mce-item-table td {
  273. border-width: 0 1px 1px 0;
  274. font-size: 16px;
  275. padding: 7px;
  276. vertical-align: baseline;
  277. }
  278. img {
  279. border: 0;
  280. height: auto;
  281. max-width: 100%;
  282. vertical-align: middle;
  283. }
  284. a img {
  285. display: block;
  286. }
  287. figure {
  288. margin: 0;
  289. }
  290. del {
  291. opacity: 0.8;
  292. }
  293. a {
  294. box-shadow: 0 1px 0 0 currentColor;
  295. color: #007acc;
  296. text-decoration: none;
  297. }
  298. fieldset {
  299. border: 1px solid #d1d1d1;
  300. margin: 0 0 28px;
  301. padding: 14px;
  302. }
  303. /**
  304. * 4.0 - Alignment
  305. */
  306. .alignleft {
  307. float: left;
  308. margin: 6px 28px 28px 0;
  309. }
  310. .alignright {
  311. float: right;
  312. margin: 6px 0 28px 28px;
  313. }
  314. .aligncenter {
  315. clear: both;
  316. display: block;
  317. margin: 0 auto 28px;
  318. }
  319. /**
  320. * 5.0 - Caption
  321. */
  322. .wp-caption {
  323. background: transparent;
  324. border: none;
  325. margin-bottom: 28px;
  326. max-width: 100%;
  327. padding: 0;
  328. text-align: inherit;
  329. }
  330. .wp-caption-text,
  331. .wp-caption-dd {
  332. color: #686868;
  333. font-size: 13px;
  334. font-style: italic;
  335. line-height: 1.6153846154;
  336. padding-top: 7px;
  337. }
  338. /**
  339. * 6.0 - Galleries
  340. */
  341. .mce-content-body .wpview-wrap {
  342. margin-bottom: 28px;
  343. }
  344. .gallery {
  345. margin: 0 -1.1666667%;
  346. padding: 0;
  347. }
  348. .gallery .gallery-item {
  349. display: inline-block;
  350. max-width: 33.33%;
  351. padding: 0 1.1400652% 2.2801304%;
  352. text-align: center;
  353. vertical-align: top;
  354. width: 100%;
  355. }
  356. .gallery-columns-1 .gallery-item {
  357. max-width: 100%;
  358. }
  359. .gallery-columns-2 .gallery-item {
  360. max-width: 50%;
  361. }
  362. .gallery-columns-4 .gallery-item {
  363. max-width: 25%;
  364. }
  365. .gallery-columns-5 .gallery-item {
  366. max-width: 20%;
  367. }
  368. .gallery-columns-6 .gallery-item {
  369. max-width: 16.66%;
  370. }
  371. .gallery-columns-7 .gallery-item {
  372. max-width: 14.28%;
  373. }
  374. .gallery-columns-8 .gallery-item {
  375. max-width: 12.5%;
  376. }
  377. .gallery-columns-9 .gallery-item {
  378. max-width: 11.11%;
  379. }
  380. .gallery .gallery-caption {
  381. font-size: 13px;
  382. margin: 0;
  383. }
  384. .gallery-columns-6 .gallery-caption,
  385. .gallery-columns-7 .gallery-caption,
  386. .gallery-columns-8 .gallery-caption,
  387. .gallery-columns-9 .gallery-caption {
  388. display: none;
  389. }
  390. /**
  391. * 7.0 - Audio / Video
  392. */
  393. .wp-audio-shortcode a,
  394. .wp-playlist a {
  395. box-shadow: none;
  396. }
  397. .mce-content-body .wp-audio-playlist {
  398. margin: 0;
  399. padding-bottom: 0;
  400. }
  401. .mce-content-body .wp-playlist-tracks {
  402. margin-top: 0;
  403. }
  404. .mce-content-body .wp-playlist-item {
  405. padding: 10px 0;
  406. }
  407. .mce-content-body .wp-playlist-item-length {
  408. top: 10px;
  409. }
  410. /**
  411. * 8.0 - RTL
  412. */
  413. .rtl blockquote {
  414. border: 0 solid #1a1a1a;
  415. border-right-width: 4px;
  416. }
  417. .rtl blockquote.alignleft,
  418. .rtl blockquote.alignright {
  419. border: 0 solid #1a1a1a;
  420. border-top-width: 4px;
  421. }
  422. .rtl blockquote:not(.alignleft):not(.alignright) {
  423. margin-right: -28px;
  424. padding: 0 24px 0 0;
  425. }
  426. .rtl blockquote blockquote:not(.alignleft):not(.alignright) {
  427. margin-right: 0;
  428. margin-left: auto;
  429. }
  430. .rtl li > ul,
  431. .rtl blockquote > ul {
  432. margin-right: 20px;
  433. margin-left: auto;
  434. }
  435. .rtl li > ol,
  436. .rtl blockquote > ol {
  437. margin-right: 24px;
  438. margin-left: auto;
  439. }
  440. .rtl table th,
  441. .rtl .mce-item-table th,
  442. .rtl table caption {
  443. text-align: right;
  444. }