Skip to content

Commit 304a190

Browse files
committed
More docs styling improvements
1 parent d609cea commit 304a190

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

website/static/docs-css/custom.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ h1 {
1313
margin-top: 0;
1414
}
1515

16+
i {
17+
font-style: normal;
18+
}
19+
1620
body,
1721
.mainContainer,
1822
nav.toc .toggleNav,
@@ -134,6 +138,12 @@ table thead tr:nth-of-type(odd) {
134138
/* Search */
135139
input#search_input_react {
136140
line-height: 25px;
141+
border-radius: 4px;
142+
}
143+
144+
input#search_input_react:focus,
145+
input#search_input_react:active {
146+
background-color: #a91b1c;
137147
}
138148

139149
@media (max-width: 375px) {
@@ -183,13 +193,31 @@ input#search_input_react {
183193
margin: 0 10px;
184194
}
185195

196+
.docsNavContainer {
197+
height: unset;
198+
}
199+
186200
.docOnPageNav,
187201
.separateOnPageNav .docsNavContainer {
188202
flex: 1 0 180px;
189203
}
190204
}
191205

192206
@media only screen and (max-width: 1023px) {
207+
.mainContainer {
208+
padding-top: 50px;
209+
}
210+
}
211+
212+
@media only screen and (max-width: 1024px) {
213+
.reactNavSearchWrapper input#search_input_react {
214+
line-height: 25px;
215+
border-radius: 4px;
216+
}
217+
.reactNavSearchWrapper input#search_input_react:focus,
218+
.reactNavSearchWrapper input#search_input_react:active {
219+
background-color: #a91b1c;
220+
}
193221
}
194222

195223
@media only screen and (min-width: 1400px) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy