mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 12:18:30 +03:00
Make nav menu look a bit nicer
This commit is contained in:
parent
4b45375b4c
commit
4b48bab2bb
1 changed files with 11 additions and 11 deletions
|
@ -3,24 +3,24 @@
|
|||
display: flex;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
/* 1px background image */
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
var(--divider-color),
|
||||
var(--divider-color)
|
||||
);
|
||||
background-size: 1px 1px;
|
||||
background-repeat: repeat-y;
|
||||
background-position: center;
|
||||
}
|
||||
.nav-menu section {
|
||||
width: 50%;
|
||||
padding: 8px 0;
|
||||
}
|
||||
.nav-menu section:last-child {
|
||||
background-color: var(--bg-faded-color);
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
var(--divider-color) 1px,
|
||||
transparent 1px
|
||||
),
|
||||
linear-gradient(to bottom, var(--bg-blur-color), transparent);
|
||||
box-shadow: inset 0 0 1px var(--bg-color);
|
||||
}
|
||||
.nav-menu section:last-child > .szh-menu__divider:first-child {
|
||||
display: none;
|
||||
}
|
||||
.nav-menu .szh-menu__item span {
|
||||
.nav-menu section:last-child .szh-menu__item span {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue