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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26558 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d146107960
commit
5223958ef9
|
@ -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