-
Notifications
You must be signed in to change notification settings - Fork 31
[이나경] sprint3 #125
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-\uC774\uB098\uACBD-sprint3"
[이나경] sprint3 #125
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 |
|---|---|---|
| @@ -1,21 +1,15 @@ | ||
| /* header */ | ||
|
|
||
| .header { | ||
| width: 100%; | ||
| height: 70px; | ||
| padding: 0 200px; | ||
| background: #fff; | ||
| display: flex; | ||
| align-items: center; | ||
| position: fixed; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .header__navbar { | ||
| display: flex; | ||
| gap: 839px; | ||
| align-items: center; | ||
| max-width: 1120px; | ||
| margin: 0 auto; | ||
| justify-content: space-between; | ||
| padding: 0 300px; | ||
| top: 0px; | ||
| } | ||
|
|
||
| .header__login-button { | ||
|
|
@@ -45,6 +39,7 @@ | |
| background: #cfe5ff; | ||
| display: flex; | ||
| width: 100%; | ||
| padding-top: 70px; | ||
| } | ||
|
|
||
| .banner__container { | ||
|
|
@@ -96,6 +91,7 @@ | |
| overflow: hidden; | ||
| white-space: nowrap; | ||
| cursor: pointer; | ||
| width: fit-content; | ||
| } | ||
|
|
||
| .banner__slogan { | ||
|
|
@@ -111,6 +107,12 @@ | |
| padding: 138px; | ||
| display: flex; | ||
| justify-content: center; | ||
| flex-direction: row; | ||
| } | ||
|
|
||
| .feature-content { | ||
| text-align: right; | ||
| margin-left: 40px; | ||
| } | ||
|
|
||
| .highlight__container { | ||
|
|
@@ -120,9 +122,11 @@ | |
| justify-content: space-between; | ||
| align-items: center; | ||
| gap: 32px; | ||
| width: 988px; | ||
| overflow: hidden; | ||
| height: 444px; | ||
| } | ||
|
|
||
| .highlight:nth-child(3) .highlight__container { | ||
| flex-direction: row-reverse; | ||
| } | ||
|
|
||
| .highlight__image, | ||
|
|
@@ -181,13 +185,6 @@ | |
| line-height: 32px; | ||
| } | ||
|
|
||
| .highlight__search-content { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: flex-end; | ||
| padding-left: 38px; | ||
| } | ||
|
|
||
| .highlight__search-image { | ||
| margin-right: 14px; | ||
| } | ||
|
|
@@ -265,3 +262,134 @@ | |
| .footer__icon--instagram { | ||
| background-image: url('../assets/images/ic_instagram.svg'); | ||
| } | ||
|
|
||
| /* 태블릿 + 모바일 */ | ||
| @media (max-width: 1199px) { | ||
|
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. 이렇게 따로 구분 하셔도 되긴 하지만.. 데스크탑 -> 태블릿 -> 모바일 혹은 |
||
| .banner__container { | ||
| flex-direction: column; | ||
| align-items: center; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .banner__slogan { | ||
| align-items: center; | ||
| } | ||
|
|
||
| .banner__image { | ||
| margin-top: auto; | ||
| } | ||
|
|
||
| .highlight__container { | ||
| flex-direction: column; | ||
| align-items: flex-start; | ||
| text-align: left; | ||
| width: 100%; | ||
| background: #ffffff; | ||
| } | ||
|
|
||
| .highlight__image { | ||
| margin-left: 0; | ||
| } | ||
|
|
||
| .highlight__image, | ||
| .highlight__search-image, | ||
| .highlight__item-image { | ||
| width: 100%; | ||
| height: auto; | ||
| border-radius: 14px; | ||
| } | ||
|
|
||
| .highlight__image img { | ||
| width: 100%; | ||
| border-radius: 14px; | ||
| } | ||
|
|
||
| .highlight__title br { | ||
| display: none; | ||
| } | ||
|
|
||
| .highlight__register-image { | ||
| width: 100%; | ||
| height: auto; | ||
| border-radius: 14px; | ||
| } | ||
|
|
||
| .banner__container--bottom { | ||
| gap: 0; | ||
| } | ||
| } | ||
|
|
||
| /* 태블릿 */ | ||
| @media (min-width: 768px) and (max-width: 1199px) { | ||
| .header { | ||
| padding: 0 24px; | ||
| } | ||
|
|
||
| .banner { | ||
| height: 771px; | ||
| } | ||
|
|
||
| .banner__slogan { | ||
| margin-top: 54px; | ||
| } | ||
|
|
||
| .highlight { | ||
| padding: 24px; | ||
| } | ||
|
|
||
| .highlight:nth-child(3) .highlight__container { | ||
| flex-direction: column; | ||
| align-items: flex-end; | ||
| } | ||
|
|
||
| .feature-content { | ||
| text-align: right; | ||
| } | ||
|
|
||
| .footer { | ||
| padding: 20px 200px; | ||
| } | ||
| } | ||
|
|
||
| /* 모바일 */ | ||
| @media (max-width: 767px) { | ||
| .header { | ||
| padding: 0 16px; | ||
| } | ||
|
|
||
| .banner { | ||
| height: 700px; | ||
| } | ||
|
|
||
| .banner__slogan { | ||
| margin-bottom: 0px; | ||
| margin-top: 48px; | ||
| } | ||
|
|
||
| .highlight { | ||
| padding: 52px 15px; | ||
| } | ||
|
|
||
| .highlight:nth-child(3) .highlight__container { | ||
|
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. 태블릿과 중복이네요~ 위 말씀드린 것처럼 점진적으로 바뀌는 부분만 처리하시면 조금 더 중복 찾기가 좋을 거에요 :) |
||
| flex-direction: column; | ||
| align-items: flex-end; | ||
| } | ||
|
|
||
| .br-highlight { | ||
| display: none; | ||
| } | ||
|
|
||
| .footer { | ||
|
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. |
||
| padding: 32px 100px; | ||
| } | ||
|
|
||
| .footer__section { | ||
| position: relative; | ||
| } | ||
|
|
||
| .footer__copyright { | ||
| position: absolute; | ||
| top: 60px; | ||
| left: 0; | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,19 +3,40 @@ | |
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <meta name="description" content="일상의 모든 물건을 거래해보세요" /> | ||
| <meta property="og:title" content="판다 마켓" /> | ||
|
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. og 태그를 잘 챙겨주셨군요! 👍 |
||
| <meta property="og:description" content="일상의 모든 물건을 거래해보세요" /> | ||
| <meta | ||
| property="og:image" | ||
| content="https://sprint3-panda-market.netlify.app/assets/images/logo.png" | ||
| /> | ||
| <meta | ||
| property="og:url" | ||
| content="https://sprint3-panda-market.netlify.app/html/index.html" | ||
| /> | ||
| <meta name="twitter:title" content="판다 마켓" /> | ||
| <meta | ||
| name="twitter:description" | ||
| content="일상의 모든 물건을 거래해보세요" | ||
| /> | ||
| <meta | ||
| name="twitter:image" | ||
| content="https://sprint3-panda-market.netlify.app/assets/images/logo.png" | ||
| /> | ||
|
|
||
| <meta property="og:type" content="website" /> | ||
|
|
||
| <title>판다마켓</title> | ||
| <link rel="stylesheet" href="../css/global.css" /> | ||
| <link rel="stylesheet" href="../css/index.css" /> | ||
| <link rel="stylesheet" href="../css/palette.css" /> | ||
| </head> | ||
| <body> | ||
| <header class="header"> | ||
| <div class="header__navbar"> | ||
| <a href="/"> | ||
| <img src="../assets/images/logo.svg" alt="메인 로고" class="logo" /> | ||
| </a> | ||
| <a href="./login.html" class="header__login-button">로그인</a> | ||
| </div> | ||
| <a href="/"> | ||
| <img src="../assets/images/logo.svg" alt="메인 로고" class="logo" /> | ||
| </a> | ||
| <a href="./login.html" class="header__login-button">로그인</a> | ||
| </header> | ||
|
|
||
| <main> | ||
|
|
@@ -46,7 +67,9 @@ | |
| </div> | ||
| <div class="highlight__content"> | ||
| <span class="highlight__keyword">Hot item</span> | ||
| <p class="highlight__title">인기 상품을<br />확인해 보세요</p> | ||
| <p class="highlight__title"> | ||
|
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. 반응형 폰트 크기를 확인해 주세요 :) |
||
| 인기 상품을 <br class="br-highlight" />확인해 보세요 | ||
| </p> | ||
| <p class="highlight__subtitle"> | ||
| 가장 HOT한 중고거래 물품을<br /> | ||
| 판다 마켓에서 확인해 보세요 | ||
|
|
@@ -57,19 +80,19 @@ | |
|
|
||
| <section class="highlight"> | ||
| <div class="highlight__container"> | ||
| <div class="highlight__search-content"> | ||
| <div class="highlight__image"> | ||
| <img src="../assets/images/search_img.svg" alt="상품검색 이미지" /> | ||
| </div> | ||
| <div class="feature-content"> | ||
| <span class="highlight__keyword">Search</span> | ||
| <p class="highlight__title align-right"> | ||
| 구매를 원하는<br />상품을 검색하세요 | ||
| <p class="highlight__title"> | ||
|
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. 여기도 반응형 폰트 크기를 확인해 주세요~! :) |
||
| 구매를 원하는<br class="br-highlight" />상품을 검색하세요 | ||
| </p> | ||
| <p class="highlight__subtitle align-right"> | ||
| <p class="highlight__subtitle"> | ||
| 구매하고 싶은 물품은 검색해서<br /> | ||
| 쉽게 찾아보세요 | ||
| </p> | ||
| </div> | ||
| <div class="highlight__search-image"> | ||
| <img src="../assets/images/search_img.svg" alt="상품검색 이미지" /> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
|
|
@@ -98,7 +121,7 @@ | |
| <section class="banner"> | ||
| <div class="banner__container banner__container--bottom"> | ||
| <p class="banner__description banner__description--bottom"> | ||
| 믿을 수 있는<br /> | ||
| 믿을 수 있는<br class="br-bottom-banner" /> | ||
| 판다마켓 중고 거래 | ||
| </p> | ||
| <img | ||
|
|
||

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.
모바일일 때 내부 폰트 사이즈가 다릅니다 :) 디자인 시안을 확인해 주세요~!