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;
|
||||
line-height: 45px;
|
||||
text-transform: uppercase;
|
||||
visibility: visible;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
|
|
|
@ -979,20 +979,22 @@ span + .edit-link:before,
|
|||
|
||||
.menu-toggle {
|
||||
cursor: pointer;
|
||||
font-size: 0;
|
||||
height: 48px;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
visibility: hidden;
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
.menu-toggle:before {
|
||||
color: #fff;
|
||||
content: "\f419";
|
||||
margin-top: 16px;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1518,7 +1520,12 @@ a.post-thumbnail:hover {
|
|||
*/
|
||||
|
||||
.nav-links {
|
||||
-webkit-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
-ms-hyphens: auto;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
hyphens: auto;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.post-navigation,
|
||||
|
|
Loading…
Reference in New Issue