1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-06 15:42:34 +08:00

feat(Header): adjust header height and carousel item border radius

This commit is contained in:
2026-01-07 21:31:55 +08:00
parent ce104cb521
commit d80b6802e0
2 changed files with 11 additions and 7 deletions

View File

@@ -5,15 +5,13 @@
position: relative;
height: 540px;
height: 570px;
.carousel-container {
position: relative;
height: 100%;
border-radius: var(--md-sys-shape-corner-large);
overflow: hidden;
z-index: 0;
@@ -183,8 +181,8 @@
.Header {
grid-column: span 8;
height: 45vh;
min-height: 360px;
height: 46vw;
min-height: 270px;
}
}
@@ -192,6 +190,8 @@
.Header {
grid-column: span 6;
min-height: 270px;
.carousel-container .stage .item {
&.current {
width: 85%;
@@ -211,10 +211,14 @@
.carousel-container .stage .item {
&.current {
width: 100%;
border-radius: var(--md-sys-shape-corner-large);
}
&.next {
width: 0%;
border-radius: var(--md-sys-shape-corner-large);
}
}
}

View File

@@ -109,8 +109,8 @@
.content-flow {
grid-template-columns: repeat(6, 1fr);
padding-block: 64px;
padding-inline: 24px;
padding-block: 76px;
padding-inline: 12px;
.home-content {
grid-column: span 6;