Skip to content

Commit

Permalink
refactor: edit style.css
Browse files Browse the repository at this point in the history
fonts.css와 reset.css로 코드 분리, 불필요한 속성값 제거(font-weight, display:flex),
0px 표기 0으로 수정, .footer__policy 하위 a태그에 .policy__links 클래스 추가 및 기존 코드 삭제
  • Loading branch information
reenact11 committed May 6, 2024
1 parent ff8c81a commit 37361a0
Showing 1 changed file with 6 additions and 34 deletions.
40 changes: 6 additions & 34 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
@font-face {
font-family: 'Pretendard-Regular';
src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}

* {
box-sizing: border-box;
margin: 0;
}

a {
text-decoration: none;
}

em {
width: 72px;
height: 25px;
Expand Down Expand Up @@ -62,11 +46,10 @@ body {

.top-banner {
position: absolute;
display: flex;
min-width: 1920px;
height: 540px;
left: 0px;
right: 0px;
left: 0;
right: 0;
top: 70px;
background-color: #cfe5ff;
padding: 0 360px;
Expand All @@ -85,10 +68,8 @@ body {
}

.top-banner__title {
font-weight: 700;
font-size: 40px;
line-height: 140%;
padding-right: 60px;
color: #374151;
}

Expand All @@ -115,8 +96,6 @@ body {

.content {
position: absolute;
display: flex;
flex-direction: column;
width: 1920px;
top: 610px;
background-color: #fff;
Expand Down Expand Up @@ -156,19 +135,15 @@ body {
}

.feature__title {
font-weight: 700;
font-size: 40px;
line-height: 140%;
display: flex;
letter-spacing: 0.02em;
color: #374151;
}

.feature__content {
font-weight: 500;
font-size: 24px;
line-height: 120%;
display: flex;
letter-spacing: 0.08em;
color: #374151;
}
Expand All @@ -178,20 +153,17 @@ body {
min-width: 1920px;
height: 540px;
top: 2908px;
left: 0px;
right: 0px;
left: 0;
right: 0;
bottom: 70px;
background-color: #cfe5ff;
padding: 0 360px;
}

.bottom-banner__title {
position: absolute;
font-weight: 700;
font-size: 40px;
line-height: 140%;
width: 286px;
height: 112px;
color: #374151;
top: 214px;
left: 360px;
Expand All @@ -201,7 +173,7 @@ body {
position: absolute;
width: 996px;
height: 540px;
top: 0px;
top: 0;
left: 701px;
}

Expand Down Expand Up @@ -229,7 +201,7 @@ body {
gap: 30px;
}

.footer__policy a {
.policy__links {
color: #e5e7eb;
}

Expand Down

0 comments on commit 37361a0

Please sign in to comment.