mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
CSS: Improve the contrast for the dark theme
This was reported by this tool: https://wave.webaim.org/
This commit is contained in:
parent
27763c3d70
commit
6ff9b806de
18
prettify.css
18
prettify.css
@ -26,14 +26,14 @@
|
||||
}
|
||||
|
||||
@media screen and ( prefers-color-scheme: dark ) {
|
||||
.str { color: #090; }
|
||||
.kwd { color: #009; }
|
||||
.com { color: #f77; }
|
||||
.typ { color: #b0b; }
|
||||
.lit { color: #0bb; }
|
||||
.pun { color: #bb0; }
|
||||
.str { color: #0d0; }
|
||||
.kwd { color: #00d; }
|
||||
.com { color: #f88; }
|
||||
.typ { color: #d0d; }
|
||||
.lit { color: #0dd; }
|
||||
.pun { color: #dd0; }
|
||||
.pln { color: #fff; }
|
||||
.tag { color: #77f; font-weight: bold; }
|
||||
.atn { color: #f7f; }
|
||||
.atv { color: #7f7; }
|
||||
.tag { color: #88f; font-weight: bold; }
|
||||
.atn { color: #f8f; }
|
||||
.atv { color: #8f8; }
|
||||
}
|
||||
|
17
xmpp.css
17
xmpp.css
@ -1706,6 +1706,10 @@
|
||||
background-color: #282828;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
color: red;
|
||||
}
|
||||
|
||||
figure.code,
|
||||
figure.code-example,
|
||||
figure.example {
|
||||
@ -1728,9 +1732,22 @@
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #4b3;
|
||||
}
|
||||
|
||||
a.standardsButton {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
ol.timeline {
|
||||
border-right: 0.1em solid #ccc;
|
||||
}
|
||||
|
||||
ol.timeline > li::after,
|
||||
ol.timeline > li::before {
|
||||
background: #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
Loading…
Reference in New Issue
Block a user