mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
height: 74px;
|
||||
line-height: 1.3;
|
||||
margin: 0;
|
||||
max-height: 100%;
|
||||
max-height: 50%;
|
||||
opacity: 0;
|
||||
padding: 2px 8px;
|
||||
position: absolute;
|
||||
@ -1355,10 +1354,11 @@ footer.entry-meta {
|
||||
.gallery-caption:before {
|
||||
box-shadow: 0 -10px 15px #000 inset;
|
||||
content: "";
|
||||
height: 74px;
|
||||
height: 100%;
|
||||
min-height: 49px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user