8000 Fix search form overflow; readability improvements · python/python-docs-theme@a49d94e · GitHub
[go: up one dir, main page]

Skip to content

Commit a49d94e

Browse files
authored
Fix search form overflow; readability improvements
1 parent 87f9f41 commit a49d94e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,14 @@ dl > dt span ~ em {
235235
div.body h3, div.body h4, div.body h5 {
236236
font-size: 1rem;
237237
}
238+
/* Override default styles to make more readable */
239+
div.body ul {
240+
padding-inline-start: 1rem;
241+
}
242+
div.body blockquote {
243+
margin-inline-start: 1rem;
244+
margin-inline-end: 0;
245+
}
238246
/* Remove sidebar and top related bar */
239247
div.related, .sphinxsidebar {
240248
display: none;
@@ -266,6 +274,7 @@ dl > dt span ~ em {
266274
top: 0;
267275
height: 40px;
268276
width: 100%;
277+
max-width: 100vw;
269278
padding: 0 1rem 0 45px;
270279
display: flex;
271280
align-items: center;
@@ -285,7 +294,6 @@ dl > dt span ~ em {
285294
5850 margin-right: 1rem;
286295
}
287296
.version_switcher_placeholder select {
288-
height: 30px;
289297
border-radius: 0;
290298
}
291299
.nav-content .search {

0 commit comments

Comments
 (0)
0