Merge pull request #10635 from AnkityadavIITR/bug/docs-pages-section-dropdown-darkmode-unreadability

fix: Improve Text and Background Color Contrast in Dark Mode for Smaller Devices
This commit is contained in:
Adish M 2024-08-28 20:12:17 +05:30 committed by GitHub
commit 87378f6835
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 2 deletions

View file

@ -25115,4 +25115,4 @@
"integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="
}
}
}
}

View file

@ -338,4 +338,21 @@ img {
min-width: 200px;
/* Fixes #3856 */
}
}
}
@media (max-width: 1000px) {
/* Styles for screens smaller than 1000px */
[data-theme='dark'] .clean-btn{
background-color: #272729;
color: #fff;
border-radius: 4px;
box-shadow: none;
}
[data-theme='dark'] .table-of-contents {
background-color: #272729;
color: #272729;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
}