-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[이종욱] sprint2 #87
The head ref may contain hidden characters: "part1-\uC774\uC885\uC6B1-sprint2"
[이종욱] sprint2 #87
Changes from all commits
c5dfe0b
d1d0a3a
191c54e
b780080
9d1e825
9ffdea5
c5c81ca
34b96e6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
.env.test.local | ||
.env.production.local | ||
.github | ||
.idea/* | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
|
||
a { | ||
cursor: pointer; | ||
|
@@ -9,9 +7,13 @@ a { | |
header { | ||
display: flex; | ||
justify-content: space-between; | ||
height: 4.375rem; | ||
position: sticky; | ||
top: 0; | ||
padding: 11px 200px; | ||
flex: 0 1 auto; | ||
/*gap: calc();*/ | ||
background-color: var(--button-font-color); | ||
z-index: 1; | ||
} | ||
|
||
header > .login { | ||
|
@@ -20,9 +22,11 @@ header > .login { | |
height: 48px; | ||
border-radius: 8px; | ||
padding-block: 14px; | ||
font-size: 1rem; | ||
line-height: 1.1931rem; | ||
text-align: center; | ||
background-color: #3692FF; | ||
color: #fff; | ||
background-color: var(--header-logo-color); | ||
color: var(--button-font-color); | ||
text-decoration: none; | ||
flex-shrink: 0; | ||
} | ||
|
@@ -39,86 +43,102 @@ header > .title > .name > a { | |
font-size: 1.6em; | ||
font-weight: 700; | ||
line-height: 34.6px; | ||
color: #3692FF; | ||
color: var(--header-logo-color); | ||
text-decoration: none; | ||
} | ||
|
||
main { | ||
display: grid; | ||
grid-template: 540px 720px 720px 720px 540px / 1fr; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.footer { | ||
footer { | ||
width: inherit; | ||
height: 160px; | ||
display: grid; | ||
background-color: #111827; | ||
background-color: var(--footer-bg-color); | ||
grid-template-columns: repeat(3, 1fr); | ||
justify-content: space-between; | ||
padding: 32px 200px; | ||
} | ||
|
||
.footer > .codeit { | ||
footer > .codeit-footer { | ||
font-family: "Pretendard"; | ||
font-size: 1em; | ||
line-height: 19.09px; | ||
} | ||
|
||
.footer > .codeit.copyright { | ||
color: #9CA3AF; | ||
footer > .codeit-footer.codeit-copyright { | ||
color: var(--panda-gray-color); | ||
} | ||
|
||
.footer > .codeit.faqs { | ||
footer > .codeit-footer.codeit-faqs { | ||
display: grid; | ||
grid-template-columns: repeat(2, auto); | ||
gap: 30px; | ||
justify-content: center; | ||
} | ||
|
||
.footer > .codeit.faqs > a { | ||
color: #E5E7EB; | ||
footer > .codeit-footer.codeit-faqs > a { | ||
color: var(--faq-font-color); | ||
text-decoration: none; | ||
} | ||
|
||
.footer > .codeit.sns { | ||
footer > .codeit-footer.codeit-sns { | ||
display: grid; | ||
grid-template-columns: repeat(4, auto); | ||
grid-auto-columns: 20px; | ||
justify-content: center; | ||
gap: 9px; | ||
} | ||
|
||
.panda { | ||
background-color: #CFE5FF; | ||
.panda-banner { | ||
background-color: var(--banner-bg-color); | ||
display: flex; | ||
width: 100%; | ||
gap: 10px; | ||
height: 33.75rem; | ||
justify-content: center; | ||
align-items: flex-end; | ||
align-items: center; | ||
} | ||
|
||
.panda.intro { | ||
padding-inline: 404px 195px; | ||
.panda-banner.top-banner > img { | ||
position: relative; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 개인적으로 이 이미지는 전체 컨테이너를 기준으로 (panda-banner) 위치 잡아주는게 제일 깔끔하고, 의도한대로 동작할것같아요. 이미지가 항상 그리고 top-banner와 bottom-banner를 구분지어 클래스이름을 준것도 유의미하지않은것같습니다. |
||
width: 62.25rem; | ||
height: 27.9375rem; | ||
top: 2.875rem; | ||
left: 6.25rem; | ||
} | ||
|
||
.panda.banner { | ||
padding-inline: 329px 270px; | ||
.panda-banner.top-banner > div { | ||
font-family: "pretendard"; | ||
display: flex; | ||
flex-direction: column; | ||
width: 22.5rem; | ||
height: 3.75rem; | ||
position: relative; | ||
left: 6.25rem; | ||
bottom: 4rem; | ||
} | ||
|
||
.panda.intro > div, | ||
.panda.banner > h2 | ||
.panda-banner.bottom-banner > h2 | ||
{ | ||
display: flex; | ||
font-family: "pretendard"; | ||
position: relative; | ||
display: flex; | ||
flex-direction: column; | ||
position: relative; | ||
justify-content: center; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
bottom: 35%; | ||
/*gap: calc();*/ | ||
left: 3.125rem; | ||
} | ||
|
||
.panda.intro > div > h2, | ||
.panda.banner > h2 { | ||
.panda-banner.bottom-banner > img { | ||
position: relative; | ||
left: 3.125rem; | ||
} | ||
|
||
.panda-banner.top-banner > div > h2, | ||
.panda-banner.bottom-banner > h2 { | ||
font-size: 2.5em; | ||
font-weight: 700; | ||
line-height: 56px; | ||
|
@@ -128,27 +148,22 @@ main { | |
/* | ||
*이렇게 클래스 이름이 아닌 규칙 준 이유는 CSS 내 0-0-0 규칙 상 때문에 클래스 이름을 되도록 주지 않았습니다. | ||
*/ | ||
.panda.intro > div > a { | ||
.panda-banner.top-banner > div > a { | ||
width: 356px; | ||
height: 56px; | ||
border-radius: 40px; | ||
background-color: #3692FF; | ||
color: #fff; | ||
background-color: var(--header-logo-color); | ||
color: var(--button-font-color); | ||
text-decoration: none; | ||
text-align: center; | ||
padding-block: 16px; | ||
font-size: 1.25rem; | ||
font-weight: 600; | ||
} | ||
|
||
.panda.intro > img { | ||
width: 996px; | ||
height: 447px; | ||
background-size: 996px 447px; | ||
} | ||
|
||
.panda-section { | ||
display: flex; | ||
max-width: 1200px; | ||
justify-content: center; | ||
padding-block: 138px; | ||
gap: 0px 64px; | ||
|
@@ -170,7 +185,7 @@ main { | |
.panda-section > div > h2 { | ||
font-size: 1.125em; | ||
line-height: 25.2px; | ||
color: #3692FF; | ||
color: var(--header-logo-color); | ||
letter-spacing: 1px; | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
음 rem계산하기쉽게 default font size를 10px 변환 후 사용하는건..어때요? ㅎㅎ
html 태그의
font-size
조절해주시면됩니다!