|
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. */ |
7 | 2 | .doc-contents td code { |
8 | 3 | word-break: normal !important; |
9 | 4 | } |
@@ -28,4 +23,41 @@ h5.doc-heading {
|
28 | 23 | /* Defaults in Spacy table style. */ |
29 | 24 | .doc-param-default { |
30 | 25 | 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; |
31 | 63 | } |