Cool-Y.github.io/themes/next/source/css/_common/components/header/site-nav.styl

29 lines
471 B
Stylus
Raw Permalink Normal View History

2019-04-02 08:28:32 +00:00
.site-nav-toggle {
display: none;
position: absolute;
top: 10px;
left: 10px;
+mobile() {
display: block;
}
button {
margin-top: 2px;
padding: 9px 10px;
background: transparent;
border: none;
}
}
.site-nav {
+mobile() {
display: none;
margin: 0 -10px;
padding: 0 10px;
clear: both;
border-top: 1px solid $gray-lighter;
}
+tablet() { display: block !important; }
+desktop() { display: block !important; }
}