arimelody.me/public/style/main.css
ari melody 6efd47c6c6 major UI/UX improvements
Signed-off-by: ari melody <ari@arimelody.me>
2024-08-31 01:52:18 +01:00

84 lines
1.7 KiB
CSS

@import url("/style/colours.css");
@import url("/style/header.css");
@import url("/style/footer.css");
@font-face {
font-family: "Monaspace Argon";
src: url("/font/monaspace-argon/MonaspaceArgonVarVF[wght,wdth,slnt].woff2") format("woff2-variations");
font-weight: 125 950;
font-stretch: 75% 125%;
font-style: oblique 0deg 20deg;
}
body {
margin: 0;
padding: 0;
background: #080808;
color: #eee;
font-family: "Monaspace Argon", monospace;
font-size: 18px;
text-shadow: 0 0 3em;
scroll-behavior: smooth;
}
a {
color: var(--links);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
small {
font-size: 1em;
color: #aaa;
}
span.newchar {
animation: newchar 0.25s;
}
@keyframes newchar {
from {
background: #fff8;
}
}
@keyframes list-item-fadein {
from {
opacity: 1;
background: #fff8;
}
to {
opacity: 1;
background: transparent;
}
}
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-image: linear-gradient(180deg, rgba(0,0,0,0) 15%, rgb(0, 0, 0) 40%, rgb(0, 0, 0) 60%, rgba(0,0,0,0) 85%);
background-size: 100vw .2em;
background-repeat: repeat;
opacity: .5;
pointer-events: none;
mix-blend-mode: overlay;
}
@media screen and (max-width: 780px) {
body {
font-size: 14px;
}
main {
margin-top: 4rem;
}
}