|
6 | 6 | margin: var(--doc-margin); |
7 | 7 | max-width: var(--doc-max-width); |
8 | 8 | padding: 1rem; |
| 9 | + font-family: var(--body-font-family); |
9 | 10 | } |
10 | 11 |
|
11 | 12 | @media screen and (min-width: 1024px) { |
|
29 | 30 | hyphens: none; |
30 | 31 | line-height: 1.3; |
31 | 32 | margin: 1rem 0 0; |
| 33 | + font-family: var(--body-font-family); |
32 | 34 | } |
33 | 35 |
|
34 | 36 | .doc > h1.page:first-child { |
35 | | - font-size: calc(36 / var(--rem-base) * 1rem); |
36 | | - margin: 1.5rem 0; |
| 37 | + font-family: var(--body-font-family); |
| 38 | + font-weight: 800; |
| 39 | + font-size: 2rem; |
| 40 | + margin: 1.5rem 0 0.5rem; |
37 | 41 | } |
38 | 42 |
|
39 | 43 | @media screen and (min-width: 769px) { |
|
63 | 67 | } |
64 | 68 |
|
65 | 69 | .doc h2:not(.discrete) { |
| 70 | + font-family: var(--body-font-family); |
| 71 | + font-weight: 800; |
| 72 | + font-size: 1.75rem; |
66 | 73 | border-bottom: 1px solid var(--section-divider-color); |
67 | | - margin-left: -1rem; |
68 | | - margin-right: -1rem; |
| 74 | + margin: 1.5rem -1rem 0.5rem; |
69 | 75 | padding: 0.4rem 1rem 0.1rem; |
70 | 76 | } |
71 | 77 |
|
72 | | -.doc h3:not(.discrete), |
| 78 | +.doc h3:not(.discrete) { |
| 79 | + font-size: 1.5rem; |
| 80 | + font-weight: 800; |
| 81 | + margin: 1.25rem 0 0.5rem; |
| 82 | +} |
| 83 | + |
73 | 84 | .doc h4:not(.discrete) { |
74 | | - font-weight: var(--alt-heading-font-weight); |
| 85 | + font-size: 1.25rem; |
| 86 | + font-weight: 800; |
| 87 | + margin: 1rem 0 0.5rem; |
| 88 | +} |
| 89 | + |
| 90 | +.doc h5:not(.discrete) { |
| 91 | + font-size: 1.1rem; |
| 92 | + font-weight: 800; |
| 93 | + margin: 0.75rem 0 0.5rem; |
| 94 | +} |
| 95 | + |
| 96 | +.doc h6:not(.discrete) { |
| 97 | + font-size: 1rem; |
| 98 | + font-weight: 800; |
| 99 | + margin: 0.75rem 0 0.5rem; |
75 | 100 | } |
76 | 101 |
|
77 | 102 | .doc h1 .anchor, |
|
108 | 133 | visibility: visible; |
109 | 134 | } |
110 | 135 |
|
111 | | -.doc p, |
| 136 | +.doc p { |
| 137 | + font-size: 1rem; |
| 138 | + line-height: 1.65; |
| 139 | + margin: 0 0 1.5rem 0; |
| 140 | + font-weight: 500; |
| 141 | +} |
| 142 | + |
112 | 143 | .doc dl { |
113 | 144 | margin: 0; |
114 | 145 | } |
115 | 146 |
|
116 | 147 | .doc a { |
117 | 148 | color: var(--link-font-color); |
| 149 | + text-decoration: underline; |
| 150 | + text-decoration-thickness: 1px; |
| 151 | + text-underline-offset: 2px; |
118 | 152 | } |
119 | 153 |
|
120 | 154 | .doc a:hover { |
121 | 155 | color: var(--link_hover-font-color); |
| 156 | + text-decoration-thickness: 2px; |
122 | 157 | } |
123 | 158 |
|
124 | 159 | .doc a.bare { |
|
137 | 172 | .doc p code, |
138 | 173 | .doc thead code, |
139 | 174 | .doc .colist > table code { |
140 | | - color: var(--code-font-color); |
141 | | - background: var(--code-background); |
| 175 | + color: var(--jenkins-error-red); |
| 176 | + background: transparent; |
142 | 177 | border-radius: 0.25em; |
143 | 178 | font-size: 0.95em; |
144 | 179 | padding: 0.125em 0.25em; |
| 180 | + font-weight: 600; |
| 181 | + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
145 | 182 | } |
146 | 183 |
|
147 | 184 | .doc code, |
|
281 | 318 | border-top-width: 0; |
282 | 319 | } |
283 | 320 |
|
284 | | -/* NOTE let the grid win in case of frame-none */ |
285 | 321 | .doc table.frame-sides > :last-child > :last-child > * { |
286 | 322 | border-bottom-width: 0; |
287 | 323 | } |
|
332 | 368 | } |
333 | 369 |
|
334 | 370 | .doc .admonitionblock { |
335 | | - font-family: |
336 | | - system-ui, |
337 | | - -apple-system, |
338 | | - BlinkMacSystemFont, |
339 | | - "Segoe UI", |
340 | | - Roboto, |
341 | | - Oxygen, |
342 | | - Ubuntu, |
343 | | - Cantarell, |
344 | | - "Open Sans", |
345 | | - "Helvetica Neue", |
346 | | - sans-serif; |
| 371 | + font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; |
347 | 372 | margin: 1.4rem 0 0; |
348 | 373 | } |
349 | 374 |
|
|
894 | 919 | margin-top: 0; |
895 | 920 | } |
896 | 921 |
|
897 | | -/* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */ |
898 | 922 | .doc .tableblock pre, |
899 | 923 | .doc .listingblock.wrap pre { |
900 | 924 | white-space: pre-wrap; |
|
908 | 932 | overflow-x: auto; |
909 | 933 | padding: 0.875em; |
910 | 934 | background-color: #e7f3ff; |
911 | | - font-family: |
912 | | - Source Code Pro, |
913 | | - monospace; |
| 935 | + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
914 | 936 | box-shadow: |
915 | 937 | rgba(255, 255, 255, 0.02) 0 1px 3px 0, |
916 | 938 | rgba(27, 31, 35, 0.15) 0 0 0 1px; |
|
1095 | 1117 |
|
1096 | 1118 | .doc b.button { |
1097 | 1119 | white-space: nowrap; |
1098 | | - /* effectively ignores hyphens setting */ |
1099 | 1120 | } |
1100 | 1121 |
|
1101 | 1122 | .doc b.button::before { |
|
1120 | 1141 | padding: 0.25em 0.5em; |
1121 | 1142 | vertical-align: text-bottom; |
1122 | 1143 | white-space: nowrap; |
1123 | | - /* effectively ignores hyphens setting */ |
1124 | 1144 | } |
1125 | 1145 |
|
1126 | 1146 | .doc kbd, |
|
0 commit comments