Skip to content

Commit 84e8779

Browse files
committed
remove homepage grid
1 parent e2d37ca commit 84e8779

File tree

3 files changed

+5
-24
lines changed

3 files changed

+5
-24
lines changed

www/public/global.scss

-15
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
margin: 0;
1111
}
1212
html {
13-
display: grid;
14-
width: 100%;
15-
max-width: 100vw;
16-
overflow: hidden;
17-
height: 100%;
1813
background-color: #000014;
1914
}
2015
html,
@@ -23,19 +18,9 @@ body {
2318
font-size: clamp(14px, calc(1rem + (3vw - 1.2rem)), 20px);
2419
font-family: var(--font-sans);
2520
font-weight: 400;
26-
background-image: radial-gradient(87.7% 87.7% at 85.6% 18.14%, #111827 0%, #000014 100%);
2721
background-repeat: no-repeat;
2822
color: #f3f4f6;
2923
}
30-
body {
31-
position: relative;
32-
display: grid;
33-
place-items: center;
34-
min-width: 100%;
35-
max-width: 100vw;
36-
min-height: 100vh;
37-
overflow-x: hidden;
38-
}
3924
.visually-hidden {
4025
clip: rect(0 0 0 0);
4126
clip-path: inset(50%);

www/src/components/Main.astro

+4-9
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,11 @@
44

55
<style lang="scss">
66
main {
7-
width: 100%;
8-
display: grid;
9-
gap: 1rem;
10-
padding: 0 0 3rem 0;
11-
grid-template-columns:
12-
minmax(1.2rem, 1fr)
13-
minmax(auto, 60ch)
14-
minmax(1.2rem, 1fr);
15-
grid-auto-rows: min-content;
167
z-index: 1;
8+
width: 100%;
9+
max-width: 760px;
10+
margin: auto;
11+
padding: 0 0.75rem;
1712
}
1813

1914
:global(main > *) {

www/src/components/Space.astro

+1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ import Stars from './Stars.astro';
2121
height: 100%;
2222
overflow: hidden;
2323
opacity: 0.6;
24+
z-index: -1;
2425
}
2526
</style>

0 commit comments

Comments
 (0)