Skip to content

Commit dec3a8f

Browse files
committed
design: 최대 너비 600px 제한
1 parent a7be8a6 commit dec3a8f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/styles/preflight.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
/* 기본 스타일 리셋 및 전역 스타일 */
22

33
@layer base {
4+
:root {
5+
--body-bg-color: var(--color-white);
6+
--vh: 1vh;
7+
--vw: 1vw;
8+
}
9+
410
body {
511
font-family: 'Pretendard Variable', Pretendard, sans-serif;
12+
overflow-y: scroll;
13+
overflow-x: hidden;
14+
/* 그라데이션 배경 들어가는 곳 */
15+
}
16+
17+
#root {
18+
display: flex;
19+
flex-direction: column;
20+
max-width: 600px;
21+
width: 100%;
22+
min-height: calc(var(--vh, 1vh) * 100);
23+
margin: 0 auto;
24+
position: relative;
625
}
726
}

0 commit comments

Comments
 (0)