Skip to content

Commit 369ad04

Browse files
author
Remy Wang
committed
Add styling rule to field-list for vertical alignment
1 parent 3434208 commit 369ad04

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,10 @@ div.footer a:hover {
426426
color: #0095c4;
427427
}
428428

429+
dl.field-list > dt {
430+
align-self: center;
431+
}
432+
429433
/* C API return value annotations */
430434
:root {
431435
--refcount: var(--good-color);

python_docs_theme/static/pydoctheme_dark.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ span.highlighted {
7777
/* Below for most things in text */
7878

7979
dl.field-list > dt {
80+
align-self: center;
8081
background-color: #434;
8182
}
8283

0 commit comments

Comments
 (0)