mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
better sized home hero
This commit is contained in:
1 file changed
+6
-1
@@ -42,6 +42,10 @@ const season = SEASONS[Math.floor(((month + 2) % 12) / 3)];
|
||||
<style>
|
||||
.wrapper {
|
||||
position: relative;
|
||||
height: min(calc(100dvw * 2 / 3), calc(100dvh / 3));
|
||||
min-height: 12rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-size: cover;
|
||||
|
||||
.blur {
|
||||
@@ -55,8 +59,9 @@ const season = SEASONS[Math.floor(((month + 2) % 12) / 3)];
|
||||
.hero {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
flex: 1;
|
||||
|
||||
padding: var(--space-7) 0;
|
||||
padding: var(--space-4) 0;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in new issue
Block a user