mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 23:41:38 +01:00
Twenty Fourteen: make sure non-breaking title in .nav-links
doesn't overflow, and make sure the menu toggle text is hidden. Props iamtakashi, closes #26189.
Built from https://develop.svn.wordpress.org/trunk@26558 git-svn-id: http://core.svn.wordpress.org/trunk@26449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
98215089b9
commit
187d2fa1ff
@ -928,6 +928,7 @@ a.post-thumbnail:hover {
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 45px;
|
line-height: 45px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
visibility: visible;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -979,20 +979,22 @@ span + .edit-link:before,
|
|||||||
|
|
||||||
.menu-toggle {
|
.menu-toggle {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 0;
|
|
||||||
height: 48px;
|
height: 48px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
visibility: hidden;
|
||||||
width: 48px;
|
width: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-toggle:before {
|
.menu-toggle:before {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
content: "\f419";
|
content: "\f419";
|
||||||
margin-top: 16px;
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1518,7 +1520,12 @@ a.post-thumbnail:hover {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.nav-links {
|
.nav-links {
|
||||||
|
-webkit-hyphens: auto;
|
||||||
|
-moz-hyphens: auto;
|
||||||
|
-ms-hyphens: auto;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
hyphens: auto;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-navigation,
|
.post-navigation,
|
||||||
|
Loading…
Reference in New Issue
Block a user