-
Notifications
You must be signed in to change notification settings - Fork 39
Basic 유용민 sprint3 #97
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
The head ref may contain hidden characters: "Basic-\uC720\uC6A9\uBBFC-sprint3"
Changes from all commits
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 |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| footer { | ||
| display: flex; | ||
| width: 100%; | ||
| justify-content: center; | ||
| height: 15rem; | ||
| background-color: #111827; | ||
| } | ||
|
|
||
| .footer-container { | ||
| div:first-child { | ||
| color: #676767; | ||
| } | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| margin-top: 2.5rem; | ||
| width: 80%; | ||
| height: 8%; | ||
| color: #ffffff; | ||
| font-size: 16px; | ||
| font-weight: 400; | ||
| img { | ||
| height: 100%; | ||
| } | ||
| } | ||
|
|
||
| .footer-middle { | ||
| display: flex; | ||
| gap: 30px; | ||
| color: #cfcfcf; | ||
| } | ||
|
|
||
| .footer-right { | ||
| display: flex; | ||
| height: 100%; | ||
| gap: 12px; | ||
| } | ||
|
|
||
| @media (max-width: 1200px) { | ||
| footer { | ||
| height: 10rem; | ||
| } | ||
|
|
||
| .footer-container { | ||
| font-size: 1.1rem; | ||
| } | ||
|
|
||
| .footer-right { | ||
| img { | ||
| aspect-ratio: 1; | ||
| width: 1.1rem; | ||
| height: 1.1rem; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 767px) and (min-width: 375px) { | ||
| footer { | ||
| position: relative; | ||
| } | ||
| .footer-container { | ||
| div:first-child { | ||
| position: absolute; | ||
| bottom: 20%; | ||
| } | ||
| } | ||
| } |
|
Collaborator
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. ❗️ 수정요청 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,8 @@ | |
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 40%; | ||
| width: 100%; | ||
| max-width: 640px; | ||
| } | ||
|
|
||
| .login-logo { | ||
|
|
@@ -38,13 +39,14 @@ | |
| input { | ||
| background-color: #f3f4f6; | ||
| border: none; | ||
| height: 2.5rem; | ||
| height: 3.5rem; | ||
| padding: 0 1rem; | ||
| } | ||
| #login-submit { | ||
| background-color: #3692ff; | ||
| color: white; | ||
| border-radius: 40px; | ||
| height: 3.5rem; | ||
| } | ||
| #no-eye { | ||
| position: absolute; | ||
|
Comment on lines
51
to
52
Collaborator
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. ❗️ 수정요청 |
||
|
|
@@ -62,6 +64,7 @@ | |
| padding: 1rem 2rem; | ||
| font-size: 0.9rem; | ||
| margin-bottom: 1rem; | ||
| height: 4.5rem; | ||
| .social-login__img { | ||
| display: flex; | ||
| justify-content: space-between; | ||
|
|
@@ -78,9 +81,17 @@ | |
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| height: 2rem; | ||
| gap: 1rem; | ||
| a { | ||
| color: #3692ff; | ||
| text-decoration: underline; | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 765px) and (min-width: 365px) { | ||
|
Collaborator
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. ❗️ 수정요청 // ex: nav.css
@media (max-width: 767px) and (min-width: 375px) {아예 다른 브레이크 포인트면 모를까 비슷한데 다른 크기라서 헷갈리니 하나로 통일해주세요~ |
||
| .loginContainer { | ||
| width: calc(100% - 32px); | ||
| max-width: 400px; | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| .main-articles { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| height: 50%; | ||
| } | ||
|
|
||
| .main-article { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 80%; | ||
| max-width: 988px; | ||
| max-height: 444px; | ||
| margin: 3.5rem 0rem; | ||
| } | ||
|
|
||
| .main-article-container { | ||
| display: flex; | ||
| justify-content: center; | ||
| width: 100%; | ||
| height: 100%; | ||
| img { | ||
| width: 75%; | ||
| height: 100%; | ||
| max-width: 579px; | ||
| max-height: 444px; | ||
| } | ||
| } | ||
|
|
||
| .main-article__text { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| background-color: #fcfcfc; | ||
| width: 35%; | ||
| gap: 2.4rem; | ||
| padding: 2rem 2rem; | ||
| h5 { | ||
| font-size: 1rem; | ||
| font-weight: 700; | ||
| color: #3692ff; | ||
| } | ||
| h2 { | ||
| font-size: 2rem; | ||
| font-weight: 700; | ||
| line-height: 3rem; | ||
| color: #374151; | ||
| } | ||
| p { | ||
| font-size: 1.2rem; | ||
| line-height: 2rem; | ||
| font-weight: 500; | ||
| color: #374151; | ||
| } | ||
| } | ||
|
|
||
| .main-article__text2 { | ||
| align-items: flex-end; | ||
| text-align: right; | ||
| } | ||
|
|
||
| @media (max-width: 1200px) { | ||
| .main-article { | ||
| width: 100%; | ||
| max-width: 100%; | ||
| max-height: 100%; | ||
| } | ||
| .main-article-container { | ||
| flex-direction: column; | ||
| align-items: center; | ||
| img { | ||
| width: 95%; | ||
| max-width: 100%; | ||
| max-height: 100%; | ||
| } | ||
| } | ||
| .main-article__text { | ||
| width: 100%; | ||
| } | ||
|
|
||
| .main-article-container2 { | ||
| flex-direction: column-reverse; | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 767px) and (min-width: 375px) { | ||
| .main-article { | ||
| margin: 1rem 0; | ||
| } | ||
| .main-article__text { | ||
| gap: 0.5rem; | ||
| h2 { | ||
| font-size: 1.5rem; | ||
| } | ||
| p { | ||
| font-size: 1rem; | ||
| line-height: 120%; | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,143 @@ | ||
| .main-banner { | ||
| display: flex; | ||
| justify-content: center; | ||
| background-color: #cfe5ff; | ||
| width: 100%; | ||
| line-height: 4rem; | ||
| height: 40vh; | ||
| margin-top: 4.5rem; | ||
| } | ||
|
|
||
| banner { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: flex-end; | ||
| width: 100%; | ||
| max-width: 1920px; | ||
| height: 100%; | ||
| } | ||
|
|
||
| .banner-left { | ||
| width: 100%; | ||
| height: 70%; | ||
| max-width: 357px; | ||
| h1 { | ||
| font-size: 2.5rem; | ||
| color: #374151; | ||
| } | ||
| } | ||
|
|
||
| .banner-right { | ||
| display: flex; | ||
| align-items: flex-end; | ||
| max-width: 746px; | ||
| max-height: 340px; | ||
| height: 100%; | ||
| img { | ||
| width: 100%; | ||
| } | ||
|
Comment on lines
+36
to
+38
Collaborator
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. |
||
| } | ||
|
|
||
| .main-banner__content { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: flex-start; | ||
| width: 100%; | ||
| height: 100%; | ||
| font-size: 3rem; | ||
| font-weight: 700; | ||
| gap: 32px; | ||
|
|
||
| a { | ||
| width: 100%; | ||
| } | ||
| button { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| width: 100%; | ||
| height: 56px; | ||
| border-radius: 40px; | ||
| background-color: #3692ff; | ||
| color: #ffffff; | ||
| cursor: pointer; | ||
| font-size: 1.4rem; | ||
| } | ||
| } | ||
|
|
||
| .main-banner-bottom__content { | ||
| margin-bottom: 0; | ||
| } | ||
|
|
||
| @media (max-width: 1920px) { | ||
| banner { | ||
| width: calc(100% - 400px); | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 1200px) { | ||
| .main-banner { | ||
| width: 100%; | ||
| height: 100%; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| } | ||
| .main-banner__content { | ||
| align-items: center; | ||
| padding: 5rem 0; | ||
| h1 { | ||
| text-align: center; | ||
| font-size: 100%; | ||
| } | ||
| a { | ||
| display: flex; | ||
| justify-content: center; | ||
| } | ||
| button { | ||
| width: 30%; | ||
| max-width: 357px; | ||
| } | ||
| } | ||
| banner { | ||
| flex-direction: column; | ||
| align-items: center; | ||
| width: 100%; | ||
| } | ||
| .banner-left { | ||
| width: 100%; | ||
| max-width: 100%; | ||
| } | ||
|
|
||
| .banner-right { | ||
| width: 100%; | ||
| max-width: 100%; | ||
| margin-top: 15rem; | ||
| } | ||
| .main-banner-bottom__content { | ||
| h1 { | ||
| text-align: center; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 767px) and (min-width: 375px) { | ||
| .main-banner__content { | ||
| padding: 3rem 0; | ||
| h1 { | ||
| width: 80%; | ||
| font-size: 80%; | ||
| line-height: 130%; | ||
| } | ||
| #search-btn { | ||
| width: 70%; | ||
| } | ||
| } | ||
| .banner-right { | ||
| margin-top: 4rem; | ||
| } | ||
|
|
||
| .main-article__text { | ||
| gap: 1.5rem; | ||
| } | ||
| } | ||


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.
💊 제안
min-width가 조건에 걸려있어 375px 미만으로 화면이 작아지게 되면 PC 스타일이 적용되네요~
body에 min-width: 375px를 추가하셔서 해당 사이즈 미만으로 작아지게 되면 가로 스크롤이 생기게 해주시거나
아니라면 min-width를 조건문에서 빼주시는 것을 추천드려요~