Files
videospeed/options.css
Josh Patra 01b9b576eb dark mode
2025-07-22 13:19:14 -04:00

186 lines
2.8 KiB
CSS

body {
margin: 0;
padding-left: 15px;
padding-top: 53px;
font-family: sans-serif;
font-size: 12px;
color: rgb(48, 57, 66);
background-color: white;
}
h1,
h2,
h3 {
font-weight: normal;
line-height: 1;
user-select: none;
cursor: default;
}
h1 {
font-size: 1.5em;
margin: 21px 0 13px;
}
h3 {
font-size: 1.2em;
margin-bottom: 0.8em;
color: black;
}
p {
margin: 0.65em 0;
}
header {
position: fixed;
top: 0;
left: 15px;
right: 0;
border-bottom: 1px solid #eee;
background: linear-gradient(white, white 40%, rgba(255, 255, 255, 0.92));
}
header,
section {
min-width: 600px;
max-width: 738px;
}
section {
padding-left: 18px;
margin-top: 8px;
margin-bottom: 24px;
}
section h3 {
margin-left: -18px;
}
button {
-webkit-appearance: none;
position: relative;
margin: 0 1px 0 0;
padding: 0 10px;
min-width: 4em;
min-height: 2em;
background-image: linear-gradient(#ededed, #ededed 38%, #dedede);
border: 1px solid rgba(0, 0, 0, 0.25);
border-radius: 2px;
outline: none;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08),
inset 0 1px 2px rgba(255, 255, 255, 0.75);
color: #444;
text-shadow: 0 1px 0 rgb(240, 240, 240);
font: inherit;
user-select: none;
}
input[type="text"] {
width: 75px;
text-align: center;
}
.row {
margin: 5px 0px;
}
label {
display: inline-block;
width: 170px;
vertical-align: top;
}
#status {
color: #9d9d9d;
display: inline-block;
margin-left: 50px;
}
#faq {
margin-top: 2em;
}
select {
width: 170px;
}
.customForce {
display: none;
width: 250px;
}
.customKey {
color: transparent;
text-shadow: 0 0 0 #000000;
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
body {
background-color: #1a1a1a;
color: #e0e0e0;
}
h3 {
color: #ffffff;
}
header {
border-bottom: 1px solid #333;
background: linear-gradient(#1a1a1a, #1a1a1a 40%, rgba(26, 26, 26, 0.92));
}
button {
background-image: linear-gradient(#404040, #404040 38%, #353535);
border: 1px solid rgba(255, 255, 255, 0.25);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08),
inset 0 1px 2px rgba(0, 0, 0, 0.75);
color: #e0e0e0;
text-shadow: 0 1px 0 rgb(20, 20, 20);
}
button:hover {
background-image: linear-gradient(#4a4a4a, #4a4a4a 38%, #3f3f3f);
}
input[type="text"],
input[type="checkbox"],
select,
textarea {
background-color: #2a2a2a;
color: #e0e0e0;
border: 1px solid #555;
}
input[type="text"]:focus,
select:focus,
textarea:focus {
background-color: #333;
border-color: #777;
outline: none;
}
select option {
background-color: #2a2a2a;
color: #e0e0e0;
}
.customKey {
color: transparent;
text-shadow: 0 0 0 #e0e0e0;
}
#status {
color: #888;
}
a {
color: #66b3ff;
}
a:visited {
color: #cc99ff;
}
hr {
border-color: #333;
}
}