93 lines
1.3 KiB
CSS
93 lines
1.3 KiB
CSS
@import '@fontsource/fira-mono';
|
|
|
|
:root {
|
|
font-family: 'Syne Mono', monospace;
|
|
--pure-white: #ffffff;
|
|
--primary-color: #642aa7;
|
|
--secondary-color: #5c0ac7;
|
|
--tertiary-color: #385196;
|
|
--accent-color: #4b0981;
|
|
--heading-color: rgba(0, 0, 0, 0.7);
|
|
--background-without-opacity: rgba(8, 4, 4, 0.7);
|
|
--column-width: 42rem;
|
|
--column-margin-top: 4rem;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
background-color: var(--primary-color);
|
|
background: linear-gradient(
|
|
180deg,
|
|
var(--primary-color) 0%,
|
|
var(--secondary-color) 10.45%,
|
|
var(--tertiary-color) 41.35%
|
|
);
|
|
}
|
|
|
|
body::before {
|
|
content: '';
|
|
width: 80vw;
|
|
height: 100vh;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 10vw;
|
|
z-index: -1;
|
|
background: radial-gradient(
|
|
50% 50% at 50% 50%,
|
|
var(--pure-white) 0%,
|
|
rgba(255, 255, 255, 0) 100%
|
|
);
|
|
opacity: 0.05;
|
|
}
|
|
|
|
#svelte {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
p {
|
|
font-weight: 800;
|
|
color: var(--heading-color);
|
|
}
|
|
|
|
p {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
input,
|
|
button {
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
}
|
|
|
|
button:focus:not(:focus-visible) {
|
|
outline: none;
|
|
}
|
|
|
|
@media (min-width: 720px) {
|
|
h1 {
|
|
font-size: 2.4rem;
|
|
}
|
|
}
|