File size: 1,436 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}
body {
font-family: monospace;
color: white;
background-color: #0e0f0f;
@media (max-width: 1200px) {
font-size: 16px;
}
@media (max-width: 992px) {
font-size: 14px;
}
}
input.defaultCheckbox {
color: white;
}
input.defaultCheckbox::before {
content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.66662 10.115L12.7946 3.98633L13.7379 4.92899L6.66662 12.0003L2.42395 7.75766L3.36662 6.81499L6.66662 10.115Z' fill='white'/%3E%3C/svg%3E%0A");
fill: currentColor;
opacity: 0;
height: 16px;
width: 16px;
top: -2px;
position: absolute;
left: 50%;
transform: translate(-50%, 0px);
}
input.defaultCheckbox::before path {
fill: currentColor;
}
input:checked.defaultCheckbox::before {
opacity: 1;
}
.slide {
animation: slide_anim 0.5s;
}
@keyframes slide_anim {
from {
transform: translateX(50px);
opacity: 0.4;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.animation-opacity {
animation: opacity_anim 0.5s;
}
@keyframes opacity_anim {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
|