home: update style
This commit is contained in:
@@ -7,10 +7,11 @@ html {
|
|||||||
background: url("../assets/clouds.avif"), linear-gradient(180deg, hwb(230 20% 0%) 0%, hwb(230 90% 0%) 110%);
|
background: url("../assets/clouds.avif"), linear-gradient(180deg, hwb(230 20% 0%) 0%, hwb(230 90% 0%) 110%);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover, cover;
|
background-size: cover, cover;
|
||||||
|
background-attachment: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
height: 100dvh;
|
min-height: 100dvh;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,9 +55,9 @@ ul {
|
|||||||
.font-heavy { font-weight: 500; }
|
.font-heavy { font-weight: 500; }
|
||||||
|
|
||||||
.max-w-md {
|
.max-w-md {
|
||||||
max-width: calc(var(--space) * 200);
|
max-width: calc(var(--space) * 180);
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
max-width: calc(var(--space) * 400);
|
max-width: calc(var(--space) * 360);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* tailwind lite */
|
/* tailwind lite */
|
||||||
|
|||||||
Reference in New Issue
Block a user