Fix CNCF logo visibility for light/dark modes
Signed-off-by: Ayush More <ayushmore42595@gmail.com>
This commit is contained in:
@@ -1350,3 +1350,27 @@ h3.collapsible span.arrow {
|
||||
text-align: center;
|
||||
}
|
||||
/* End of Utility API Styling */
|
||||
|
||||
.cncf-logo.light-mode {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.cncf-logo.dark-mode {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* When system/browser is in dark mode */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.cncf-logo.light-mode {
|
||||
display: none !important;
|
||||
}
|
||||
.cncf-logo.dark-mode {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 5.9 KiB |
Reference in New Issue
Block a user