editor-style.css 5.8 KB

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