Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 239ea80

Browse files
author
james
committed
add new css styles
1 parent 7e6fa7b commit 239ea80

1 file changed

Lines changed: 27 additions & 8 deletions

File tree

docs/language/global-sphinx-files/_static/custom.css_t

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ div.linkbar {
7676
text-decoration: underline;
7777
}
7878

79+
div.footer {
80+
width: 100%;
81+
}
7982

8083
/* CODEQL DOCUMENTATION AND SEARCHBOX BANNER ---------------------------------------------------------- */
8184

@@ -156,6 +159,10 @@ div.body li {
156159

157160
/* -- SIDEBAR ------------------------------------------------------------------------------- */
158161

162+
.SideNav {
163+
height: 100vh;
164+
}
165+
159166
div.navBox {
160167
width:29%;
161168
padding-left: 25px;
@@ -190,6 +197,20 @@ div.navBox {
190197
text-decoration: underline;
191198
}
192199

200+
/* -- BREADCRUMBS --------------------------------------------------------------------------------*/
201+
202+
div.related ul {
203+
padding: 0;
204+
}
205+
206+
a.reference {
207+
border-bottom: none;
208+
}
209+
210+
a.reference:hover {
211+
text-decoration: none;
212+
}
213+
193214
/* -- SIDEBAR TOC ----------------------------------------------------------------------------------*/
194215

195216
#toc h1 {
@@ -201,12 +222,13 @@ div.navBox {
201222
/* -- SMALL SCREEN ------------------------------------------------------------------------------- */
202223

203224
@media screen and (max-width: 875px){
204-
225+
/* Override strange behaviour caused by default styles */
205226
body {
206-
margin: 0;
207227
padding: 0;
208-
overflow: inherit;
209-
width: 100%;
228+
}
229+
230+
div.footer {
231+
display: block;
210232
}
211233

212234
#siteBanner {
@@ -266,9 +288,6 @@ div.navBox {
266288
padding-left:0;
267289
}
268290

269-
div.body {
270-
min-width: unset;
271-
}
272291

273292
ul {
274293
margin: 10px 20px 10px 20px;
@@ -489,4 +508,4 @@ blockquote.pull-quote > :last-child {
489508

490509
.toggle .name.open:after {
491510
content: " ▼";
492-
}
511+
}

0 commit comments

Comments
 (0)