Cool-Y.github.io/themes/next/source/css/_schemes/Mist/_menu.styl

47 lines
659 B
Stylus
Raw Normal View History

2019-04-02 08:28:32 +00:00
// Menu
// --------------------------------------------------
.site-nav-toggle {
position: static;
float: right;
}
.menu {
float: right;
margin: 8px 0 0 0;
+mobile() {
margin: 20px 0 0 0;
padding: 0;
}
br { display: none; }
.menu-item {
margin: 0;
+mobile() { display: block; }
}
.menu-item a {
padding: 0 10px;
background: none;
border: none;
border-radius: 2px;
transition-property: background;
+mobile() {
text-align: left;
}
&:hover { background: #e1e1e1; }
}
a::before {
display: none;
+mobile() { display: block; }
}
+mobile() { float: none; }
}