@writedocs/generator 0.10.5 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -146,10 +146,17 @@ const { nodes, hrefForSlug, currentSlug, depth = 0 } = Astro.props as Props;
|
|
|
146
146
|
.wd-nav-depth-0 {
|
|
147
147
|
margin-bottom: 1.25rem;
|
|
148
148
|
}
|
|
149
|
+
/* Space between a top-level group and whatever sits next to it - another
|
|
150
|
+
group, or a page outside any group - so each group reads as its own
|
|
151
|
+
block. */
|
|
152
|
+
.wd-nav-depth-0 > .wd-nav-group + li,
|
|
153
|
+
.wd-nav-depth-0 > li + .wd-nav-group {
|
|
154
|
+
margin-top: 2rem;
|
|
155
|
+
}
|
|
149
156
|
.wd-nav-section-title {
|
|
150
157
|
padding: 0;
|
|
151
158
|
margin-bottom: 0.4rem;
|
|
152
|
-
color: var(--wd-text
|
|
159
|
+
color: var(--wd-text);
|
|
153
160
|
font-size: 0.75rem;
|
|
154
161
|
font-weight: 600;
|
|
155
162
|
text-transform: uppercase;
|
|
@@ -208,7 +215,7 @@ const { nodes, hrefForSlug, currentSlug, depth = 0 } = Astro.props as Props;
|
|
|
208
215
|
margin: 0.1rem 0;
|
|
209
216
|
border-radius: 0 0.4rem 0.4rem 0;
|
|
210
217
|
text-decoration: none;
|
|
211
|
-
color: var(--wd-text
|
|
218
|
+
color: var(--wd-text);
|
|
212
219
|
font-size: 0.9rem;
|
|
213
220
|
}
|
|
214
221
|
/* Primary-tinted rather than a neutral surface gray - a faint preview
|
|
@@ -319,7 +326,7 @@ const { nodes, hrefForSlug, currentSlug, depth = 0 } = Astro.props as Props;
|
|
|
319
326
|
margin: 0.1rem 0;
|
|
320
327
|
border-radius: 0 0.4rem 0.4rem 0;
|
|
321
328
|
cursor: pointer;
|
|
322
|
-
color: var(--wd-text
|
|
329
|
+
color: var(--wd-text);
|
|
323
330
|
font-size: 0.9rem;
|
|
324
331
|
list-style: none;
|
|
325
332
|
}
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
text-decoration: none;
|
|
256
256
|
color: var(--wd-navbar-foreground);
|
|
257
257
|
font-size: 0.92rem;
|
|
258
|
-
font-weight:
|
|
258
|
+
font-weight: 500;
|
|
259
259
|
}
|
|
260
260
|
/* The selected tab: just its border-bottom, in --wd-navbar-accent (falls
|
|
261
261
|
back to --wd-primary - see BaseLayout.astro), landing on the row's
|
|
@@ -263,6 +263,7 @@
|
|
|
263
263
|
color. */
|
|
264
264
|
.wd-tab-link.active {
|
|
265
265
|
border-bottom-color: var(--wd-navbar-accent);
|
|
266
|
+
font-weight: 600;
|
|
266
267
|
}
|
|
267
268
|
/* Any tab on hover: a light background tint, the same as a sidebar item's
|
|
268
269
|
hover (see --wd-navbar-hover in BaseLayout.astro). The rounded top
|