Added: auto darkmode
This commit is contained in:
29
index.html
29
index.html
@@ -80,6 +80,35 @@
|
||||
#eta {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #0e1e17;
|
||||
}
|
||||
#wrap {
|
||||
background-color: #162b22;
|
||||
}
|
||||
|
||||
button {
|
||||
background-color: #334940;
|
||||
}
|
||||
|
||||
#result,
|
||||
#resultDone,
|
||||
#eta {
|
||||
color: #1c704b;
|
||||
}
|
||||
|
||||
progress {
|
||||
background-color: #053a23;;
|
||||
}
|
||||
progress::-webkit-progress-bar {
|
||||
background-color: #053a23;
|
||||
}
|
||||
proress::-moz-progress-bar {
|
||||
background-color: #053a23;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user