mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +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>
|
<style>
|
||||||
.wrapper {
|
.wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: min(calc(100dvw * 2 / 3), calc(100dvh / 3));
|
||||||
|
min-height: 12rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
||||||
.blur {
|
.blur {
|
||||||
@@ -55,8 +59,9 @@ const season = SEASONS[Math.floor(((month + 2) % 12) / 3)];
|
|||||||
.hero {
|
.hero {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
padding: var(--space-7) 0;
|
padding: var(--space-4) 0;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in new issue
Block a user