@hagicode/hagilight-starlight 0.1.2-dev.7.1.c02207e → 0.1.2-dev.8.1.a91b4b9
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/Footer.astro +0 -7
- package/LanguageChooser.astro +5 -0
- package/package.json +2 -2
package/Footer.astro
CHANGED
|
@@ -23,7 +23,6 @@ const resolvedLinks = resolveSiteLinks(locale, links);
|
|
|
23
23
|
<li>
|
|
24
24
|
<a href={site.href} target={site.target} rel={site.rel}>
|
|
25
25
|
{site.name}
|
|
26
|
-
{site.description && <span class="hagilight-site-description">{site.description}</span>}
|
|
27
26
|
</a>
|
|
28
27
|
</li>
|
|
29
28
|
))}
|
|
@@ -102,12 +101,6 @@ const resolvedLinks = resolveSiteLinks(locale, links);
|
|
|
102
101
|
color: var(--sl-color-white);
|
|
103
102
|
}
|
|
104
103
|
|
|
105
|
-
.hagilight-site-description {
|
|
106
|
-
display: block;
|
|
107
|
-
margin-top: 0.25rem;
|
|
108
|
-
font-size: var(--sl-text-xs);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
104
|
.hagilight-filings {
|
|
112
105
|
grid-column: 1 / -1;
|
|
113
106
|
display: flex;
|
package/LanguageChooser.astro
CHANGED
|
@@ -230,15 +230,20 @@ const navigationOptions = options.map((option) => ({
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.language-dialog {
|
|
233
|
+
position: fixed;
|
|
234
|
+
top: 50%;
|
|
235
|
+
left: 50%;
|
|
233
236
|
width: min(54rem, calc(100vw - 3rem));
|
|
234
237
|
max-width: none;
|
|
235
238
|
max-height: min(30rem, calc(100dvh - 3rem));
|
|
239
|
+
margin: 0;
|
|
236
240
|
padding: 1.1rem 1.1rem 1rem;
|
|
237
241
|
border: 1px solid var(--sl-color-gray-5);
|
|
238
242
|
border-radius: 1rem;
|
|
239
243
|
background: color-mix(in srgb, var(--sl-color-bg) 94%, transparent);
|
|
240
244
|
color: var(--sl-color-text);
|
|
241
245
|
box-shadow: 0 24px 64px rgba(2, 6, 23, 0.32);
|
|
246
|
+
transform: translate(-50%, -50%);
|
|
242
247
|
}
|
|
243
248
|
|
|
244
249
|
.language-dialog::backdrop {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hagicode/hagilight-starlight",
|
|
3
|
-
"version": "0.1.2-dev.
|
|
3
|
+
"version": "0.1.2-dev.8.1.a91b4b9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Starlight customizations for HagiCode documentation",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"*.astro"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@hagicode/hagilight": "0.1.2-dev.
|
|
27
|
+
"@hagicode/hagilight": "0.1.2-dev.8.1.a91b4b9"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@astrojs/starlight": "^0.42.4",
|