editor-style.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. /*
  2. Theme Name: Toujours
  3. Editor styles
  4. */
  5. body#tinymce.wp-editor {
  6. width: 760px;
  7. }
  8. body#tinymce.wp-editor,
  9. #tinymce.wp-editor button,
  10. #tinymce.wp-editor input,
  11. #tinymce.wp-editor select,
  12. #tinymce.wp-editor textarea {
  13. color: #404040;
  14. font-family: "Merriweather", Georgia, "Times New Roman", serif;
  15. font-size: 17px;
  16. line-height: 1.8;
  17. }
  18. #tinymce.wp-editor h1,
  19. #tinymce.wp-editor h2,
  20. #tinymce.wp-editor h3,
  21. #tinymce.wp-editor h4,
  22. #tinymce.wp-editor h5,
  23. #tinymce.wp-editor h6 {
  24. clear: both;
  25. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  26. font-weight: 300;
  27. line-height: 1.2;
  28. margin: 0;
  29. padding: 0 0 15px;
  30. }
  31. #tinymce.wp-editor h1 {
  32. font-size: 40px;
  33. }
  34. #tinymce.wp-editor h2 {
  35. font-size: 35px;
  36. }
  37. #tinymce.wp-editor h3 {
  38. font-size: 30px;
  39. }
  40. #tinymce.wp-editor h4 {
  41. font-size: 20px;
  42. font-weight: 500;
  43. letter-spacing: 0.08em;
  44. text-transform: uppercase;
  45. }
  46. #tinymce.wp-editor h5 {
  47. font-size: 18px;
  48. font-weight: 500;
  49. letter-spacing: 0.08em;
  50. text-transform: uppercase;
  51. }
  52. #tinymce.wp-editor h6 {
  53. font-size: 16px;
  54. font-weight: 500;
  55. letter-spacing: 0.08em;
  56. text-transform: uppercase;
  57. }
  58. #tinymce.wp-editor p {
  59. margin: 0 0 1.5em;
  60. padding: 0;
  61. }
  62. #tinymce.wp-editor dfn,
  63. #tinymce.wp-editor cite,
  64. #tinymce.wp-editor em,
  65. #tinymce.wp-editor i {
  66. font-style: italic;
  67. }
  68. #tinymce.wp-editor blockquote {
  69. color: #888;
  70. border-left: 4px solid #f0f0f0;
  71. margin: 0 0 1.5em;
  72. padding: 0 0 0 30px;
  73. }
  74. #tinymce.wp-editor blockquote p:last-child {
  75. margin-bottom: 0;
  76. }
  77. #tinymce.wp-editor blockquote cite {
  78. display: block;
  79. font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
  80. font-size: 18px;
  81. font-style: normal;
  82. font-weight: 300;
  83. margin-top: 5px;
  84. }
  85. #tinymce.wp-editor address {
  86. margin: 0 0 1.5em;
  87. }
  88. #tinymce.wp-editor pre {
  89. background: #333;
  90. color: #ddd;
  91. font-family: "Courier 10 Pitch", Courier, monospace;
  92. line-height: 1.6;
  93. margin-bottom: 1.6em;
  94. max-width: 100%;
  95. overflow: auto;
  96. padding: 1.6em;
  97. position: relative;
  98. }
  99. #tinymce.wp-editor pre:before {
  100. border: 1px solid rgba(255, 255, 255, 0.4);
  101. bottom: 3px;
  102. content: "";
  103. display: block;
  104. left: 3px;
  105. position: absolute;
  106. right: 3px;
  107. top: 3px;
  108. }
  109. #tinymce.wp-editor code,
  110. #tinymce.wp-editor kbd,
  111. #tinymce.wp-editor tt,
  112. #tinymce.wp-editor var {
  113. font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  114. font-size: 15px;
  115. font-size: 0.9375rem;
  116. }
  117. #tinymce.wp-editor abbr,
  118. #tinymce.wp-editor acronym {
  119. border-bottom: 1px dotted #666;
  120. }
  121. #tinymce.wp-editor mark,
  122. #tinymce.wp-editor ins {
  123. background: #fff9c0;
  124. text-decoration: none;
  125. }
  126. #tinymce.wp-editor big {
  127. font-size: 125%;
  128. }
  129. #tinymce.wp-editor blockquote:before,
  130. #tinymce.wp-editor blockquote:after,
  131. #tinymce.wp-editor q:before,
  132. #tinymce.wp-editor q:after {
  133. content: "";
  134. }
  135. #tinymce.wp-editor blockquote,
  136. #tinymce.wp-editor q {
  137. quotes: "" "";
  138. }
  139. #tinymce.wp-editor blockquote {
  140. font-size: 120%;
  141. font-style: italic;
  142. position: relative;
  143. }
  144. #tinymce.wp-editor blockquote blockquote {
  145. font-size: 100%;
  146. }
  147. #tinymce.wp-editor hr {
  148. background-color: #ccc;
  149. border: 0;
  150. height: 1px;
  151. margin-bottom: 1.5em;
  152. }
  153. #tinymce.wp-editor ul,
  154. #tinymce.wp-editor ol {
  155. margin: 0 0 30px;
  156. }
  157. #tinymce.wp-editor ul {
  158. list-style: disc;
  159. }
  160. #tinymce.wp-editor ol {
  161. list-style: decimal;
  162. }
  163. #tinymce.wp-editor li > ul,
  164. #tinymce.wp-editor li > ol {
  165. margin-bottom: 0;
  166. margin-left: 1.5em;
  167. }
  168. #tinymce.wp-editor dl {
  169. margin-bottom: 30px;
  170. margin-top: 0;
  171. }
  172. #tinymce.wp-editor dt {
  173. font-weight: bold;
  174. }
  175. #tinymce.wp-editor dd {
  176. margin: 0 1.5em 1.5em;
  177. }
  178. #tinymce.wp-editor table {
  179. border-bottom: 4px double #e1e1e1;
  180. border-top: 4px double #e1e1e1;
  181. margin: 0 0 30px;
  182. max-width: 100%;
  183. overflow: auto;
  184. width: 100%;
  185. }
  186. #tinymce.wp-editor tr {
  187. border-bottom: 1px solid #e1e1e1;
  188. }
  189. #tinymce.wp-editor th,
  190. #tinymce.wp-editor td {
  191. font-size: 90%;
  192. padding: 10px;
  193. text-align: left;
  194. }
  195. #tinymce.wp-editor thead {
  196. font-weight: 700;
  197. }
  198. #tinymce.wp-editor a {
  199. color: #2590ec;
  200. }
  201. #tinymce.wp-editor a:hover,
  202. #tinymce.wp-editor a:active {
  203. outline: 0;
  204. }
  205. #tinymce.wp-editor .alignleft {
  206. display: inline;
  207. float: left;
  208. margin: 0 1.5em 1em 0;
  209. }
  210. #tinymce.wp-editor .alignright {
  211. display: inline;
  212. float: right;
  213. margin: 0 0 1em 1.5em;
  214. }
  215. #tinymce.wp-editor .aligncenter {
  216. clear: both;
  217. display: block;
  218. margin: 0 auto 1em;
  219. }
  220. #tinymce.wp-editor .wp-caption {
  221. color: #999;
  222. font-size: 14px;
  223. font-style: italic;
  224. margin-bottom: 1.5em;
  225. max-width: 100%;
  226. }
  227. #tinymce.wp-editor .wp-caption img[class*="wp-image-"] {
  228. display: block;
  229. margin-left: auto;
  230. margin-right: auto;
  231. }
  232. #tinymce.wp-editor .wp-caption .wp-caption-text {
  233. margin: 0.8075em 0;
  234. }
  235. #tinymce.wp-editor .wp-caption-text {
  236. text-align: center;
  237. }