mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-18 13:39:05 +03:00
doc: fix invisible text if browser is set to prefer dark mode
This commit is contained in:
1 parent
ebb8f07796
commit
32c124f7d5
1 file changed
+23
@@ -45,3 +45,26 @@ a.st-synopsis:visited {
|
||||
a.st-synopsis:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Set appropriate text colors if dark mode is used. */
|
||||
@media(prefers-color-scheme: dark) {
|
||||
body pre {
|
||||
color: deepskyblue;
|
||||
}
|
||||
|
||||
a.st-desc {
|
||||
color: white;
|
||||
}
|
||||
|
||||
a.st-desc:visited {
|
||||
color: white;
|
||||
}
|
||||
|
||||
a.st-synopsis {
|
||||
color: white;
|
||||
}
|
||||
|
||||
a.st-synopsis:visited {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user