Skip to content

Commit

Permalink
fix: apply pretendard to home
Browse files Browse the repository at this point in the history
  • Loading branch information
dotoleeoak committed Nov 14, 2023
1 parent 0f3ba05 commit 5b4c4d8
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/docs/scss/custom/structure/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ html {
background-color: var(--body-bg);
}
body {
font-family: 'Pretendard', $font-family-secondary;
font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
'Pretendard Variable', Pretendard, Roboto, 'Noto Sans KR', 'Segoe UI',
'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
sans-serif;
overflow-x: hidden !important;
font-size: $font-size-base;
color: var(--body-color);
Expand Down
44 changes: 44 additions & 0 deletions assets/scss/custom/structure/_general.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
body {
font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
'Pretendard Variable', Pretendard, Roboto, 'Noto Sans KR', 'Segoe UI',
'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
sans-serif;
overflow-x: hidden !important;
font-size: $font-size-base;
color: $body-color;
background-color: $body-bg;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
font-family: $font-family-base;
line-height: 1.4;
font-weight: 600;
}
::selection {
background: rgba($primary, 0.9);
color: $white;
}
a {
text-decoration: none !important;
transition: all 0.5s ease;
}
p {
line-height: 1.6;
}

.four-oh-four {
min-height: calc(100vh - 180px);
@media (max-width: 767px) {
min-height: calc(100vh - 241px);
}
}

0 comments on commit 5b4c4d8

Please sign in to comment.