Twenty Thirteen: display gallery captions correctly in IE7 and IE8. Props celloexpressions and kovshenin, fixes #23996.

git-svn-id: http://core.svn.wordpress.org/trunk@23959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-04-10 22:44:29 +00:00
parent 338c2afd86
commit fb3387b1d4
1 changed files with 15 additions and 4 deletions

View File

@ -60,6 +60,21 @@ img.alignleft {
max-width: 604px;
margin: 0;
}
.gallery-item,
.gallery img {
max-width: none;
}
.gallery-caption {
background: #000;
filter: alpha(opacity=0);
}
.gallery-item:hover .gallery-caption {
filter: alpha(opacity=70);
}
.comment {
clear: both;
}
@ -117,10 +132,6 @@ img.alignleft {
width: auto;
}
.ie8 .gallery img {
max-width: none;
}
.ie8 .sidebar .entry-header,
.ie8 .sidebar .entry-content,
.ie8 .sidebar .entry-summary,