1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

added DarkMode

This commit is contained in:
Pukima 2021-06-12 17:01:43 +02:00 committed by GitHub
parent b2e3f43e7f
commit 7d69089033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,29 @@ body {
font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
body {
background: #212121;
color: #d0c8c1;
}
h1, h2, h3, h5 {
color: #dadada;
}
.site-footer {
color: #ccc;
}
.site-footer a {
color: #ddd;
}
.home h2 {
color: #b6bcbd;
}
}
a {
color: #149ad4;
font-weight: bold;