2024-07-20 21:18:41 +01:00
|
|
|
:root {
|
|
|
|
font-family: monospace;
|
2024-07-20 21:36:31 +01:00
|
|
|
--text: #4c4f69;
|
|
|
|
--base: #eff1f5;
|
2024-07-20 21:18:41 +01:00
|
|
|
--background-color: #f0f0f0;
|
|
|
|
}
|
|
|
|
|
2024-07-20 21:36:31 +01:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--text: #cdd6f4;
|
|
|
|
--base: #1e1e2e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-20 21:18:41 +01:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
opacity: 1;
|
|
|
|
background-image: radial-gradient(#000000 0.5px, #f0f0f0 0.5px);
|
|
|
|
background-size: 10px 10px;
|
2024-07-20 21:36:31 +01:00
|
|
|
color: var(--text);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
|
|
|
background-color: #1e1e2e;
|
|
|
|
opacity: 1;
|
|
|
|
background-image: radial-gradient(#585b70 0.5px, #1e1e2e 0.5px);
|
|
|
|
background-size: 10px 10px;
|
|
|
|
}
|
2024-07-20 21:18:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin: 0;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
font-weight: 800;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: start;
|
|
|
|
}
|
|
|
|
|
2024-07-20 23:09:01 +01:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
.container {
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1024px) {
|
|
|
|
.container {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-20 21:18:41 +01:00
|
|
|
.button-container {
|
|
|
|
margin-top: 2rem;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
2024-07-20 21:36:31 +01:00
|
|
|
border: 2px solid var(--text);
|
|
|
|
background: var(--base);
|
2024-07-20 21:18:41 +01:00
|
|
|
position: relative;
|
|
|
|
font-family: monospace;
|
|
|
|
font-weight: 800;
|
|
|
|
padding: 0.5rem 1rem;
|
2024-07-20 21:36:31 +01:00
|
|
|
color: var(--text);
|
2024-07-20 21:18:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:hover {
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
background-size: 10px 10px;
|
|
|
|
background-image: repeating-linear-gradient(
|
|
|
|
45deg,
|
|
|
|
#c9c9c9 0,
|
|
|
|
#c9c9c9 1px,
|
|
|
|
#f0f0f0 0,
|
|
|
|
#f0f0f0 50%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2024-07-20 21:36:31 +01:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.button:hover {
|
|
|
|
background-color: #1e1e2e;
|
|
|
|
opacity: 1;
|
|
|
|
background-size: 10px 10px;
|
|
|
|
background-image: repeating-linear-gradient(
|
|
|
|
45deg,
|
|
|
|
#585b70 0,
|
|
|
|
#585b70 1px,
|
|
|
|
#1e1e2e 0,
|
|
|
|
#1e1e2e 50%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-20 21:18:41 +01:00
|
|
|
.button:active {
|
2024-07-20 21:36:31 +01:00
|
|
|
background: var(--text) !important;
|
|
|
|
color: var(--base);
|
2024-07-20 23:09:01 +01:00
|
|
|
transform: translate(4px, 4px);
|
2024-07-20 21:18:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:active::after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button:after {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
margin: -2px;
|
|
|
|
width: inherit;
|
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
right: -1px;
|
|
|
|
bottom: -1px;
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
content: "";
|
2024-07-20 21:36:31 +01:00
|
|
|
background-color: var(--text);
|
2024-07-20 21:18:41 +01:00
|
|
|
z-index: -1;
|
|
|
|
transform: translate(2px, 2px);
|
|
|
|
}
|
2024-07-20 21:36:31 +01:00
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.button:after {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|