[Docs] Improve contrast for warnings in dark mode (#21928)

This commit is contained in:
3geek14 2023-09-05 22:00:14 -04:00 committed by GitHub
parent 7fb60519ee
commit e3c6467ab9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,15 @@
background-color: #555; background-color: #555;
} }
.markdown-section p.tip,
.markdown-section tr:nth-child(2n) { .markdown-section tr:nth-child(2n) {
background-color:#444; background-color:#444;
} }
.markdown-section p.tip {
background-color:#555;
color:#FFF;
}
.markdown-section tr { .markdown-section tr {
border-top: 1px solid #555; border-top: 1px solid #555;
} }
@ -16,7 +20,7 @@
} }
.markdown-section p.tip code { .markdown-section p.tip code {
background-color: #555; background-color: #333;
color: #fff; color: #fff;
} }