File tree Expand file tree Collapse file tree 1 file changed +38
-6
lines changed
src/mkdocstrings_handlers/python/templates/material Expand file tree Collapse file tree 1 file changed +38
-6
lines changed Original file line number Diff line number Diff line change 1- /* Don't capitalize names. */
2- h5 .doc-heading {
3- text-transform : none !important ;
4- }
5-
6- /* Avoid breaking parameters name, etc. in table cells. */
1+ /* Avoid breaking parameter names, etc. in table cells. */
72.doc-contents td code {
83 word-break : normal !important ;
94}
@@ -28,4 +23,41 @@ h5.doc-heading {
2823/* Defaults in Spacy table style. */
2924.doc-param-default {
3025 float : right;
26+ }
27+
28+ /* Keep headings consistent. */
29+ h1 .doc-heading ,
30+ h2 .doc-heading ,
31+ h3 .doc-heading ,
32+ h4 .doc-heading ,
33+ h5 .doc-heading ,
34+ h6 .doc-heading {
35+ font-weight : 400 ;
36+ line-height : 1.5 ;
37+ color : inherit;
38+ text-transform : none;
39+ }
40+
41+ h1 .doc-heading {
42+ font-size : 1.6rem ;
43+ }
44+
45+ h2 .doc-heading {
46+ font-size : 1.2rem ;
47+ }
48+
49+ h3 .doc-heading {
50+ font-size : 1.15rem ;
51+ }
52+
53+ h4 .doc-heading {
54+ font-size : 1.10rem ;
55+ }
56+
57+ h5 .doc-heading {
58+ font-size : 1.05rem ;
59+ }
60+
61+ h6 .doc-heading {
62+ font-size : 1rem ;
3163}
You can’t perform that action at this time.
0 commit comments