forked from mirror/_s
99 lines
1.1 KiB
SCSS
99 lines
1.1 KiB
SCSS
.main-navigation {
|
|
clear: both;
|
|
display: block;
|
|
float: left;
|
|
width: 100%;
|
|
|
|
ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding-left: 0;
|
|
|
|
ul {
|
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
|
float: left;
|
|
position: absolute;
|
|
top: 1.5em;
|
|
left: -999em;
|
|
z-index: 99999;
|
|
|
|
ul {
|
|
left: -999em;
|
|
top: 0;
|
|
}
|
|
|
|
li {
|
|
&:hover > ul {
|
|
left: 100%;
|
|
}
|
|
}
|
|
|
|
a {
|
|
width: 200px;
|
|
}
|
|
|
|
:hover > a {
|
|
}
|
|
|
|
a:hover {
|
|
}
|
|
}
|
|
|
|
li:hover > ul {
|
|
left: auto;
|
|
}
|
|
}
|
|
li {
|
|
float: left;
|
|
position: relative;
|
|
|
|
&:hover > a {
|
|
}
|
|
}
|
|
a {
|
|
display: block;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.current_page_item > a,
|
|
.current-menu-item > a,
|
|
.current_page_ancestor > a {
|
|
}
|
|
}
|
|
|
|
/* Small menu. */
|
|
.menu-toggle {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.menu-toggle,
|
|
.main-navigation.toggled .nav-menu {
|
|
display: block;
|
|
}
|
|
|
|
.main-navigation ul {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.comment-navigation,
|
|
.posts-navigation,
|
|
.post-navigation {
|
|
|
|
.site-main & {
|
|
margin: 0 0 1.5em;
|
|
overflow: hidden;
|
|
}
|
|
|
|
& .nav-previous {
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
|
|
& .nav-next {
|
|
float: right;
|
|
text-align: right;
|
|
width: 50%;
|
|
}
|
|
} |