@devslab/site-kit 0.17.1 → 0.18.0
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 +2 -2
- package/styles.css +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devslab/site-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Strict i18n, SEO/GEO, and Solid public-site shells for DevsLab products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"./fonts/*": "./fonts/*"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@devslab/dds-solid": "0.
|
|
68
|
+
"@devslab/dds-solid": "0.18.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"@tanstack/solid-router": "1.170.30",
|
package/styles.css
CHANGED
|
@@ -19,7 +19,14 @@
|
|
|
19
19
|
--site-header-block-size wherever sections do (:root or .site-shell). Zero specificity: sections and
|
|
20
20
|
the hero keep their own 8px offset (site-sections.css), and any product rule on a target wins. */
|
|
21
21
|
:where(.site-header ~ [id], .site-header ~ * [id]) { scroll-margin-block-start: calc(var(--site-header-block-size, 64px) + 1px + var(--dds-space-16)); }
|
|
22
|
-
|
|
22
|
+
/* Equal side columns centre the nav — while both sides fit. A side column never
|
|
23
|
+
goes below its content: when the brand or the actions need more than half the
|
|
24
|
+
room left beside the nav, that column keeps its width and the nav moves toward
|
|
25
|
+
the other side by the shortfall, then wraps. With a 0 minimum the actions were
|
|
26
|
+
painted over the last link instead (VisionLinq in French, German, Portuguese
|
|
27
|
+
and Spanish at 1440px; D-036). max-content, not auto: a .dds-btn may break
|
|
28
|
+
anywhere, so its min-content is a single letter. */
|
|
29
|
+
.site-header__inner { min-block-size: var(--site-header-block-size, 64px); inline-size: min(100% - var(--dds-space-32), 1120px); margin-inline: auto; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: var(--dds-space-16); }
|
|
23
30
|
.site-brand { justify-self: start; color: var(--dds-color-text-primary); font-weight: 700; text-decoration: none; }
|
|
24
31
|
.site-nav { grid-column: 2; justify-self: center; min-inline-size: 0; }
|
|
25
32
|
.site-nav__list, .site-footer__links { display: flex; flex-wrap: wrap; gap: var(--dds-space-16); padding: 0; margin: 0; list-style: none; }
|