Improve style

- Add more depth to .block
- Make footer lighter
- Stylize scrollbar
This commit is contained in:
2025-09-27 20:38:57 +03:00
committed by Sweetbread
parent 7351e28bcd
commit f60a1940ac
+31 -4
View File
@@ -54,9 +54,10 @@ h1 {
a { a {
color: unset; color: unset;
text-decoration: underline; text: {
text-decoration-color: $blue; decoration: underline {color: $blue};
text-underline-offset: 1px; underline-offset: 1px;
}
transition: 0.3s ease; transition: 0.3s ease;
&:hover { &:hover {
@@ -67,6 +68,7 @@ a {
transition: none !important; transition: none !important;
display: inline-block; display: inline-block;
transform: scale(.98) !important; transform: scale(.98) !important;
background-color: $mantle !important;
} }
&.block { &.block {
@@ -74,6 +76,7 @@ a {
&:hover { &:hover {
transform: scale(1.02) translateY(-.25rem); transform: scale(1.02) translateY(-.25rem);
background-color: $surface1;
} }
} }
} }
@@ -98,7 +101,7 @@ footer {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
background-color: $crust; background-color: $mantle;
margin-top: 2rem; margin-top: 2rem;
padding: 1rem; padding: 1rem;
column-gap: 4ch; column-gap: 4ch;
@@ -136,6 +139,8 @@ footer {
} }
&.green { &.green {
background-color: color.mix($surface0, $green, 60%); background-color: color.mix($surface0, $green, 60%);
&:hover { background-color: color.mix($surface1, $green, 60%); }
&:active { background-color: color.mix($mantle, $green, 60%) !important; }
} }
& .header { & .header {
@@ -185,6 +190,28 @@ footer {
border-radius: .2em; border-radius: .2em;
} }
::-webkit-scrollbar {
width: .5rem;
&-button {
display: none;
}
&-track {
background-color: $base;
}
&-thumb {
background-color: $overlay0;
border-radius: .25rem;
&:hover {
background-color: $overlay1;
}
}
}
@font-face { @font-face {
font-family: Monocraft; font-family: Monocraft;
src: url("/static/font/Monocraft.ttc"); src: url("/static/font/Monocraft.ttc");