-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
chore : 나눔스퀘어라운드 글꼴 global style로 적용
- Loading branch information
Showing
16 changed files
with
103 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* 나눔스퀘어라운드 웹폰트 v1.11 https://github.com/innks/NanumSquareRound */ | ||
@font-face { | ||
font-family: NanumSquareRound; | ||
font-style: normal; | ||
font-weight: 300; | ||
font-display: swap; | ||
src: local("NanumSquareRoundL"), | ||
url(./NanumSqueareRound/NanumSquareRoundL.woff2) format("woff2"), | ||
url(./NanumSqueareRound/NanumSquareRoundL.woff) format("woff"), | ||
url(./NanumSqueareRound/NanumSquareRoundL.ttf) format("truetype"); | ||
} | ||
@font-face { | ||
font-family: NanumSquareRound; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: local("NanumSquareRoundR"), | ||
url(./NanumSqueareRound/NanumSquareRoundR.woff2) format("woff2"), | ||
url(./NanumSqueareRound/NanumSquareRoundR.woff) format("woff"), | ||
url(./NanumSqueareRound/NanumSquareRoundR.ttf) format("truetype"); | ||
} | ||
@font-face { | ||
font-family: NanumSquareRound; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: local("NanumSquareRoundB"), | ||
url(./NanumSqueareRound/NanumSquareRoundB.woff2) format("woff2"), | ||
url(./NanumSqueareRound/NanumSquareRoundB.woff) format("woff"), | ||
url(./NanumSqueareRound/NanumSquareRoundB.ttf) format("truetype"); | ||
} | ||
@font-face { | ||
font-family: NanumSquareRound; | ||
font-style: normal; | ||
font-weight: 800; | ||
font-display: swap; | ||
src: local("NanumSquareRoundEB"), | ||
url(./NanumSqueareRound/NanumSquareRoundEB.woff2) format("woff2"), | ||
url(./NanumSqueareRound/NanumSquareRoundEB.woff) format("woff"), | ||
url(./NanumSqueareRound/NanumSquareRoundEB.ttf) format("truetype"); | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,65 @@ | ||
@import "./fonts/NanumSquareRound.css"; | ||
|
||
html { | ||
-webkit-text-size-adjust: none; | ||
width: 100%; | ||
height: 100%; | ||
margin: 0; | ||
font-size: 62.5%; | ||
overflow: scroll; | ||
scroll-snap-type: y mandatory; | ||
scroll-padding-top: 65px; | ||
scrollbar-width: none; | ||
-ms-overflow-style: none; | ||
display: flex; | ||
justify-content: center; | ||
font-family: "Pretendard"; | ||
-webkit-text-size-adjust: none; | ||
width: 100%; | ||
height: 100%; | ||
margin: 0; | ||
font-size: 62.5%; | ||
overflow: scroll; | ||
scroll-snap-type: y mandatory; | ||
scroll-padding-top: 65px; | ||
scrollbar-width: none; | ||
-ms-overflow-style: none; | ||
display: flex; | ||
justify-content: center; | ||
font-family: "NanumSquareRound", sans-serif; | ||
} | ||
|
||
html::-webkit-scrollbar { | ||
display: none; | ||
} | ||
|
||
body { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
width: 100%; | ||
min-height: 100%; /* 화면 스크롤 방지를 위해 최소높이 지정 */ | ||
margin: 0; | ||
padding: 0; | ||
background-color: white; | ||
box-shadow: 10px -50px 50px 15px rgba(220, 220, 220, 0.22), | ||
-10px -50px 50px 15px rgba(197, 197, 197, 0.22); | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
} | ||
|
||
/*모바일+아이패드 세로) 화면 너비: 0 ~ 800 */ | ||
@media (min-width: 0px) { | ||
html { | ||
font-size: 8px; | ||
} | ||
|
||
html::-webkit-scrollbar { | ||
display: none; | ||
} | ||
|
||
/* 데스크톱) 화면 너비: 1024 ~ */ | ||
@media (min-width: 900px) { | ||
html { | ||
font-size: 10px; | ||
} | ||
|
||
body { | ||
width: 100%; | ||
height: fit-content; | ||
/* 화면 스크롤 방지를 위해 최소높이 지정 */ | ||
min-height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
background-color: white; | ||
box-shadow: 10px -50px 50px 15px rgba(220, 220, 220, 0.22), | ||
-10px -50px 50px 15px rgba(197, 197, 197, 0.22); | ||
/* 드래그 방지 */ | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
width: 768px; | ||
} | ||
|
||
/*모바일+아이패드 세로) 화면 너비: 0 ~ 800 */ | ||
@media (min-width: 0px) { | ||
html { | ||
font-size: 8px; | ||
} | ||
} | ||
|
||
/* 데스크톱) 화면 너비: 1024 ~ */ | ||
@media (min-width: 900px) { | ||
html { | ||
font-size: 10px; | ||
} | ||
body { | ||
width: 768px; | ||
} | ||
} | ||
|
||
img { | ||
-webkit-user-select: none; | ||
-khtml-user-select: none; | ||
-moz-user-select: none; | ||
-o-user-select: none; | ||
user-select: none; | ||
-webkit-user-drag: none; | ||
-khtml-user-drag: none; | ||
-moz-user-drag: none; | ||
-o-user-drag: none; | ||
} | ||
|
||
} | ||
|
||
img { | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
-webkit-user-drag: none; | ||
-webkit-user-drag: none; | ||
-moz-user-drag: none; | ||
} |