You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/md2html/main.css
+39-8Lines changed: 39 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -73,27 +73,58 @@ a.bibref {
73
73
}
74
74
75
75
@media (prefers-color-scheme: dark) {
76
-
pre,
77
-
tabletr:nth-child(2n),
78
-
tabletr {
76
+
body.darkmode {
77
+
--toclink-underline:#6a9000;
78
+
--toclink-visited-underline:#fff;
79
+
}
80
+
81
+
body.darkmodea,
82
+
body.darkmode .tocxref,
83
+
body.darkmode .u-url {
84
+
color:#6a9000;
85
+
}
86
+
87
+
body.darkmodecode {
88
+
color:#e66c33;
89
+
}
90
+
91
+
body.darkmode:not(.toc-inline) #toch2,
92
+
body.darkmodeh1,
93
+
body.darkmodeh2,
94
+
body.darkmodeh3,
95
+
body.darkmodeh4,
96
+
body.darkmodeh5,
97
+
body.darkmodeh6,
98
+
body.darkmode#title,
99
+
body.darkmode#subtitle,
100
+
body.darkmode .toc-inline,
101
+
body.darkmode .dt-published {
102
+
color:#7bb01c;
103
+
}
104
+
105
+
body.darkmodepre,
106
+
body.darkmodetabletr:nth-child(2n),
107
+
body.darkmodetabletr {
79
108
background-color:#1e1e1e!important;
80
109
color:#dcdcdc;
81
110
}
82
111
83
-
img {
112
+
body.darkmodeimg {
84
113
background: transparent;
85
114
}
86
115
87
-
.logoimg {
116
+
body.darkmode.logoimg {
88
117
display: none;
89
118
}
90
119
91
-
.logo::before {
120
+
body.darkmode.logo::before {
92
121
content:"";
93
122
display: inline-block;
94
123
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;
124
+
width:175px;
125
+
background:url("https://raw.githubusercontent.com/OAI/OpenAPI-Style-Guide/refs/heads/main/graphics/bitmap/OpenAPI_Logo_Pantone.png") no-repeat center / contain;
0 commit comments