Skip to content

Commit d77e92a

Browse files
committed
Change section padding
1 parent ac2d359 commit d77e92a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

site/src/landing.module.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@
3939
}
4040

4141
.title {
42-
font-size: 2em;
43-
margin: 0;
44-
height: 3em;
42+
font-size: 2.2em;
43+
margin: 0 0 24px;
4544
flex: 1;
4645
text-align: center;
4746
}

site/src/landing/description.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
margin-bottom: 0;
6262
}
6363
.buttons {
64-
margin: 32px auto;
64+
margin: 32px auto 0;
6565
width: max-content;
6666
}
6767

site/src/landing/showcase.module.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
.demo {
1414
/* height: calc(100 * var(--w)); */
1515
transform-style: preserve-3d;
16+
/* outline: 1px solid red; */
1617
}
1718

1819
.demo h3 {
1920
font-size: calc(var(--w) * 3.4);
2021
margin: 0;
21-
margin-top: calc(var(--h) * -8);
22+
margin-top: calc(var(--h) * -6);
2223
opacity: var(--opacity);
2324
transform: translateZ(40px);
2425
text-align: center;
@@ -71,7 +72,7 @@
7172
background-color: var(--white);
7273
opacity: var(--opacity);
7374
height: 100%;
74-
/* transform: translateZ(-40px); */
75+
transform: translateZ(-40px);
7576
border: calc(var(--h) * 0.5) solid var(--accent-100);
7677
border-radius: 30px;
7778
border-radius: calc(var(--w) * 3.2);
@@ -89,7 +90,7 @@
8990

9091
@media screen and (max-width: 1000px) {
9192
.showcase {
92-
--h: 0.6vw;
93-
--w: 0.8vw;
93+
--h: 0.584vw;
94+
--w: 0.85vw;
9495
}
9596
}

0 commit comments

Comments
 (0)