Changeset 36957
- Timestamp:
- 03/10/2016 09:12:25 PM (9 years ago)
- Location:
- trunk/src/wp-content/themes/twentyeleven
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/editor-style.css
r22154 r36957 4 4 */ 5 5 6 html .mceContentBody {7 max-width: 584px;8 }9 * {10 color: inherit;11 font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif;12 font-style: inherit;13 font-weight: inherit;14 line-height: 1.625;15 }16 6 body { 17 7 color: #333; … … 19 9 font-weight: 300; 20 10 line-height: 1.625; 11 max-width: 584px; 21 12 } 22 13 … … 238 229 239 230 /* Images */ 240 img[class*="wp-image-"] {241 height: auto;242 max-width: 97.5%;243 }244 231 img.size-full { 245 232 width: auto; /* Prevent stretching of full-size images in IE8 */ … … 255 242 margin-top: 0.4em; 256 243 } 257 img, 258 .editor-attachment { 244 img { 259 245 border: 1px solid #ddd; 260 246 padding: 6px; 247 height: auto; 248 max-width: 97.5%; 249 max-width: calc( 100% - 14px ); 261 250 } 262 251 img.alignleft, … … 270 259 margin-bottom: 1.625em; 271 260 max-width: 96%; 272 padding: 9px; 261 max-width: calc( 100% - 22px ); 262 padding: 9px 11px; 273 263 } 274 264 .wp-caption img { 275 265 display: block; 276 margin: 5px auto 0 !important;266 margin: 0 -2px; 277 267 max-width: 98%; 268 max-width: calc( 100% - 10px ); 278 269 border-color: #eee; 279 270 } 280 .wp-caption .wp-caption-text, 281 .wp-caption-dd { 271 .wp-caption .wp-caption-dd { 282 272 color: #666; 283 font-family: Georgia, serif !important;273 font-family: Georgia, serif; 284 274 font-size: 12px; 285 margin : 0 0 0.6em 0 !important;286 padding: 00 5px 40px;275 margin-bottom: 0.6em; 276 padding: 10px 0 5px 40px; 287 277 position: relative; 288 text-align: left; 289 } 290 .wp-caption .wp-caption-text:before { 278 } 279 .wp-caption .wp-caption-dd:before { 291 280 color: #666; 292 281 content: '\2014'; … … 299 288 top: 7px; 300 289 } 301 a:focus img [class*="wp-image-"],302 a:hover img [class*="wp-image-"],303 a:active img [class*="wp-image-"]{290 a:focus img, 291 a:hover img, 292 a:active img { 304 293 background: #eee; 305 294 border-color: #bbb; -
trunk/src/wp-content/themes/twentyeleven/style.css
r35802 r36957 911 911 margin-bottom: 1.625em; 912 912 max-width: 96%; 913 max-width: calc( 100% - 18px ); 913 914 padding: 9px; 914 915 } 915 916 .wp-caption img { 916 917 display: block; 917 margin: -2px 0 0 -2px;918 918 max-width: 98%; 919 max-width: calc( 100% - 14px ); 919 920 } 920 921 .wp-caption .wp-caption-text, … … 966 967 padding: 6px; 967 968 max-width: 97.5%; 969 max-width: calc( 100% - 14px ); 968 970 } 969 971 .wp-caption img {
Note: See TracChangeset
for help on using the changeset viewer.