editor-style.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  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. blockquote > ul,
  200. blockquote > ol {
  201. margin-left: 28px;
  202. }
  203. dl {
  204. margin: 0 0 28px;
  205. }
  206. dt {
  207. font-weight: bold;
  208. }
  209. dd {
  210. margin: 0 0 28px;
  211. }
  212. table,
  213. th,
  214. td,
  215. .mce-item-table,
  216. .mce-item-table th,
  217. .mce-item-table td {
  218. border: 1px solid #eaeaea;
  219. }
  220. table a {
  221. color: #333;
  222. }
  223. table,
  224. .mce-item-table {
  225. border-collapse: separate;
  226. border-spacing: 0;
  227. border-width: 1px 0 0 1px;
  228. margin: 0 0 28px;
  229. width: 100%;
  230. }
  231. table th,
  232. .mce-item-table th,
  233. table caption {
  234. border-width: 0 1px 1px 0;
  235. font-family: "Noto Serif", serif;
  236. font-size: 17px;
  237. font-weight: 700;
  238. padding: 7px;
  239. text-align: left;
  240. vertical-align: baseline;
  241. }
  242. table td,
  243. .mce-item-table td {
  244. border-width: 0 1px 1px 0;
  245. font-family: "Noto Serif", serif;
  246. font-size: 17px;
  247. padding: 7px;
  248. vertical-align: baseline;
  249. }
  250. img {
  251. border: 0;
  252. height: auto;
  253. max-width: 100%;
  254. vertical-align: middle;
  255. }
  256. figure {
  257. margin: 0;
  258. }
  259. del {
  260. opacity: 0.8;
  261. }
  262. a {
  263. border-bottom: 1px solid #333;
  264. color: #333;
  265. text-decoration: none;
  266. }
  267. /**
  268. * 4.0 Alignment
  269. */
  270. .alignleft {
  271. float: left;
  272. margin: 7px 28px 28px 0;
  273. }
  274. .alignright {
  275. float: right;
  276. margin: 7px 0 28px 28px;
  277. }
  278. .aligncenter {
  279. clear: both;
  280. display: block;
  281. margin: 7px auto;
  282. }
  283. /**
  284. * 5.0 Caption
  285. */
  286. .wp-caption {
  287. background: transparent;
  288. border: none;
  289. color: #707070;
  290. font-family: "Noto Sans", sans-serif;
  291. margin: 0 0 28px 0;
  292. max-width: 100%;
  293. padding: 0;
  294. text-align: inherit;
  295. }
  296. .wp-caption.alignleft {
  297. margin: 7px 28px 21px 0;
  298. }
  299. .wp-caption.alignright {
  300. margin: 7px 0 21px 28px;
  301. }
  302. .wp-caption.aligncenter {
  303. margin: 7px auto;
  304. }
  305. .wp-caption .wp-caption-text,
  306. .wp-caption-dd {
  307. font-size: 14px;
  308. line-height: 1.5;
  309. padding: 7px 0;
  310. }
  311. /**
  312. * 6.0 Galleries
  313. */
  314. .gallery-item {
  315. display: inline-block;
  316. padding: 1.79104477%;
  317. text-align: center;
  318. vertical-align: top;
  319. width: 100%;
  320. }
  321. .gallery-columns-2 .gallery-item {
  322. max-width: 50%;
  323. }
  324. .gallery-columns-3 .gallery-item {
  325. max-width: 33.33%;
  326. }
  327. .gallery-columns-4 .gallery-item {
  328. max-width: 25%;
  329. }
  330. .gallery-columns-5 .gallery-item {
  331. max-width: 20%;
  332. }
  333. .gallery-columns-6 .gallery-item {
  334. max-width: 16.66%;
  335. }
  336. .gallery-columns-7 .gallery-item {
  337. max-width: 14.28%;
  338. }
  339. .gallery-columns-8 .gallery-item {
  340. max-width: 12.5%;
  341. }
  342. .gallery-columns-9 .gallery-item {
  343. max-width: 11.11%;
  344. }
  345. .gallery .gallery-caption {
  346. color: #707070;
  347. display: block;
  348. font-family: "Noto Sans", sans-serif;
  349. font-size: 14px;
  350. line-height: 1.5;
  351. padding: 7px 0;
  352. }
  353. .gallery-columns-6 .gallery-caption,
  354. .gallery-columns-7 .gallery-caption,
  355. .gallery-columns-8 .gallery-caption,
  356. .gallery-columns-9 .gallery-caption {
  357. display: none;
  358. }
  359. /**
  360. * 7.0 Audio / Video
  361. */
  362. .mce-content-body .wpview-wrap {
  363. margin-bottom: 32px;
  364. }
  365. .mce-content-body .wp-audio-playlist {
  366. margin: 0;
  367. }
  368. /**
  369. * 8.0 RTL
  370. */
  371. body.rtl {
  372. font-family: Arial, Tahoma, sans-serif;
  373. }
  374. .rtl blockquote {
  375. border-left: none;
  376. border-right: 4px solid #707070;
  377. margin: 0 -21px 35px 0;
  378. padding-left: 0;
  379. padding-right: 17px;
  380. }
  381. .rtl blockquote > blockquote {
  382. margin-left: auto;
  383. margin-right: 0;
  384. }
  385. .rtl li > ul,
  386. .rtl li > ol {
  387. margin: 0 23px 0 0;
  388. }
  389. .rtl table th,
  390. .rtl table caption {
  391. text-align: right;
  392. }