Ticket #23584: 23584.5.diff
File 23584.5.diff, 1.1 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentythirteen/style.css
738 738 } 739 739 740 740 .wp-caption .wp-caption-text, 741 .entry-caption { 741 .entry-caption, 742 .gallery-caption { 742 743 color: #220e10; 743 744 font-size: 18px; 744 745 font-style: italic; … … 1244 1245 .gallery-item { 1245 1246 float: left; 1246 1247 margin: 0 4px 4px 0; 1248 overflow: hidden; 1249 position: relative; 1247 1250 } 1248 1251 1249 1252 .single .gallery-columns-1.gallery-size-medium, … … 1328 1331 } 1329 1332 1330 1333 .gallery-caption { 1331 color: #777; 1332 font-size: 14px; 1333 font-style: italic; 1334 padding-top: 4px; 1334 background-color: rgba(255, 255, 255, 0.8); 1335 height: 50%; 1336 line-height: 1.2; 1337 margin: 0; 1338 overflow: hidden; 1339 padding: 2px 10px; 1340 position: absolute; 1341 bottom: -50%; 1342 text-align: left; 1343 -webkit-transition: bottom 400ms ease; 1344 transition: bottom 400ms ease; 1345 width: 100%; 1335 1346 } 1336 1347 1337 .gallery- caption {1338 width: 90%;1348 .gallery-item:hover .gallery-caption { 1349 bottom: 0; 1339 1350 } 1340 1351 1341 1352