editor-style.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  1. /*
  2. Theme Name: Twenty Fifteen
  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: #333;
  22. font-family: "Noto Serif", serif;
  23. font-weight: 400;
  24. font-size: 17px;
  25. line-height: 1.6471;
  26. margin: 20px 40px;
  27. max-width: 660px;
  28. vertical-align: baseline;
  29. }
  30. /**
  31. * 2.0 Typography
  32. */
  33. h1,
  34. h2,
  35. h3,
  36. h4,
  37. h5,
  38. h6 {
  39. clear: both;
  40. font-weight: 700;
  41. margin: 56px 0 28px;
  42. }
  43. h1 {
  44. font-size: 35px;
  45. line-height: 1.2308;
  46. }
  47. h2 {
  48. font-size: 29px;
  49. line-height: 1.2069;
  50. }
  51. h3 {
  52. font-size: 24px;
  53. line-height: 1.1667;
  54. }
  55. h4 {
  56. font-size: 20px;
  57. line-height: 1.4;
  58. }
  59. h5,
  60. h6 {
  61. font-size: 17px;
  62. letter-spacing: 0.1em;
  63. line-height: 1.2353;
  64. text-transform: uppercase;
  65. }
  66. h1:first-child,
  67. h2:first-child,
  68. h3:first-child,
  69. h4:first-child,
  70. h5:first-child,
  71. h6:first-child {
  72. margin-top: 0;
  73. }
  74. p {
  75. margin: 0 0 28px;
  76. }
  77. b,
  78. strong {
  79. font-weight: 700;
  80. }
  81. dfn,
  82. cite,
  83. em,
  84. i {
  85. font-style: italic;
  86. }
  87. blockquote {
  88. border-left: 4px solid #707070;
  89. color: #707070;
  90. font-size: 20px;
  91. font-style: italic;
  92. line-height: 1.8182;
  93. margin: 0 0 35px -21px;
  94. padding-left: 17px;
  95. }
  96. blockquote > blockquote {
  97. margin-left: 0;
  98. }
  99. blockquote p {
  100. margin-bottom: 35px;
  101. }
  102. blockquote > p:last-child {
  103. margin-bottom: 0;
  104. }
  105. blockquote cite,
  106. blockquote small {
  107. color: #333;
  108. font-family: "Noto Sans", sans-serif;
  109. font-size: 17px;
  110. line-height: 1.6471;
  111. }
  112. blockquote em,
  113. blockquote i,
  114. blockquote cite {
  115. font-style: normal;
  116. }
  117. blockquote strong,
  118. blockquote b {
  119. font-weight: 400;
  120. }
  121. address {
  122. font-style: italic;
  123. margin: 0 0 28px;
  124. }
  125. code,
  126. kbd,
  127. tt,
  128. var,
  129. samp,
  130. pre {
  131. font-family: Inconsolata, monospace;
  132. }
  133. pre {
  134. background-color: #fcfcfc;
  135. border: 1px solid #eaeaea;
  136. font-size: 17px;
  137. line-height: 1.2353;
  138. margin-bottom: 28px;
  139. max-width: 100%;
  140. overflow: auto;
  141. padding: 14px;
  142. white-space: pre;
  143. white-space: pre-wrap;
  144. word-wrap: break-word;
  145. }
  146. abbr[title] {
  147. border-bottom: 1px dotted #eaeaea;
  148. cursor: help;
  149. }
  150. mark,
  151. ins {
  152. background-color: #fff9c0;
  153. text-decoration: none;
  154. }
  155. sup,
  156. sub {
  157. font-size: 75%;
  158. height: 0;
  159. line-height: 0;
  160. position: relative;
  161. vertical-align: baseline;
  162. }
  163. sup {
  164. bottom: 1ex;
  165. }
  166. sub {
  167. top: .5ex;
  168. }
  169. small {
  170. font-size: 75%;
  171. }
  172. big {
  173. font-size: 125%;
  174. }
  175. /**
  176. * 3.0 Elements
  177. */
  178. hr {
  179. background-color: #eaeaea;
  180. border: 0;
  181. height: 1px;
  182. margin-bottom: 28px;
  183. }
  184. ul,
  185. ol {
  186. margin: 0 0 28px 0;
  187. padding: 0;
  188. }
  189. ul {
  190. list-style: disc;
  191. }
  192. ol {
  193. list-style: decimal;
  194. }
  195. li > ul,
  196. li > ol {
  197. margin: 0 0 0 23px;
  198. }
  199. dl {
  200. margin: 0 0 28px;
  201. }
  202. dt {
  203. font-weight: bold;
  204. }
  205. dd {
  206. margin: 0 0 28px;
  207. }
  208. table,
  209. th,
  210. td,
  211. .mce-item-table,
  212. .mce-item-table th,
  213. .mce-item-table td {
  214. border: 1px solid #eaeaea;
  215. }
  216. table a {
  217. color: #333;
  218. }
  219. table,
  220. .mce-item-table {
  221. border-collapse: separate;
  222. border-spacing: 0;
  223. border-width: 1px 0 0 1px;
  224. margin: 0 0 28px;
  225. width: 100%;
  226. }
  227. table th,
  228. .mce-item-table th,
  229. table caption {
  230. border-width: 0 1px 1px 0;
  231. font-family: "Noto Serif", serif;
  232. font-size: 17px;
  233. font-weight: 700;
  234. padding: 7px;
  235. text-align: left;
  236. vertical-align: baseline;
  237. }
  238. table td,
  239. .mce-item-table td {
  240. border-width: 0 1px 1px 0;
  241. font-family: "Noto Serif", serif;
  242. font-size: 17px;
  243. padding: 7px;
  244. vertical-align: baseline;
  245. }
  246. img {
  247. border: 0;
  248. height: auto;
  249. max-width: 100%;
  250. vertical-align: middle;
  251. }
  252. figure {
  253. margin: 0;
  254. }
  255. del {
  256. opacity: 0.8;
  257. }
  258. a {
  259. border-bottom: 1px solid #333;
  260. color: #333;
  261. text-decoration: none;
  262. }
  263. /**
  264. * 4.0 Alignment
  265. */
  266. .alignleft {
  267. float: left;
  268. margin: 7px 28px 28px 0;
  269. }
  270. .alignright {
  271. float: right;
  272. margin: 7px 0 28px 28px;
  273. }
  274. .aligncenter {
  275. clear: both;
  276. display: block;
  277. margin: 7px auto;
  278. }
  279. /**
  280. * 5.0 Caption
  281. */
  282. .wp-caption {
  283. background: transparent;
  284. border: none;
  285. color: #707070;
  286. font-family: "Noto Sans", sans-serif;
  287. margin: 0 0 28px 0;
  288. max-width: 100%;
  289. padding: 0;
  290. text-align: inherit;
  291. }
  292. .wp-caption.alignleft {
  293. margin: 7px 28px 21px 0;
  294. }
  295. .wp-caption.alignright {
  296. margin: 7px 0 21px 28px;
  297. }
  298. .wp-caption.aligncenter {
  299. margin: 7px auto;
  300. }
  301. .wp-caption .wp-caption-text,
  302. .wp-caption-dd {
  303. font-size: 14px;
  304. line-height: 1.5;
  305. padding: 7px 0;
  306. }
  307. /**
  308. * 6.0 Galleries
  309. */
  310. .gallery-item {
  311. display: inline-block;
  312. padding: 1.79104477%;
  313. text-align: center;
  314. vertical-align: top;
  315. width: 100%;
  316. }
  317. .gallery-columns-2 .gallery-item {
  318. max-width: 50%;
  319. }
  320. .gallery-columns-3 .gallery-item {
  321. max-width: 33.33%;
  322. }
  323. .gallery-columns-4 .gallery-item {
  324. max-width: 25%;
  325. }
  326. .gallery-columns-5 .gallery-item {
  327. max-width: 20%;
  328. }
  329. .gallery-columns-6 .gallery-item {
  330. max-width: 16.66%;
  331. }
  332. .gallery-columns-7 .gallery-item {
  333. max-width: 14.28%;
  334. }
  335. .gallery-columns-8 .gallery-item {
  336. max-width: 12.5%;
  337. }
  338. .gallery-columns-9 .gallery-item {
  339. max-width: 11.11%;
  340. }
  341. .gallery .gallery-caption {
  342. color: #707070;
  343. display: block;
  344. font-family: "Noto Sans", sans-serif;
  345. font-size: 14px;
  346. line-height: 1.5;
  347. padding: 7px 0;
  348. }
  349. .gallery-columns-6 .gallery-caption,
  350. .gallery-columns-7 .gallery-caption,
  351. .gallery-columns-8 .gallery-caption,
  352. .gallery-columns-9 .gallery-caption {
  353. display: none;
  354. }
  355. /**
  356. * 7.0 Audio / Video
  357. */
  358. .mce-content-body .wpview-wrap {
  359. margin-bottom: 32px;
  360. }
  361. .mce-content-body .wp-audio-playlist {
  362. margin: 0;
  363. }
  364. /**
  365. * 8.0 RTL
  366. */
  367. body.rtl {
  368. font-family: Arial, Tahoma, sans-serif;
  369. }
  370. .rtl blockquote {
  371. border-left: none;
  372. border-right: 4px solid #707070;
  373. margin: 0 -21px 35px 0;
  374. padding-left: 0;
  375. padding-right: 17px;
  376. }
  377. .rtl blockquote > blockquote {
  378. margin-left: auto;
  379. margin-right: 0;
  380. }
  381. .rtl li > ul,
  382. .rtl li > ol {
  383. margin: 0 23px 0 0;
  384. }
  385. .rtl table th,
  386. .rtl table caption {
  387. text-align: right;
  388. }