1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

Merge pull request #833 from Pukimaa/patch-1

[#804] Dark Mode
This commit is contained in:
Mike Linksvayer 2021-08-23 11:52:25 -07:00 committed by GitHub
commit b3b74f9efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,46 @@ 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 !important;
}
.site-footer {
color: #ccc !important;
}
.site-footer a {
color: #ddd !important;
}
.home h2 {
color: #c7cdce !important;
}
.license-body pre {
background-color: #131313 !important;
border: 1px solid #3e3e3e !important;
}
.note {
color: #9fa5a6 !important;
}
strong {
color: #bdbdbd !important;
}
button, input, optgroup, select, textarea {
color: black !important;
}
}
a {
color: #149ad4;
font-weight: bold;
@ -93,7 +133,7 @@ strong {
}
.home h2 span {
color: #f1f1f1;
color: rgba(127,127,127,10%);
font-size: 70px;
padding: 0 5px;
position: relative;