homepage/style.css
2026-05-17 23:51:54 +02:00

127 lines
3.0 KiB
CSS

:root {
--bg-color: #050505;
--text-color: #00f3ff;
--card-bg: #0a0a0f;
--accent-color: #ff00ff;
--link-color: #ffd700;
--shadow: 0 0 20px rgba(0, 243, 255, 0.1);
--mono-font: 'SFMono-Regular', Consolas, Menlo, monospace;
}
@keyframes pulse-trace {
0%, 100% { opacity: 0.3; }
50% { opacity: 1; }
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: var(--mono-font);
background-color: var(--bg-color);
background-image: radial-gradient(rgba(19, 69, 72, 0.21) 1px, transparent 1px);
background-size: 18px 18px;
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.bento-grid {
display: grid;
max-width: 900px;
gap: 24px;
grid-template-columns: repeat(4, 1fr);
}
.card {
background: var(--card-bg);
padding: 24px;
border: 1px solid rgba(0, 243, 255, 0.15);
box-shadow: var(--shadow);
position: relative;
}
.profile { grid-column: span 4; display: flex; align-items: center; gap: 32px; }
.about, .interests, .links, .contact { grid-column: span 2; }
.card:hover {
border-color: var(--accent-color);
}
/* Navigation Blink - Restricted to the navigation card only */
.links::after {
content: "";
position: absolute;
top: 10px; right: 10px;
width: 6px; height: 6px;
background: var(--link-color);
box-shadow: 0 0 10px var(--link-color);
border-radius: 50%;
animation: pulse-trace 1s infinite;
}
.avatar {
width: 140px;
height: auto;
aspect-ratio: 3 / 4;
filter: brightness(1.2) contrast(1.2) sepia(1) hue-rotate(140deg);
border: 1px solid var(--text-color);
}
h1 {
margin: 0;
font-size: clamp(1.5rem, 5vw, 2.2rem);
color: #fff;
text-shadow: 2px 2px 0 var(--accent-color), -2px -2px 0 var(--text-color);
}
h2 {
font-size: 0.75rem;
text-transform: uppercase;
color: var(--accent-color);
margin-bottom: 16px;
margin-top: 0;
letter-spacing: 2px;
}
.greeting-mono {
font-size: 0.8rem;
color: var(--accent-color);
margin: 0;
font-weight: bold;
}
.greeting-mono span { opacity: 0.5; }
.link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link-grid a {
font-size: 0.75rem;
display: block;
padding: 8px;
border-left: 3px solid var(--text-color);
color: var(--link-color);
background: rgba(255, 255, 255, 0.02);
text-align: center;
}
.link-grid a:hover {
background: var(--text-color);
color: #000;
box-shadow: 0 0 10px var(--text-color);
}
.mono-addr { font-size: 0.85rem; color: #fff; border-bottom: 1px dashed var(--text-color); }
a { color: var(--link-color); text-decoration: none; }
a:hover { text-shadow: 0 0 8px var(--link-color); }
@media (max-width: 768px) {
.bento-grid { grid-template-columns: 1fr; }
.profile, .about, .interests, .links, .contact { grid-column: span 1; }
.profile { flex-direction: column; text-align: center; }
}