2025-2-26-fixed
This commit is contained in:
65
themes/next/source/css/_schemes/Pisces/_menu.styl
Normal file
65
themes/next/source/css/_schemes/Pisces/_menu.styl
Normal file
@ -0,0 +1,65 @@
|
||||
.site-nav-toggle, .site-nav-right {
|
||||
+tablet() {
|
||||
flex-column();
|
||||
}
|
||||
|
||||
.toggle {
|
||||
color: white;
|
||||
|
||||
.toggle-line {
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
+tablet() {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.menu .menu-item {
|
||||
display: block;
|
||||
margin: 0;
|
||||
|
||||
a, span.exturl {
|
||||
padding: 5px 20px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
transition-property: background-color;
|
||||
|
||||
&:hover {
|
||||
@extend .menu-item-active a;
|
||||
}
|
||||
}
|
||||
|
||||
+tablet-mobile() {
|
||||
&.menu-item-search {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
background: $grey-light;
|
||||
border-radius: 10px;
|
||||
color: white;
|
||||
float: right;
|
||||
padding: 2px 5px;
|
||||
text-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
if (!hexo-config('menu_settings.badges')) {
|
||||
.main-menu .menu-item-active a::after {
|
||||
background: $grey;
|
||||
border-radius: 50%;
|
||||
content: ' ';
|
||||
height: 6px;
|
||||
margin-top: -3px;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 50%;
|
||||
width: 6px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user