margin: 9px 10px;
max-width: 100%;
-webkit-font-smoothing: antialiased !important;
+ overflow-wrap: break-word;
+ word-wrap: break-word; /* Old syntax */
+ word-break: break-word; /* iOS */
}
body.rtl {
box-shadow: none !important;
}
-/* DFW mode */
-html.wp-fullscreen,
-html.wp-fullscreen body#tinymce {
- width: auto;
- max-width: none;
- min-height: 0;
- overflow: hidden;
- color: #333;
- background: transparent;
-}
-
-.aligncenter,
-dl.aligncenter,
-.html5-captions .wp-caption.aligncenter {
- display: block;
- margin-left: auto;
- margin-right: auto;
-}
-
-.alignleft {
- float: left;
+.mceIEcenter {
+ text-align: center;
}
-.alignright {
- float: right;
+img {
+ height: auto;
+ max-width: 100%;
}
.wp-caption {
- border: 1px solid #ddd;
- text-align: center;
- background-color: #f3f3f3;
- padding-top: 4px;
- margin: 10px 0;
-}
-
-.html5-captions .wp-caption {
- border: none;
- background-color: transparent;
- margin: 0;
- padding: 0;
+ margin: 0; /* browser reset */
+ max-width: 100%;
}
-.mceIEcenter {
- text-align: center;
+/* iOS does not obey max-width if width is set. */
+.ios .wp-caption {
+ width: auto !important;
}
.wp-caption img {
- margin: 0;
- padding: 0;
- border: 0 none;
+ display: block;
}
div.mceTemp {
}
.wp-caption-dd {
- font-size: 11px;
- line-height: 17px;
- padding: 0 4px 5px;
- margin: 0;
+ font-size: 14px;
+ padding-top: 0.5em;
+ margin: 0; /* browser reset */
+}
+
+.aligncenter {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.alignleft {
+ float: left;
+ margin: 0.5em 1em 0.5em 0;
+}
+
+.alignright {
+ float: right;
+ margin: 0.5em 0 0.5em 1em;
}
/* Remove blue highlighting of selected images in WebKit */