| :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; |
| } |
| } |
|
|