@f5-sales-demo/docs-theme 3.10.6 → 3.10.7
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/components/SiteTitle.astro +4 -0
- package/package.json +2 -2
- package/styles/custom.css +65 -0
|
@@ -45,6 +45,9 @@ const { siteTitle } = Astro.locals.starlightRoute;
|
|
|
45
45
|
}
|
|
46
46
|
span {
|
|
47
47
|
overflow: hidden;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
min-width: 0;
|
|
48
51
|
}
|
|
49
52
|
img {
|
|
50
53
|
height: calc(var(--sl-nav-height) - 2 * var(--sl-nav-pad-y));
|
|
@@ -52,5 +55,6 @@ const { siteTitle } = Astro.locals.starlightRoute;
|
|
|
52
55
|
max-width: 100%;
|
|
53
56
|
object-fit: contain;
|
|
54
57
|
object-position: 0 50%;
|
|
58
|
+
flex-shrink: 0;
|
|
55
59
|
}
|
|
56
60
|
</style>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@f5-sales-demo/docs-theme",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.7",
|
|
4
4
|
"description": "F5 Distributed Cloud branded Starlight documentation theme",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
134
|
"dependencies": {
|
|
135
|
-
"@anthropic-ai/sdk": "^0.
|
|
135
|
+
"@anthropic-ai/sdk": "^0.116.0",
|
|
136
136
|
"@astrojs/react": "^6.0.2",
|
|
137
137
|
"@f5-sales-demo/i18n-core": "^1.0.0",
|
|
138
138
|
"@f5-sales-demo/starlight-llms-txt": "1.4.1",
|
package/styles/custom.css
CHANGED
|
@@ -805,3 +805,68 @@ summary:focus-visible {
|
|
|
805
805
|
height: 2.5rem;
|
|
806
806
|
margin-top: 0;
|
|
807
807
|
}
|
|
808
|
+
|
|
809
|
+
/* ===== Responsive Splash Hero Layout & Mobile Header ===== */
|
|
810
|
+
.site-title {
|
|
811
|
+
min-width: 0;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.site-title span {
|
|
815
|
+
overflow: hidden;
|
|
816
|
+
text-overflow: ellipsis;
|
|
817
|
+
white-space: nowrap;
|
|
818
|
+
min-width: 0;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
@media (max-width: 49.99rem) {
|
|
822
|
+
.hero {
|
|
823
|
+
display: flex;
|
|
824
|
+
flex-direction: column;
|
|
825
|
+
gap: 1.25rem;
|
|
826
|
+
padding-block: 1rem 1.5rem;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.hero > .stack {
|
|
830
|
+
order: 1;
|
|
831
|
+
width: 100%;
|
|
832
|
+
gap: 1.25rem;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.hero > img,
|
|
836
|
+
.hero > picture,
|
|
837
|
+
.hero > .hero-html {
|
|
838
|
+
order: 2;
|
|
839
|
+
width: min(75%, 15rem);
|
|
840
|
+
max-height: 12rem;
|
|
841
|
+
margin-inline: auto;
|
|
842
|
+
object-fit: contain;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.hero > .hero-html img {
|
|
846
|
+
max-height: 12rem;
|
|
847
|
+
width: auto;
|
|
848
|
+
max-width: 100%;
|
|
849
|
+
object-fit: contain;
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
@media (min-width: 50rem) {
|
|
854
|
+
.hero {
|
|
855
|
+
padding-block: clamp(1.5rem, calc(1rem + 3vmin), 3rem);
|
|
856
|
+
gap: clamp(1.5rem, 3vw, 3rem);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.hero > img,
|
|
860
|
+
.hero > picture,
|
|
861
|
+
.hero > .hero-html {
|
|
862
|
+
max-height: 20rem;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.hero > .hero-html img {
|
|
866
|
+
max-height: 20rem;
|
|
867
|
+
width: auto;
|
|
868
|
+
max-width: 100%;
|
|
869
|
+
object-fit: contain;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
|