Skip to content

Commit a8441f1

Browse files
committed
css tweaks to homepage
1 parent 489a0bb commit a8441f1

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/.vitepress/theme/custom.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,20 @@
1818

1919
/* Hero image sizing */
2020
.VPHero .container {
21-
max-width: 100% !important;
21+
max-width: calc(var(--vp-layout-max-width) - 100px);
2222
}
2323

2424
.VPHero .image-container {
25-
max-width: 550px !important;
25+
max-width: 600px !important;
2626
padding: 24px;
2727
margin-bottom: 20px;
2828
}
2929

3030
@media (min-width: 960px) {
3131
.VPHero .image-container {
3232
margin-bottom: 0;
33+
transform: none;
34+
max-width: 100% !important;
3335
}
3436
}
3537

@@ -38,7 +40,7 @@
3840
}
3941

4042
.VPHero .image-container img {
41-
max-width: 550px !important;
42-
max-height: 470px;
43+
max-width: 600px !important;
44+
max-height: 500px;
4345
object-fit: contain;
4446
}

0 commit comments

Comments
 (0)