wp-content.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  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. dl.wp-caption dt.wp-caption-dt img {
  78. display: inline-block;
  79. margin-bottom: -1ex;
  80. }
  81. div.mceTemp {
  82. -ms-user-select: element;
  83. }
  84. dl.wp-caption,
  85. dl.wp-caption * {
  86. -webkit-user-drag: none;
  87. }
  88. .wp-caption-dd {
  89. font-size: 14px;
  90. padding-top: 0.5em;
  91. margin: 0; /* browser reset */
  92. }
  93. .aligncenter {
  94. display: block;
  95. margin-left: auto;
  96. margin-right: auto;
  97. }
  98. .alignleft {
  99. float: left;
  100. margin: 0.5em 1em 0.5em 0;
  101. }
  102. .alignright {
  103. float: right;
  104. margin: 0.5em 0 0.5em 1em;
  105. }
  106. /* Remove blue highlighting of selected images in WebKit */
  107. img[data-mce-selected]::selection {
  108. background-color: transparent;
  109. }
  110. /* Styles for the WordPress plugins */
  111. .mce-content-body img[data-mce-placeholder] {
  112. border-radius: 0;
  113. padding: 0;
  114. }
  115. .mce-content-body img[data-wp-more] {
  116. border: 0;
  117. -webkit-box-shadow: none;
  118. box-shadow: none;
  119. width: 96%;
  120. height: 16px;
  121. display: block;
  122. margin: 15px auto 0;
  123. outline: 0;
  124. cursor: default;
  125. }
  126. .mce-content-body img[data-mce-placeholder][data-mce-selected] {
  127. outline: 1px dotted #888;
  128. }
  129. .mce-content-body img[data-wp-more="more"] {
  130. background: transparent url( images/more.png ) repeat-y scroll center center;
  131. }
  132. .mce-content-body img[data-wp-more="nextpage"] {
  133. background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
  134. }
  135. /* Styles for formatting the boundaries of anchors and code elements */
  136. .mce-content-body a[data-mce-selected] {
  137. padding: 0 2px;
  138. margin: 0 -2px;
  139. border-radius: 2px;
  140. box-shadow: 0 0 0 1px #bfe6ff;
  141. background: #bfe6ff;
  142. }
  143. .mce-content-body .wp-caption-dt a[data-mce-selected] {
  144. outline: none;
  145. padding: 0;
  146. margin: 0;
  147. box-shadow: none;
  148. background: transparent;
  149. }
  150. .mce-content-body code {
  151. padding: 2px 4px;
  152. margin: 0;
  153. border-radius: 2px;
  154. color: #222;
  155. background: #f2f4f5;
  156. }
  157. .mce-content-body code[data-mce-selected] {
  158. background: #e9ebec;
  159. }
  160. /* Gallery, audio, video placeholders */
  161. .mce-content-body img.wp-media {
  162. border: 1px solid #aaa;
  163. background-color: #f2f2f2;
  164. background-repeat: no-repeat;
  165. background-position: center center;
  166. width: 99%;
  167. height: 250px;
  168. outline: 0;
  169. cursor: pointer;
  170. }
  171. .mce-content-body img.wp-media:hover {
  172. background-color: #ededed;
  173. border-color: #72777c;
  174. }
  175. .mce-content-body img.wp-media.wp-media-selected {
  176. background-color: #d8d8d8;
  177. border-color: #72777c;
  178. }
  179. .mce-content-body img.wp-media.wp-gallery {
  180. background-image: url(images/gallery.png);
  181. }
  182. /* Image resize handles */
  183. .mce-content-body div.mce-resizehandle {
  184. border-color: #72777c;
  185. width: 7px;
  186. height: 7px;
  187. }
  188. .mce-content-body img[data-mce-selected] {
  189. outline: 1px solid #72777c;
  190. }
  191. .mce-content-body img[data-mce-resize="false"] {
  192. outline: 0;
  193. }
  194. audio,
  195. video,
  196. embed {
  197. display: -moz-inline-stack;
  198. display: inline-block;
  199. }
  200. audio {
  201. visibility: hidden;
  202. }
  203. /* Fix for proprietary Mozilla display attribute, see #38757 */
  204. [_moz_abspos] {
  205. outline: none;
  206. }
  207. a[data-wplink-url-error],
  208. a[data-wplink-url-error]:hover,
  209. a[data-wplink-url-error]:focus {
  210. outline: 2px dotted #dc3232;
  211. position: relative;
  212. }
  213. a[data-wplink-url-error]:before {
  214. content: "";
  215. display: block;
  216. position: absolute;
  217. top: -2px;
  218. right: -2px;
  219. bottom: -2px;
  220. left: -2px;
  221. outline: 2px dotted #fff;
  222. z-index: -1;
  223. }
  224. /**
  225. * WP Views
  226. */
  227. .wpview {
  228. width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
  229. position: relative;
  230. clear: both;
  231. margin-bottom: 16px;
  232. border: 1px solid transparent;
  233. }
  234. .mce-shim {
  235. position: absolute;
  236. top: 0;
  237. right: 0;
  238. bottom: 0;
  239. left: 0;
  240. }
  241. .wpview[data-mce-selected="2"] .mce-shim {
  242. display: none;
  243. }
  244. .wpview .loading-placeholder {
  245. border: 1px dashed #ccc;
  246. padding: 10px;
  247. }
  248. .wpview[data-mce-selected] .loading-placeholder {
  249. border-color: transparent;
  250. }
  251. /* A little "loading" animation, not showing in IE < 10 */
  252. .wpview .wpview-loading {
  253. width: 60px;
  254. height: 5px;
  255. overflow: hidden;
  256. background-color: transparent;
  257. margin: 10px auto 0;
  258. }
  259. .wpview .wpview-loading ins {
  260. background-color: #333;
  261. margin: 0 0 0 -60px;
  262. width: 36px;
  263. height: 5px;
  264. display: block;
  265. -webkit-animation: wpview-loading 1.3s infinite 1s steps(36);
  266. animation: wpview-loading 1.3s infinite 1s steps(36);
  267. }
  268. @-webkit-keyframes wpview-loading {
  269. 0% {
  270. margin-left: -60px;
  271. }
  272. 100% {
  273. margin-left: 60px;
  274. }
  275. }
  276. @keyframes wpview-loading {
  277. 0% {
  278. margin-left: -60px;
  279. }
  280. 100% {
  281. margin-left: 60px;
  282. }
  283. }
  284. .wpview .wpview-content > iframe {
  285. max-width: 100%;
  286. background: transparent;
  287. }
  288. .wpview-error {
  289. border: 1px solid #ddd;
  290. padding: 1em 0;
  291. margin: 0;
  292. word-wrap: break-word;
  293. }
  294. .wpview[data-mce-selected] .wpview-error {
  295. border-color: transparent;
  296. }
  297. .wpview-error .dashicons,
  298. .loading-placeholder .dashicons {
  299. display: block;
  300. margin: 0 auto;
  301. width: 32px;
  302. height: 32px;
  303. font-size: 32px;
  304. }
  305. .wpview-error p {
  306. margin: 0;
  307. text-align: center;
  308. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  309. }
  310. .wpview-type-gallery:after {
  311. content: "";
  312. display: table;
  313. clear: both;
  314. }
  315. .gallery img[data-mce-selected]:focus {
  316. outline: none;
  317. }
  318. .gallery a {
  319. cursor: default;
  320. }
  321. .gallery {
  322. margin: auto -6px;
  323. padding: 6px 0;
  324. line-height: 1;
  325. overflow-x: hidden;
  326. }
  327. .ie7 .gallery,
  328. .ie8 .gallery {
  329. margin: auto;
  330. }
  331. .gallery .gallery-item {
  332. float: left;
  333. margin: 0;
  334. text-align: center;
  335. padding: 6px;
  336. -webkit-box-sizing: border-box;
  337. -moz-box-sizing: border-box;
  338. box-sizing: border-box;
  339. }
  340. .ie7 .gallery .gallery-item,
  341. .ie8 .gallery .gallery-item {
  342. padding: 6px 0;
  343. }
  344. .gallery .gallery-caption,
  345. .gallery .gallery-icon {
  346. margin: 0;
  347. }
  348. .gallery .gallery-caption {
  349. font-size: 13px;
  350. margin: 4px 0;
  351. }
  352. .gallery-columns-1 .gallery-item {
  353. width: 100%;
  354. }
  355. .gallery-columns-2 .gallery-item {
  356. width: 50%;
  357. }
  358. .gallery-columns-3 .gallery-item {
  359. width: 33.333%;
  360. }
  361. .ie8 .gallery-columns-3 .gallery-item,
  362. .ie7 .gallery-columns-3 .gallery-item {
  363. width: 33%;
  364. }
  365. .gallery-columns-4 .gallery-item {
  366. width: 25%;
  367. }
  368. .gallery-columns-5 .gallery-item {
  369. width: 20%;
  370. }
  371. .gallery-columns-6 .gallery-item {
  372. width: 16.665%;
  373. }
  374. .gallery-columns-7 .gallery-item {
  375. width: 14.285%;
  376. }
  377. .gallery-columns-8 .gallery-item {
  378. width: 12.5%;
  379. }
  380. .gallery-columns-9 .gallery-item {
  381. width: 11.111%;
  382. }
  383. .gallery img {
  384. max-width: 100%;
  385. height: auto;
  386. border: none;
  387. padding: 0;
  388. }
  389. img.wp-oembed {
  390. border: 1px dashed #888;
  391. background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center;
  392. width: 300px;
  393. height: 250px;
  394. outline: 0;
  395. }
  396. /* rtl */
  397. .rtl .gallery .gallery-item {
  398. float: right;
  399. }
  400. @media print,
  401. (-o-min-device-pixel-ratio: 5/4),
  402. (-webkit-min-device-pixel-ratio: 1.25),
  403. (min-resolution: 120dpi) {
  404. .mce-content-body img.mce-wp-more {
  405. background-image: url( images/more-2x.png );
  406. background-size: 1900px 20px;
  407. }
  408. .mce-content-body img.mce-wp-nextpage {
  409. background-image: url( images/pagebreak-2x.png );
  410. background-size: 1900px 20px;
  411. }
  412. }