|
1 | 1 | .paramWrapper { |
2 | 2 | border-bottom: 1px solid var(--general-gray-light); |
3 | | - padding-bottom: 1.5rem; |
4 | | - margin-bottom: 1rem; |
| 3 | + padding-bottom: 1rem; |
| 4 | + margin-bottom: 0.8rem; |
5 | 5 | } |
6 | 6 |
|
7 | 7 | .borderWrapper { |
8 | 8 | border-bottom: 1px solid var(--general-gray-light); |
9 | | - padding-top: 2rem; |
10 | | - padding-bottom: 1rem; |
| 9 | + padding-top: 1.5rem; |
| 10 | + padding-bottom: 0.8rem; |
11 | 11 | } |
12 | 12 |
|
13 | 13 | .schemaWrapper { |
14 | | - padding: 1.6rem 0; |
| 14 | + padding: 1rem 0; |
15 | 15 | } |
16 | 16 |
|
17 | 17 | .schemaHeader { |
18 | 18 | display: flex; |
19 | 19 | align-items: baseline; |
20 | 20 | gap: 0.8rem; |
21 | | - margin-bottom: 0.3rem; |
| 21 | + margin-bottom: 0.2rem; |
| 22 | + |
| 23 | + h5 { |
| 24 | + font-size: 1.4rem; |
| 25 | + } |
22 | 26 | } |
23 | 27 |
|
24 | 28 | .textAltColor { |
25 | 29 | color: var(--general-gray-dark); |
26 | 30 | font-style: italic; |
27 | | - font-size: 1.3rem; |
| 31 | + font-size: 1.2rem; |
28 | 32 |
|
29 | 33 | [data-theme='dark'] & { |
30 | 34 | color: var(--general-gray); |
|
38 | 42 |
|
39 | 43 | .description { |
40 | 44 | color: var(--general-gray-dark); |
| 45 | + font-size: 1.4rem; |
41 | 46 |
|
42 | 47 | [data-theme='dark'] & { |
43 | 48 | color: var(--general-gray); |
44 | 49 | } |
45 | 50 | } |
46 | 51 |
|
47 | 52 | .paramItemWrapper { |
48 | | - padding: 0 1.6rem; |
| 53 | + padding: 0 1.2rem; |
49 | 54 |
|
50 | 55 | .borderTopLine { |
51 | 56 | border-top: 1px solid transparent; |
|
57 | 62 | } |
58 | 63 |
|
59 | 64 | .propItemWrapper { |
60 | | - margin-top: 0.8rem; |
| 65 | + margin-top: 0.5rem; |
61 | 66 | } |
62 | 67 |
|
63 | 68 | .propItemLabel { |
64 | 69 | font-weight: 500; |
65 | | - font-size: 1.4rem; |
| 70 | + font-size: 1.2rem; |
66 | 71 | color: var(--general-gray-dark); |
67 | 72 | margin-right: 0.4rem; |
68 | 73 |
|
|
73 | 78 |
|
74 | 79 | .propItemValue { |
75 | 80 | font-family: var(--font-mm-sans-mono); |
76 | | - font-size: 1.4rem; |
| 81 | + font-size: 1.2rem; |
77 | 82 | color: var(--general-black); |
78 | 83 | background-color: var(--ifm-code-background); |
79 | 84 | padding: 0.2rem 0.4rem; |
|
89 | 94 | display: inline-block; |
90 | 95 | background-color: var(--general-white-off); |
91 | 96 | border: 1px solid var(--general-gray-light); |
92 | | - border-radius: 0.4rem; |
93 | | - padding: 0.3rem 0.6rem; |
94 | | - margin-left: 0.8rem; |
95 | | - font-size: 1rem; |
96 | | - line-height: 1.2; |
| 97 | + border-radius: 0.3rem; |
| 98 | + padding: 0.1rem 0.4rem; |
| 99 | + margin-left: 0.5rem; |
| 100 | + font-size: 0.9rem; |
| 101 | + line-height: 1.1; |
97 | 102 | vertical-align: baseline; |
98 | 103 |
|
99 | 104 | [data-theme='dark'] & { |
|
105 | 110 | .patternLabel { |
106 | 111 | font-weight: 500; |
107 | 112 | color: var(--general-gray-dark); |
108 | | - margin-right: 0.3rem; |
| 113 | + margin-right: 0.2rem; |
109 | 114 |
|
110 | 115 | [data-theme='dark'] & { |
111 | 116 | color: var(--general-gray); |
|
123 | 128 |
|
124 | 129 | .paramSeparator { |
125 | 130 | border: none; |
126 | | - border-top: 1px solid var(--general-gray-light); |
127 | | - margin: 2rem 0; |
| 131 | + border-top: 1px dotted var(--general-gray-light); |
| 132 | + margin: 0.6rem 0; |
128 | 133 | height: 0; |
| 134 | + opacity: 0.6; |
129 | 135 |
|
130 | 136 | [data-theme='dark'] & { |
131 | 137 | border-top-color: var(--general-black-light); |
| 138 | + opacity: 0.7; |
132 | 139 | } |
133 | 140 | } |
134 | 141 |
|
|
173 | 180 | } |
174 | 181 |
|
175 | 182 | .heading1 { |
176 | | - font-size: 2.4rem; |
| 183 | + font-size: 2.7rem !important; |
177 | 184 | line-height: 133.333%; |
178 | 185 | } |
179 | 186 |
|
180 | 187 | .heading2 { |
181 | | - font-size: 2rem; |
| 188 | + font-size: 2.3rem !important; |
182 | 189 | line-height: 140%; |
183 | 190 | } |
184 | 191 |
|
185 | 192 | .headingSmall { |
186 | | - font-size: 1.8rem; |
| 193 | + font-size: 1.5rem !important; |
| 194 | +} |
| 195 | + |
| 196 | +// Target the actual HTML structure in the parser component |
| 197 | +:global(.colContentWrap_src-components-ParserOpenRPC-global-module) { |
| 198 | + h1 { |
| 199 | + font-size: 2.7rem !important; |
| 200 | + } |
| 201 | + |
| 202 | + h2 { |
| 203 | + font-size: 2.3rem !important; |
| 204 | + } |
| 205 | + |
| 206 | + h3 { |
| 207 | + font-size: 1.5rem !important; |
| 208 | + } |
| 209 | + |
| 210 | + h4 { |
| 211 | + font-size: 1.4rem !important; |
| 212 | + } |
| 213 | + |
| 214 | + h5 { |
| 215 | + font-size: 1.4rem !important; |
| 216 | + } |
| 217 | +} |
| 218 | + |
| 219 | +// Target utility classes that might be overriding |
| 220 | +:global(.type-paragraph-m) { |
| 221 | + h1 { |
| 222 | + font-size: 2.7rem !important; |
| 223 | + } |
| 224 | + |
| 225 | + h2 { |
| 226 | + font-size: 2.3rem !important; |
| 227 | + } |
| 228 | + |
| 229 | + h3 { |
| 230 | + font-size: 1.5rem !important; |
| 231 | + } |
| 232 | + |
| 233 | + h4 { |
| 234 | + font-size: 1.4rem !important; |
| 235 | + } |
| 236 | + |
| 237 | + h5 { |
| 238 | + font-size: 1.4rem !important; |
| 239 | + } |
| 240 | +} |
| 241 | + |
| 242 | +// More specific targeting for the parser content area |
| 243 | +:global([id='centerContent']) { |
| 244 | + h1 { |
| 245 | + font-size: 2.7rem !important; |
| 246 | + } |
| 247 | + |
| 248 | + h2 { |
| 249 | + font-size: 2.3rem !important; |
| 250 | + } |
| 251 | + |
| 252 | + h3 { |
| 253 | + font-size: 1.5rem !important; |
| 254 | + } |
| 255 | +} |
| 256 | + |
| 257 | +// Additional specificity for heading elements within the parser component |
| 258 | +:global(.parserOpenRPC) { |
| 259 | + h1 { |
| 260 | + font-size: 2.7rem !important; |
| 261 | + } |
| 262 | + |
| 263 | + h2 { |
| 264 | + font-size: 2.3rem !important; |
| 265 | + } |
| 266 | + |
| 267 | + h3 { |
| 268 | + font-size: 1.5rem !important; |
| 269 | + } |
| 270 | +} |
| 271 | + |
| 272 | +// Target specific heading classes that might be used |
| 273 | +:global(.type-heading-l), |
| 274 | +:global(.type-heading-m), |
| 275 | +:global(.type-heading-s) { |
| 276 | + &.heading1 { |
| 277 | + font-size: 2.7rem !important; |
| 278 | + } |
| 279 | + |
| 280 | + &.heading2 { |
| 281 | + font-size: 2.3rem !important; |
| 282 | + } |
| 283 | + |
| 284 | + &.headingSmall { |
| 285 | + font-size: 1.5rem !important; |
| 286 | + } |
187 | 287 | } |
188 | 288 |
|
189 | 289 | .tagList { |
|
220 | 320 |
|
221 | 321 | .methodSummary { |
222 | 322 | font-style: italic; |
| 323 | + font-size: 1.4rem; |
223 | 324 | } |
224 | 325 |
|
225 | 326 | .methodDescription, |
226 | 327 | .noParamsDescription { |
227 | | - font-size: 1.6rem; |
| 328 | + font-size: 1.4rem; |
228 | 329 | } |
229 | 330 |
|
230 | 331 | // Styles for markdown content rendered by MDContent component |
|
0 commit comments