You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

466 lines
7.8 KiB

  1. /* Additional default styles for the editor */
  2. html {
  3. cursor: text;
  4. }
  5. html.ios {
  6. width: 100px;
  7. min-width: 100%;
  8. }
  9. body {
  10. font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
  11. font-size: 16px;
  12. line-height: 1.5;
  13. color: #333;
  14. margin: 9px 10px;
  15. max-width: 100%;
  16. -webkit-font-smoothing: antialiased !important;
  17. overflow-wrap: break-word;
  18. word-wrap: break-word; /* Old syntax */
  19. }
  20. body.rtl {
  21. font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
  22. }
  23. body.locale-he-il,
  24. body.locale-vi {
  25. font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
  26. }
  27. body.wp-autoresize {
  28. overflow: visible !important;
  29. /* The padding ensures margins of the children are contained in the body. */
  30. padding-top: 1px !important;
  31. padding-bottom: 1px !important;
  32. padding-left: 0 !important;
  33. padding-right: 0 !important;
  34. }
  35. /* When font-weight is different than the default browser style,
  36. Chrome and Safari replace <strong> and <b> with spans with inline styles on pasting?! */
  37. body.webkit strong,
  38. body.webkit b {
  39. font-weight: bold !important;
  40. }
  41. pre {
  42. font-family: Consolas, Monaco, monospace;
  43. }
  44. td,
  45. th {
  46. font-family: inherit;
  47. font-size: inherit;
  48. }
  49. /* For emoji replacement images */
  50. img.emoji {
  51. display: inline !important;
  52. border: none !important;
  53. height: 1em !important;
  54. width: 1em !important;
  55. margin: 0 .07em !important;
  56. vertical-align: -0.1em !important;
  57. background: none !important;
  58. padding: 0 !important;
  59. -webkit-box-shadow: none !important;
  60. box-shadow: none !important;
  61. }
  62. .mceIEcenter {
  63. text-align: center;
  64. }
  65. img {
  66. height: auto;
  67. max-width: 100%;
  68. }
  69. .wp-caption {
  70. margin: 0; /* browser reset */
  71. max-width: 100%;
  72. }
  73. /* iOS does not obey max-width if width is set. */
  74. .ios .wp-caption {
  75. width: auto !important;
  76. }
  77. .wp-caption img {
  78. display: block;
  79. }
  80. div.mceTemp {
  81. -ms-user-select: element;
  82. }
  83. dl.wp-caption,
  84. dl.wp-caption * {
  85. -webkit-user-drag: none;
  86. }
  87. .wp-caption-dd {
  88. font-size: 14px;
  89. padding-top: 0.5em;
  90. margin: 0; /* browser reset */
  91. }
  92. .aligncenter {
  93. display: block;
  94. margin-left: auto;
  95. margin-right: auto;
  96. }
  97. .alignleft {
  98. float: left;
  99. margin: 0.5em 1em 0.5em 0;
  100. }
  101. .alignright {
  102. float: right;
  103. margin: 0.5em 0 0.5em 1em;
  104. }
  105. /* Remove blue highlighting of selected images in WebKit */
  106. img[data-mce-selected]::selection {
  107. background-color: transparent;
  108. }
  109. /* Styles for the WordPress plugins */
  110. .mce-content-body img[data-mce-placeholder] {
  111. border-radius: 0;
  112. padding: 0;
  113. }
  114. .mce-content-body img[data-wp-more] {
  115. border: 0;
  116. -webkit-box-shadow: none;
  117. box-shadow: none;
  118. width: 96%;
  119. height: 16px;
  120. display: block;
  121. margin: 15px auto 0;
  122. outline: 0;
  123. cursor: default;
  124. }
  125. .mce-content-body img[data-mce-placeholder][data-mce-selected] {
  126. outline: 1px dotted #888;
  127. }
  128. .mce-content-body img[data-wp-more="more"] {
  129. background: transparent url( images/more.png ) repeat-y scroll center center;
  130. }
  131. .mce-content-body img[data-wp-more="nextpage"] {
  132. background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
  133. }
  134. /* Gallery, audio, video placeholders */
  135. .mce-content-body img.wp-media {
  136. border: 1px solid #aaa;
  137. background-color: #f2f2f2;
  138. background-repeat: no-repeat;
  139. background-position: center center;
  140. width: 99%;
  141. height: 250px;
  142. outline: 0;
  143. cursor: pointer;
  144. }
  145. .mce-content-body img.wp-media:hover {
  146. background-color: #ededed;
  147. border-color: #72777c;
  148. }
  149. .mce-content-body img.wp-media.wp-media-selected {
  150. background-color: #d8d8d8;
  151. border-color: #72777c;
  152. }
  153. .mce-content-body img.wp-media.wp-gallery {
  154. background-image: url(images/gallery.png);
  155. }
  156. /* Image resize handles */
  157. .mce-content-body div.mce-resizehandle {
  158. border-color: #72777c;
  159. width: 7px;
  160. height: 7px;
  161. }
  162. .mce-content-body img[data-mce-selected] {
  163. outline: 1px solid #72777c;
  164. }
  165. .mce-content-body img[data-mce-resize="false"] {
  166. outline: 0;
  167. }
  168. audio,
  169. video,
  170. embed {
  171. display: -moz-inline-stack;
  172. display: inline-block;
  173. }
  174. audio {
  175. visibility: hidden;
  176. }
  177. /* Fix for proprietary Mozilla display attribute, see #38757 */
  178. [_moz_abspos] {
  179. outline: none;
  180. }
  181. a[data-wplink-url-error],
  182. a[data-wplink-url-error]:hover,
  183. a[data-wplink-url-error]:focus {
  184. outline: 2px dotted #dc3232;
  185. position: relative;
  186. }
  187. a[data-wplink-url-error]:before {
  188. content: '';
  189. display: block;
  190. position: absolute;
  191. top: -2px;
  192. right: -2px;
  193. bottom: -2px;
  194. left: -2px;
  195. outline: 2px dotted #fff;
  196. z-index: -1;
  197. }
  198. /**
  199. * WP Views
  200. */
  201. .wpview {
  202. width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
  203. position: relative;
  204. clear: both;
  205. margin-bottom: 16px;
  206. border: 1px solid transparent;
  207. }
  208. .mce-shim {
  209. position: absolute;
  210. top: 0;
  211. right: 0;
  212. bottom: 0;
  213. left: 0;
  214. }
  215. .wpview[data-mce-selected="2"] .mce-shim {
  216. display: none;
  217. }
  218. .wpview .loading-placeholder {
  219. border: 1px dashed #ccc;
  220. padding: 10px;
  221. }
  222. .wpview[data-mce-selected] .loading-placeholder {
  223. border-color: transparent;
  224. }
  225. /* A little "loading" animation, not showing in IE < 10 */
  226. .wpview .wpview-loading {
  227. width: 60px;
  228. height: 5px;
  229. overflow: hidden;
  230. background-color: transparent;
  231. margin: 10px auto 0;
  232. }
  233. .wpview .wpview-loading ins {
  234. background-color: #333;
  235. margin: 0 0 0 -60px;
  236. width: 36px;
  237. height: 5px;
  238. display: block;
  239. -webkit-animation: wpview-loading 1.3s infinite 1s steps(36);
  240. animation: wpview-loading 1.3s infinite 1s steps(36);
  241. }
  242. @-webkit-keyframes wpview-loading {
  243. 0% {
  244. margin-left: -60px;
  245. }
  246. 100% {
  247. margin-left: 60px;
  248. }
  249. }
  250. @keyframes wpview-loading {
  251. 0% {
  252. margin-left: -60px;
  253. }
  254. 100% {
  255. margin-left: 60px;
  256. }
  257. }
  258. .wpview .wpview-content > iframe {
  259. max-width: 100%;
  260. background: transparent;
  261. }
  262. .wpview-error {
  263. border: 1px solid #ddd;
  264. padding: 1em 0;
  265. margin: 0;
  266. word-wrap: break-word;
  267. }
  268. .wpview[data-mce-selected] .wpview-error {
  269. border-color: transparent;
  270. }
  271. .wpview-error .dashicons,
  272. .loading-placeholder .dashicons {
  273. display: block;
  274. margin: 0 auto;
  275. width: 32px;
  276. height: 32px;
  277. font-size: 32px;
  278. }
  279. .wpview-error p {
  280. margin: 0;
  281. text-align: center;
  282. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  283. }
  284. .wpview-type-gallery:after {
  285. content: '';
  286. display: table;
  287. clear: both;
  288. }
  289. .gallery img[data-mce-selected]:focus {
  290. outline: none;
  291. }
  292. .gallery a {
  293. cursor: default;
  294. }
  295. .gallery {
  296. margin: auto -6px;
  297. padding: 6px 0;
  298. line-height: 1;
  299. overflow-x: hidden;
  300. }
  301. .ie7 .gallery,
  302. .ie8 .gallery {
  303. margin: auto;
  304. }
  305. .gallery .gallery-item {
  306. float: left;
  307. margin: 0;
  308. text-align: center;
  309. padding: 6px;
  310. -webkit-box-sizing: border-box;
  311. -moz-box-sizing: border-box;
  312. box-sizing: border-box;
  313. }
  314. .ie7 .gallery .gallery-item,
  315. .ie8 .gallery .gallery-item {
  316. padding: 6px 0;
  317. }
  318. .gallery .gallery-caption,
  319. .gallery .gallery-icon {
  320. margin: 0;
  321. }
  322. .gallery .gallery-caption {
  323. font-size: 13px;
  324. margin: 4px 0;
  325. }
  326. .gallery-columns-1 .gallery-item {
  327. width: 100%;
  328. }
  329. .gallery-columns-2 .gallery-item {
  330. width: 50%;
  331. }
  332. .gallery-columns-3 .gallery-item {
  333. width: 33.333%;
  334. }
  335. .ie8 .gallery-columns-3 .gallery-item,
  336. .ie7 .gallery-columns-3 .gallery-item {
  337. width: 33%;
  338. }
  339. .gallery-columns-4 .gallery-item {
  340. width: 25%;
  341. }
  342. .gallery-columns-5 .gallery-item {
  343. width: 20%;
  344. }
  345. .gallery-columns-6 .gallery-item {
  346. width: 16.665%;
  347. }
  348. .gallery-columns-7 .gallery-item {
  349. width: 14.285%;
  350. }
  351. .gallery-columns-8 .gallery-item {
  352. width: 12.5%;
  353. }
  354. .gallery-columns-9 .gallery-item {
  355. width: 11.111%;
  356. }
  357. .gallery img {
  358. max-width: 100%;
  359. height: auto;
  360. border: none;
  361. padding: 0;
  362. }
  363. img.wp-oembed {
  364. border: 1px dashed #888;
  365. background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center;
  366. width: 300px;
  367. height: 250px;
  368. outline: 0;
  369. }
  370. /* rtl */
  371. .rtl .gallery .gallery-item {
  372. float: right;
  373. }
  374. @media print,
  375. (-o-min-device-pixel-ratio: 5/4),
  376. (-webkit-min-device-pixel-ratio: 1.25),
  377. (min-resolution: 120dpi) {
  378. .mce-content-body img.mce-wp-more {
  379. background-image: url( images/more-2x.png );
  380. background-size: 1900px 20px;
  381. }
  382. .mce-content-body img.mce-wp-nextpage {
  383. background-image: url( images/pagebreak-2x.png );
  384. background-size: 1900px 20px;
  385. }
  386. }