Twenty Thirteen: better caption styles for short words and sentences. Props kwight, fixes #23773.
git-svn-id: http://core.svn.wordpress.org/trunk@23701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
24cf418767
commit
6de85ee884
|
@ -1337,10 +1337,9 @@ footer.entry-meta {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
height: 74px;
|
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
max-height: 100%;
|
max-height: 50%;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1355,10 +1354,11 @@ footer.entry-meta {
|
||||||
.gallery-caption:before {
|
.gallery-caption:before {
|
||||||
box-shadow: 0 -10px 15px #000 inset;
|
box-shadow: 0 -10px 15px #000 inset;
|
||||||
content: "";
|
content: "";
|
||||||
height: 74px;
|
height: 100%;
|
||||||
|
min-height: 49px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
left: 0;
|
||||||
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue