hexo
This commit is contained in:
32
themes/next/source/css/_common/components/header/menu.styl
Normal file
32
themes/next/source/css/_common/components/header/menu.styl
Normal file
@ -0,0 +1,32 @@
|
||||
// Menu
|
||||
// --------------------------------------------------
|
||||
.menu {
|
||||
margin-top: 20px;
|
||||
padding-left: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.menu .menu-item {
|
||||
display: inline-block;
|
||||
margin: 0 10px;
|
||||
list-style: none;
|
||||
|
||||
@media screen and (max-width: 767px) {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
line-height: inherit;
|
||||
border-bottom: 1px solid $menu-link-border;
|
||||
transition-property: border-color;
|
||||
the-transition();
|
||||
|
||||
&:hover { border-bottom-color: $menu-link-hover-border; }
|
||||
}
|
||||
|
||||
.fa { margin-right: 5px; }
|
||||
}
|
||||
|
||||
.use-motion .menu-item { opacity: 0; }
|
Reference in New Issue
Block a user