mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
docs: fix background img dark mode opacity (#9157)
https://linear.app/unleash/issue/2-3200/update-docs-bottom-left-background-image-in-dark-mode The background mountain texture was a bit too striking visually. We should set an opacity of `0.06` in dark mode, the same as in Unleash dark mode. ### Before  ### After 
This commit is contained in:
parent
378bbe5133
commit
4d582aac5a
@ -249,6 +249,12 @@ main:after {
|
|||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html[data-theme="dark"] {
|
||||||
|
main:after {
|
||||||
|
opacity: 0.06;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 997px) {
|
@media (min-width: 997px) {
|
||||||
.show-when-collapsed {
|
.show-when-collapsed {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user