mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-13 13:03:41 +02:00

* wip: 2024-02-13T12:59:17+0100 (1707825557) * wip: 2024-02-21T03:16:48+0100 (1708481808) * wip: 2024-02-21T20:50:20+0100 (1708545020) * wip: 2024-02-21T20:50:20+0100 (1708545020) * wip: 2024-03-01T13:17:58+0100 (1709295478) * wip: 2024-03-06T12:06:58+0100 (1709723218) * wip: 2024-03-07T15:07:57+0100 (1709820477) * wip: 2024-03-09T01:36:44+0100 (1709944604) * wip: 2024-03-14T23:24:12+0100 (1710455052) * wip: 2024-03-28T18:27:40+0100 (1711646860) * wip: 2024-03-28T18:27:40+0100 (1711646860) * feat: create README * wip: 2024-04-01T12:21:45+0200 (1711966905)
105 lines
No EOL
1.6 KiB
CSS
Executable file
105 lines
No EOL
1.6 KiB
CSS
Executable file
/* # Overrides */
|
|
|
|
:root {
|
|
--primer-color-accent: 148, 255, 21;
|
|
--color-accent: rgb(var(--primer-color-accent));
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--padding);
|
|
}
|
|
|
|
/* # Sections */
|
|
|
|
/* ## Into */
|
|
|
|
section.intro h2 {
|
|
font-size: 25px;
|
|
}
|
|
|
|
section.intro h1 {
|
|
font-size: 40px;
|
|
color: var(--color-accent);
|
|
}
|
|
|
|
/* ## Divider */
|
|
|
|
main > hr {
|
|
border-color: rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
/* ## About */
|
|
|
|
section.about {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc(var(--padding) / 2);
|
|
}
|
|
|
|
section.about {
|
|
font-size: 16px;
|
|
}
|
|
|
|
section.about p:first-of-type:first-letter {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
margin-right: .1rem;
|
|
color: var(--color-accent);
|
|
}
|
|
|
|
section.about span.interests {
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
color: var(--color-accent);
|
|
animation: interests-hue 5s infinite linear;
|
|
}
|
|
|
|
/* ## Version */
|
|
|
|
section.version {
|
|
color: rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
/* # Interests */
|
|
|
|
div.interests {
|
|
transition: 300ms opacity;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
font-weight: bold;
|
|
pointer-events: none;
|
|
font-size: 60px;
|
|
color: var(--color-accent);
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
z-index: 200;
|
|
}
|
|
|
|
div.interests.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
div.interests p {
|
|
--text-shadow-blur: 30px;
|
|
|
|
transition: 300ms transform;
|
|
position: absolute;
|
|
text-shadow:
|
|
0 0 var(--text-shadow-blur) black,
|
|
0 0 var(--text-shadow-blur) black,
|
|
0 0 var(--text-shadow-blur) black,
|
|
0 0 var(--text-shadow-blur) black,
|
|
0 0 var(--text-shadow-blur) black;
|
|
}
|
|
|
|
@keyframes interests-hue {
|
|
to {
|
|
-webkit-filter: hue-rotate(360deg);
|
|
filter: hue-rotate(360deg);
|
|
}
|
|
} |