Skip to content

Commit 9b63ed4

Browse files
committed
test
1 parent 6b4c843 commit 9b63ed4

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

src/pages/index.astro

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@
1616
<meta name="theme-color" content="#5a9d8a" />
1717
<title>Oliver Ohrt</title>
1818
<style>
19-
html {
20-
background: #82AD99;
21-
overscroll-behavior: none;
19+
html, body {
20+
margin: 0;
21+
padding: 0;
22+
height: 100%;
23+
overflow: hidden;
2224
}
2325

2426
body {
25-
margin: 0;
2627
color: white;
2728
font-family: system-ui, sans-serif;
28-
background: #508C72;
29+
}
30+
31+
.scroll-container {
32+
height: 100vh;
33+
overflow-y: auto;
34+
overscroll-behavior: none;
2935
}
3036

3137
.bg-frame {
@@ -54,6 +60,7 @@
5460
background-size: 100% auto;
5561
background-repeat: repeat-y;
5662
background-position: center top;
63+
min-height: 200vh;
5764
}
5865

5966
main {
@@ -76,7 +83,9 @@
7683
</head>
7784

7885
<body>
79-
<div class="bg-frame bg-frame-1"></div>
80-
<div class="bg-frame bg-frame-2"></div>
86+
<div class="scroll-container">
87+
<div class="bg-frame bg-frame-1"></div>
88+
<div class="bg-frame bg-frame-2"></div>
89+
</div>
8190
</body>
8291
</html>

0 commit comments

Comments
 (0)