-
Notifications
You must be signed in to change notification settings - Fork 1
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
[REFACTOR] 검색 페이지 코드 리팩터링
- Loading branch information
Showing
46 changed files
with
1,079 additions
and
975 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -4,24 +4,28 @@ | |
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Pretendard'; | ||
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Light.woff') format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Pretendard'; | ||
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff'); | ||
font-weight: 400; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Pretendard'; | ||
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-SemiBold.woff') format('woff'); | ||
font-weight: 600; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Pretendard'; | ||
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Bold.woff') format('woff'); | ||
|
@@ -30,75 +34,75 @@ | |
} | ||
|
||
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; | ||
background: #4c4df5; | ||
background-image: linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px), | ||
linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px); | ||
background-size: | ||
100px 100px, | ||
100px 100px; | ||
background-position: | ||
-1px -1px, | ||
-1px -1px; | ||
-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; | ||
background: #4c4df5; | ||
background-image: linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px), | ||
linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px); | ||
background-size: | ||
100px 100px, | ||
100px 100px; | ||
background-position: | ||
-1px -1px, | ||
-1px -1px; | ||
} | ||
|
||
html::-webkit-scrollbar { | ||
display: none; | ||
display: none; | ||
} | ||
|
||
body { | ||
width: 100%; | ||
height: fit-content; | ||
/* 화면 스크롤 방지를 위해 최소높이 지정 */ | ||
min-height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
/* 드래그 방지 */ | ||
/* -webkit-user-select: none; | ||
width: 100%; | ||
height: fit-content; | ||
/* 화면 스크롤 방지를 위해 최소높이 지정 */ | ||
min-height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
/* 드래그 방지 */ | ||
/* -webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; */ | ||
} | ||
} | ||
|
||
@media (min-width:0px) { | ||
html { | ||
font-size: 8px; | ||
} | ||
@media (min-width:0px) { | ||
html { | ||
font-size: 8px; | ||
} | ||
} | ||
|
||
/* 타블렛) 화면 너비: 576 ~ */ | ||
@media (min-width:576px) { | ||
html { | ||
font-size: 10px; | ||
} | ||
/* 타블렛) 화면 너비: 768 ~ */ | ||
@media (min-width: 768px) { | ||
html { | ||
font-size: 10px; | ||
} | ||
} | ||
|
||
/* 데스크톱) 화면 너비: 1024 ~ */ | ||
@media (min-width: 1024px) { | ||
html { | ||
font-size: 10px; | ||
} | ||
/* 데스크톱) 화면 너비: 1024 ~ */ | ||
@media (min-width: 1024px) { | ||
html { | ||
font-size: 10px; | ||
} | ||
} | ||
|
||
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; | ||
-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; | ||
} |
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
Oops, something went wrong.