mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
added DarkMode
This commit is contained in:
parent
b2e3f43e7f
commit
7d69089033
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user