Skip to content

Commit 3287570

Browse files
committed
docs: Fix styling of literals in <dt> tags
1 parent 911e9b7 commit 3287570

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/_static/custom.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,17 @@
4040
font-size: 85% !important;
4141
}
4242

43-
/* reduce left-/right-padding of literals from 5px to 3px */
43+
/* reduce left/right padding of literals from 5px to 3px */
4444
.rst-content code.literal {
4545
padding-left: 3px !important;
4646
padding-right: 3px !important;
4747
}
4848

49+
/* reset font-size of literals inside the term definition (<dt>) in description lists */
50+
.rst-content dl dt code.literal {
51+
font-size: 100% !important;
52+
}
53+
4954
/* external links generated by the :rfc: role are surrounded by
5055
* <strong> tags which doesn't look good in floating text */
5156
.rst-content a.rfc strong {

0 commit comments

Comments
 (0)