Skip to content

Commit d8ff02e

Browse files
committed
Change logo when on dark mode
1 parent b85311e commit d8ff02e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scripts/md2html/main.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,17 @@ a.bibref {
8383
img {
8484
background: transparent;
8585
}
86+
87+
.logo img {
88+
display: none;
89+
}
90+
91+
.logo::before {
92+
content: "";
93+
display: inline-block;
94+
height: 48px;
95+
width: 200px;
96+
background: url("https://raw.githubusercontent.com/OAI/OpenAPI-Style-Guide/refs/heads/main/graphics/bitmap/OpenAPI_Logo_White.png") no-repeat center / contain;
97+
vertical-align: middle;
98+
}
8699
}

0 commit comments

Comments
 (0)