mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
Merge pull request #1175 from Smankusors/gh-pages
Improve dark mode contrast on licenses page
This commit is contained in:
commit
1827f5f462
@ -15,36 +15,36 @@ body {
|
|||||||
background: #212121;
|
background: #212121;
|
||||||
color: #d0c8c1;
|
color: #d0c8c1;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h5 {
|
h1, h2, h3, h5 {
|
||||||
color: #dadada !important;
|
color: #dadada !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-footer {
|
.license-overview-description, .site-footer {
|
||||||
color: #ccc !important;
|
color: #ccc !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-footer a {
|
.license-rules li:hover, .site-footer a {
|
||||||
color: #ddd !important;
|
color: #ddd !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home h2 {
|
.home h2 {
|
||||||
color: #c7cdce !important;
|
color: #c7cdce !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.license-body pre {
|
.license-body pre {
|
||||||
background-color: #131313 !important;
|
background-color: #131313 !important;
|
||||||
border: 1px solid #3e3e3e !important;
|
border: 1px solid #3e3e3e !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note {
|
.note {
|
||||||
color: #9fa5a6 !important;
|
color: #9fa5a6 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
color: #bdbdbd !important;
|
color: #bdbdbd !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
button, input, optgroup, select, textarea {
|
button, input, optgroup, select, textarea {
|
||||||
color: black !important;
|
color: black !important;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ current = license_ids.include?(license)
|
|||||||
rows << ['Current license', current]
|
rows << ['Current license', current]
|
||||||
|
|
||||||
rows << :separator
|
rows << :separator
|
||||||
eligible = (!current && spdx && approved_licenses.include?(license))
|
eligible = !current && spdx && approved_licenses.include?(license)
|
||||||
rows << ['Eligible', eligible]
|
rows << ['Eligible', eligible]
|
||||||
|
|
||||||
puts Terminal::Table.new title: "License: #{license}", rows: rows
|
puts Terminal::Table.new title: "License: #{license}", rows: rows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user