preferable color scheme

This commit is contained in:
yude 2020-06-07 08:37:28 +09:00
parent 716b87095a
commit 0bcaf5ecaa
No known key found for this signature in database
GPG Key ID: 4C88BB3A6AC6C214

View File

@ -11,12 +11,32 @@
<title>yude.moe</title> <title>yude.moe</title>
<style> <style>
body { body {
background-color: black;
color: white;
text-align: center; text-align: center;
font-family: 'Roboto Mono', monospace; font-family: 'Roboto Mono', monospace;
} }
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
a {
color: white
}
}
@media (prefers-color-scheme: light) {
body {
background-color: white;
color: black
}
a {
color: black
}
}
.flex { .flex {
padding: 2.5% 0; padding: 2.5% 0;
display: flex; display: flex;
@ -30,9 +50,7 @@
text-align: center; text-align: center;
} }
a {
color: white
}
.load { .load {
-webkit-animation: spin 4s linear infinite; -webkit-animation: spin 4s linear infinite;