new color scheme
This commit is contained in:
parent
99574824f3
commit
287077d9a9
3 changed files with 51 additions and 37 deletions
|
@ -3,7 +3,7 @@
|
|||
// -----------
|
||||
|
||||
#sidebar {
|
||||
background: var(--sidebar-background-10);
|
||||
background: var(--sidebar-background);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
|
@ -15,7 +15,7 @@
|
|||
z-index: 2;
|
||||
margin: 0.5rem 0;
|
||||
border-radius: 0 2rem 2rem 0;
|
||||
border: 1px solid var(--sidebar-background-05);
|
||||
border: 1px solid var(--sidebar-border);
|
||||
border-left: 0;
|
||||
header {
|
||||
text-align: center;
|
||||
|
@ -55,7 +55,7 @@
|
|||
line-height: 4rem;
|
||||
}
|
||||
&::after {
|
||||
background-color: var(--sidebar-background-20);
|
||||
background-color: var(--sidebar-accent);
|
||||
bottom: 0;
|
||||
content: "";
|
||||
height: 100%;
|
||||
|
@ -69,9 +69,12 @@
|
|||
transition: left 0.5s ease-out, opacity 0.5s ease-out, background-color 0.2s linear;
|
||||
}
|
||||
&.active {
|
||||
background-color: var(--sidebar-background-20);
|
||||
background-color: var(--sidebar-accent);
|
||||
&:hover {
|
||||
background-color: var(--sidebar-background-30);
|
||||
background-color: var(--sidebar-accented);
|
||||
}
|
||||
&:active {
|
||||
background-color: var(--sidebar-accentest);
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
|
@ -82,7 +85,7 @@
|
|||
}
|
||||
&:active {
|
||||
&::after {
|
||||
background-color: var(--sidebar-background-30);
|
||||
background-color: var(--sidebar-accented);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -134,15 +137,6 @@
|
|||
padding: 1em;
|
||||
margin: -1em;
|
||||
pointer-events: all;
|
||||
/*&::after {
|
||||
content: attr(data-page-lang);
|
||||
position: absolute;
|
||||
left: -4px;
|
||||
font-size: 0.6em;
|
||||
line-height: 1.5em;
|
||||
bottom: 0;
|
||||
text-transform: uppercase;
|
||||
}*/
|
||||
}
|
||||
#languages {
|
||||
background-color: var(--background);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue