body { --text: #fff; --bg-main: #121212; --bg-secondary: #202020; --active: #fbc117; --space: 5px; --danger: #f04141; --danger-light: #f9d0d5; --dark-grey: #767676; --light-grey: #c3c3c3; } body { margin: auto; padding: 0; font-family: Sans-Serif; background-color: var(--bg-main); color: var(--text); } div.some-block input[type="checkbox"] { appearance: none; -moz-appearance: none; -webkit-appearance: none; } input[type="url"], input[type="text"], select { padding: 5px 10px; width: 350px; border-radius: 3px; box-sizing: border-box; margin-bottom: var(--space); background-color: var(--bg-main); border-style: solid; border-color: #767676; color: var(--text); } select { font-size: 16px; font-weight: bold; padding: 8px; background-color: var(--bg-secondary); border: none; margin: 0; width: auto; border-radius: 3px; } a.button * { vertical-align: middle; } a.button:hover { background-color: var(--active); color: var(--text); stroke: var(--text); } a.button:active { background-color: var(--active); box-shadow: 0 var(--space) var(--bg-main); transform: translateY(4px); } input:invalid { color: var(--danger); border-color: var(--danger); } .button svg { height: 18px; width: 18px; } section.option-block { width: 50%; margin: 0 50px; } body.option { display: flex; align-items: flex-start; padding: 40px; } section.links a { display: flex; align-items: center; font-size: 30px; text-decoration: none; color: white; margin: 20px 0; font-weight: bold; transition: 0.1s; } section.links a:hover, section.links a.selected { color: var(--active); } input[type="range"] { width: 350px; } ::placeholder { color: var(--text); opacity: 0.7; } #volume-value { color: var(--active); } /* \25BE */ hr { height: 2px; margin: 0 15px; background-color: rgb(77, 77, 77); border: none; } div.some-block { padding: 0 15px; justify-content: space-between; display: flex; align-items: center; margin-top: 10px; margin-bottom: 10px; } div.option-block { margin: 30px 0; } h4 { margin: 10px 0; font-size: 18px; } div.some-block h4 { margin: 0; } div.option-block h4 { margin-right: 5px; width: 80%; font-size: 18px; } div.option-block h1 { margin: 0; font-size: 28px; color: var(--active); } div.some-block input[type="checkbox"] { width: 48px; height: 25px; background-color: var(--light-grey); border-radius: 50px; transition: .4s; cursor: pointer; } div.some-block input[type="checkbox"]:checked { background-color: var(--active); } div.some-block input[type="checkbox"]::before { content: ""; display: inline-block; width: 20px; height: 20px; box-sizing: border-box; position: relative; top: 2.5px; left: 4px; height: 20px; background-color: white; border-radius: 50%; transition: .3s; } div.some-block input[type="checkbox"]:checked::before { left: 24px; } div.buttons { margin-bottom: 15px; } a.button { stroke: var(--text); display: block; border-radius: 5px; border: var(--active) solid 1px; color: var(--text); font-size: 12px; font-weight: bold; margin: 7.5px 15px; padding: 10px; text-align: center; text-decoration: none; cursor: pointer; transition-duration: 0.1s; } div.buttons-inline { display: flex; justify-content: end; padding: 0 15px; } a.button-inline { display: inline-block; margin: 7.5px 0; } a.button:hover { background-color: var(--active); color: var(--text); stroke: var(--text); } a.button:active { background-color: var(--active); box-shadow: 0 var(--space) var(--bg-main); transform: translateY(1px); } button.default { margin-left: 30px; background-color: transparent; border: none; color: white; padding: 5px; width: 34px; height: 34px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; } button svg { color: var(--text); } div.checklist div { justify-content: space-between; margin: 5px 15px; padding: 10px 0; display: flex; } button.add { background-color: transparent; border: none; padding: 0; margin: 0; text-decoration: none; display: inline-block; cursor: pointer; } .light-theme.popup, .light-theme .popup { background-color: var(--bg-secondary); } body.light-theme { --text: black; --bg-main: white; --bg-secondary: #fff; --active: #fb9817; } body.light-theme select { border: 1px solid black; } body.light-theme textarea { color: black; border: 1px solid #767676; } body.light-theme textarea:focus { outline: none; } body.light-theme a { color: black; } @media (prefers-color-scheme: light) { }