File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ tt , code , pre {
2
+ font-family : monospace, sans-serif;
3
+ font-size : 96.5% ;
4
+ }
5
+
6
+ .rst-content dl : not (.docutils ) tt .descname ,
7
+ .rst-content dl : not (.docutils ) tt .descclassname ,
8
+ .rst-content dl : not (.docutils ) tt .descname ,
9
+ .rst-content dl : not (.docutils ) code .descname ,
10
+ .rst-content dl : not (.docutils ) tt .descclassname ,
11
+ .rst-content dl : not (.docutils ) code .descclassname {
12
+ font-size : 130% !important ;
13
+ }
14
+
15
+ .rst-content dl : not (.docutils ) dl dt {
16
+ background : # fff ;
17
+ border : none;
18
+ margin : 0 ;
19
+ padding : 0 ;
20
+ }
Original file line number Diff line number Diff line change 114
114
# Add any paths that contain custom static files (such as style sheets) here,
115
115
# relative to this directory. They are copied after the builtin static files,
116
116
# so a file named "default.css" will overwrite the builtin "default.css".
117
- # html_static_path = ['_static']
117
+ html_static_path = ['_static' ]
118
+
119
+ def setup (app ):
120
+ app .add_stylesheet ("css/custom.css" )
118
121
119
122
# Allows the mod index to function more helpfully (not everything under 'e')
120
123
modindex_common_prefix = ['eth.' ]
Original file line number Diff line number Diff line change
1
+ Tweak layout of API docs to improve readability
You can’t perform that action at this time.
0 commit comments