146 lines
2.6 KiB
CSS
146 lines
2.6 KiB
CSS
:root {
|
|
--color-text: #cdd6f4;
|
|
--color-subtext-1: #bac2de;
|
|
--color-subtext-0: #a6adc8;
|
|
--color-overlay-2: #9399b2;
|
|
--color-overlay-1: #7f849c;
|
|
--color-overlay-0: #6c7086;
|
|
--color-surface-2: #585b70;
|
|
--color-surface-1: #45475a;
|
|
--color-surface-0: #313244;
|
|
--color-base: #1e1e2e;
|
|
--color-mantle: #181825;
|
|
--color-crust: #11111b;
|
|
|
|
--color-lavender: #b4befe;
|
|
--color-mauve: #cba6f7;
|
|
--color-yellow: #f9e2af;
|
|
}
|
|
|
|
html {
|
|
color: var(--color-text);
|
|
font-family: sans-serif;
|
|
background: var(--color-surface-2);
|
|
|
|
&:before {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: -1;
|
|
content: '';
|
|
/* https://codepen.io/tomhermans/pen/wBvwomx */
|
|
background: radial-gradient(circle at 50% 30%, var(--color-yellow), 18%, var(--color-mauve), var(--color-lavender), 20%, var(--color-base), var(--color-crust));
|
|
background-size: cover;
|
|
filter: url(#dither);
|
|
transform: scale(1.3);
|
|
}
|
|
}
|
|
|
|
#container {
|
|
margin: 6rem auto;
|
|
max-width: 900px;
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
header {
|
|
color: var(--color-subtext-0);
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.headline {
|
|
background: radial-gradient(circle at center, var(--color-surface-0), 90%, transparent);
|
|
padding: 0.6rem 1.5rem;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
h2 {
|
|
font-size: 1.4rem;
|
|
color: var(--color-text)
|
|
}
|
|
|
|
small {
|
|
color: var(--color-lavender);
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
}
|
|
|
|
#pfp {
|
|
margin: 0 auto;
|
|
position: relative;
|
|
width: 250px;
|
|
height: 250px;
|
|
|
|
img {
|
|
border-radius: 10%;
|
|
width: 250px;
|
|
}
|
|
|
|
img.animated {
|
|
position: absolute;
|
|
left: 0;
|
|
opacity: 0;
|
|
cursor: not-allowed;
|
|
|
|
&:hover, &:active {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
main {
|
|
margin-top: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
|
|
.icons-only {
|
|
justify-content: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 2rem;
|
|
|
|
a {
|
|
transition: transform 100ms ease-out;
|
|
|
|
&:hover, &:focus, &:active {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
img {
|
|
height: 3rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.links {
|
|
a {
|
|
border-radius: 1rem;
|
|
background: var(--color-base);
|
|
display: block;
|
|
text-decoration: none;
|
|
position: relative;
|
|
height: 5rem;
|
|
|
|
img {
|
|
position: absolute;
|
|
height: 5rem;
|
|
}
|
|
|
|
span {
|
|
color: var(--color-text);
|
|
padding: 1rem;
|
|
font-size: 3rem;
|
|
text-align: center;
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|