Skip to content

Commit abd7aeb

Browse files
authored
Merge pull request #2226 from Notenlish/fix-docs-search-bug
fix search page green background in dark theme
2 parents f5b674f + e6dc4f3 commit abd7aeb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/reST/themes/classic/static/pygame.css_t

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,20 @@ body {
7676
color: {{ theme_textcolor }};
7777
font-style: normal;
7878
font-family: {{ theme_bodyfont }};
79+
background-color: {{ theme_dark_bgcolor2 }};
7980
text-decoration: none;
8081
text-align: left;
8182
border-style: none;
83+
min-height: 100%;
84+
display: flex;
85+
flex-direction: column;
8286
}
8387
html {
8488
background-color: {{ theme_bgcolor }};
89+
height: 100vh;
90+
}
91+
html.dark-theme {
92+
background-color: {{ theme_dark_bgcolor }};
8593
}
8694
html.dark-theme body {
8795
color: {{ theme_dark_textcolor }};
@@ -249,6 +257,7 @@ input[type="submit"]{
249257
div.document {
250258
background-color: {{ theme_bgcolor }};
251259
overflow: hidden;
260+
flex-grow: 1
252261
}
253262
.dark-theme div.document {
254263
background-color: {{ theme_dark_bgcolor }};

docs/reST/themes/classic/theme.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dark_relbarbgcolor = #141414
2323
dark_relbartextcolor = #00ba10
2424
dark_relbarlinkcolor = #00ba10
2525
dark_bgcolor = #1E1E1E
26+
dark_bgcolor2 = #141414
2627
dark_textcolor = #EEEEEE
2728
dark_headbgcolor = #f2f2f2
2829
dark_headtextcolor = #20435c

0 commit comments

Comments
 (0)