Files
saturn.gay/assets/css/styles.css
2025-09-05 21:51:32 +02:00

177 lines
2.8 KiB
CSS

@font-face {
font-family: "DIN";
src: url(../font/DIN.otf) format('opentype');
}
@font-face {
font-family: "DIN-light";
src: url(../font/DIN-light.woff) format('opentype');
}
@font-face {
font-family: "RoboMono";
src: url(assets/font/robotomono.woff2) format('woff2');
}
:root {
--bg-color: #fff;
--text-color: #000;
}
* {
font-family: "DIN-light", sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
}
.ascii-art {
font-family: "RoboMono", monospace;
white-space: pre;
line-height: 1.1;
margin-bottom: 2rem;
user-select: none;
color: var(--text-color);
transition: color 1s ease-in-out;
}
.ascii-art:hover {
animation: pulseWhite 1.5s infinite alternate;
}
@keyframes pulseWhite {
0% {
color: var(--text-color);
}
100% {
color: var(--bg-color);
}
}
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.rbottom {
position: fixed;
display: flex;
flex-direction: column;
align-items: flex-end;
right: 20px;
bottom: 20px;
padding: 10px;
user-select: none;
text-align: right;
}
.rbottom p {
margin: 0;
}
.rbottom img {
max-width: 60px;
margin-top: -30px;
}
.navbar {
position: fixed;
right: 50px;
top: 50px;
display: flex;
gap: 150px;
}
.navbar a {
position: relative;
font-family: "DIN-light", sans-serif;
font-size: 23px;
text-decoration: none;
color: var(--text-color);
}
.navbar a::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 2px;
background-color: var(--text-color);
transition: width 0.3s ease;
}
.navbar a:hover::after {
width: 100%;
}
.about-container {
text-align: left;
margin: 0;
padding: 0;
}
.about-container h1,
.about-container p {
margin: 0;
padding: 0;
}
.about-container h1 {
margin-bottom: 10px;
font-size: 45px;
}
.about-container p {
font-size: 20px;
}
.about-container p + p {
margin-top: 5px;
}
.members {
display: flex;
gap: 20px;
}
.members a {
text-decoration: none;
color: var(--text-color);;
padding: 5px 10px;
position: relative;
transition: all 0.3s ease;
font-size: 20px;
}
.members a::before {
content: "";
position: absolute;
inset: 0;
border: 2px dashed var(--text-color);
opacity: 0;
transform: scale(0.8);
transition: all 0.3s ease;
border-radius: 5px;
}
.members a:hover::before {
opacity: 1;
transform: scale(1);
}
.theme-switch {
cursor: pointer;
text-decoration: wavy;
}
body.dark-mode .theme-switch {
color: var(--text-color);
}