-
Notifications
You must be signed in to change notification settings - Fork 39
[남만재]Sprint1 #17
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-\uB0A8\uB9CC\uC7AC-sprint1"
[남만재]Sprint1 #17
Changes from 3 commits
a6fb761
034da1a
edcf176
7d736e3
52c2db9
0580227
f7b3d3d
4c4825c
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,182 @@ | ||
| * { | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| body { | ||
| margin: 0; | ||
| background-color: #ffffff; | ||
| color: #374151; | ||
| font-family: 'Noto Sans KR', sans-serif; | ||
| } | ||
|
|
||
| header { | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| width: 1120px; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| .main { | ||
| padding: 138px 0; | ||
| display: grid; | ||
| grid-template-areas: | ||
| "hotItem" | ||
| "search" | ||
| "register"; | ||
| gap: 276px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| #login { | ||
| padding: 16px 34px; | ||
| background-color: #3692ff; | ||
| border-radius: 8px; | ||
| color: #f3f4f6; | ||
| font-size: 16px; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| #login:hover { | ||
| background-color: #1251aa; | ||
| } | ||
|
|
||
| .omg { | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: flex-end; | ||
| margin: 0 auto; | ||
| width: 1110px; | ||
| } | ||
|
|
||
| .title { | ||
| padding: 200px 0 0; | ||
| background-color: #cfe5ff; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: flex-end; | ||
| } | ||
|
|
||
| .title-p { | ||
| display: flex; | ||
| flex-direction: column; | ||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| #p { | ||
| font-size: 40px; | ||
| font-weight: 700; | ||
| margin-bottom: 40px; | ||
| } | ||
|
|
||
| #button { | ||
| background-color: #3692ff; | ||
|
||
| padding: 16px 124px; | ||
| border-radius: 9999px; | ||
| color: #f9fafb; | ||
| margin-bottom:100px; | ||
| text-decoration: none; | ||
| font-size: 16px; | ||
| } | ||
|
||
|
|
||
| #button:hover { | ||
| background-color: #1251aa | ||
| } | ||
|
|
||
|
|
||
| .home { | ||
| flex-shrink: 0; | ||
| } | ||
|
|
||
|
|
||
| section { | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| .blue-font { | ||
| font-size: 18px; | ||
| font-weight: 700; | ||
| color: #3692ff; | ||
| line-height: 26px; | ||
| } | ||
|
|
||
| .section-title { | ||
| font-size: 40px; | ||
| font-weight: 700; | ||
| line-height: 140%; | ||
| } | ||
|
|
||
| p { | ||
| font-size: 24px; | ||
| font-weight: 500; | ||
| line-height: 32px; | ||
| } | ||
|
|
||
| .hotItem { | ||
| grid-area: hotItem; | ||
| } | ||
|
|
||
| .register { | ||
| grid-area: register; | ||
| } | ||
|
|
||
| .hotItem, | ||
| .register { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 48px; | ||
| background-color: #fcfcfc; | ||
| width: 1110px; | ||
| } | ||
|
|
||
| .search { | ||
| grid-area: search; | ||
| display: flex; | ||
| flex-direction: row-reverse; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 48px; | ||
| background-color: #fcfcfc; | ||
| width: 1110px; | ||
| } | ||
|
|
||
| .search | ||
| .section-text { | ||
| text-align: right; | ||
| } | ||
|
|
||
| .bottom { | ||
| background-color: #fcfcfc; | ||
| padding-top: 138px; | ||
| } | ||
|
|
||
| .bottom | ||
| #p { | ||
| margin-bottom: 160px; | ||
| } | ||
|
|
||
| footer { | ||
| background-color: #111827; | ||
| height: 160px; | ||
|
|
||
| } | ||
|
|
||
| .footer { | ||
| display: flex; | ||
| justify-content: space-around; | ||
| align-items: center; | ||
| padding-top: 40px; | ||
| margin: 0 auto; | ||
| width: 1110px; | ||
| } | ||
|
|
||
| .cccc { | ||
| text-decoration: none; | ||
| color: #e5e7eb; | ||
| } | ||
|
|
||
| a { | ||
| cursor: pointer; | ||
| padding: 0 10px; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
10000jaeN marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>판다마켓</title> | ||
| <link rel="preconnect" href="https://fonts.googleapis.com"> | ||
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
| <link | ||
| href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&family=Titillium+Web:wght@300;600&display=swap" | ||
| rel="stylesheet"> | ||
| <link rel="stylesheet" href="index.css"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <header> | ||
| <div> | ||
| <a href="/"><img id="logo" src="img/Property 1=md.png"></a> | ||
| </div> | ||
| <a id="login" href="/login">로그인</a> | ||
| </header> | ||
|
|
||
| <main> | ||
| <section class="title"> | ||
| <div class="omg"> | ||
| <div class="title-p"> | ||
| <div id="p"> | ||
| 일상의 모든 물건을<br> | ||
| 거래해 보세요 | ||
| </div> | ||
| <a id="button" href="/item"> | ||
10000jaeN marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 구경하러 가기 | ||
| </a> | ||
| </div> | ||
| <img class="home" src="img/Img_home_top.png"> | ||
| </div> | ||
| </section> | ||
|
|
||
| <div class="main"> | ||
| <section class="hotItem"> | ||
|
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. |
||
| <img src="img/Img_home_01.png"> | ||
10000jaeN marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <div class="section-text"> | ||
| <label class="blue-font"> | ||
| Hot item | ||
| </label> | ||
| <h2 class="section-title"> | ||
| 인기 상품을<br> | ||
| 확인해 보세요 | ||
| </h2> | ||
| <p> | ||
| 가장 HOT한 중고거래 물품을 <br> | ||
| 판다 마켓에서 확인해보세요 | ||
| </p> | ||
| </div> | ||
| </section> | ||
|
|
||
| <section class="search"> | ||
| <img src="img/Img_home_02.png"> | ||
| <div class="section-text"> | ||
| <label class="blue-font"> | ||
| Search | ||
| </label> | ||
| <h2 class="section-title"> | ||
| 구매를 원하는<br> | ||
| 상품을 검색하세요 | ||
| </h2> | ||
| <p> | ||
| 구매 하고싶은 물건은 검색해서<br> | ||
| 쉽게 찾아보세요 | ||
| </p> | ||
| </div> | ||
| </section> | ||
|
|
||
| <section class="register"> | ||
| <img src="img/Img_home_03.png"> | ||
| <div class="section-text"> | ||
10000jaeN marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <label class="blue-font"> | ||
10000jaeN marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Register | ||
| </label> | ||
| <h2 class="section-title"> | ||
| 판매를 원하는<br> | ||
| 상품을 등록하세요 | ||
| </h2> | ||
| <p> | ||
| 어떤 물건이든 판매 하고싶은 상품을 <br> | ||
| 쉽게 등록하세요 | ||
| </p> | ||
| </div> | ||
| </section> | ||
| </div> | ||
| </main> | ||
|
|
||
| <div class="bottom"> | ||
| <section class="title"> | ||
| <div class="omg"> | ||
| <div class="title-p"> | ||
| <div id="p"> | ||
| 믿을 수 있는<br> | ||
| 판다마켓 중고 거래 | ||
| </div> | ||
| </div> | ||
| <img class="home" src="img/Img_home_bottom.png"> | ||
| </div> | ||
| </section> | ||
| </div> | ||
|
|
||
| <footer> | ||
| <div class="footer"> | ||
| <div> | ||
| ©codeit - 2024 | ||
| </div> | ||
| <div> | ||
| <a class="cccc" href="/privacy">Privacy Policy</a> | ||
| <a class="cccc" href="/faq">FAQ</a> | ||
| </div> | ||
| <div class="link"> | ||
| <a href="https://www.facebook.com" target="_blank"><img src="img/ic_facebook.png"></a> | ||
10000jaeN marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <a href="https://www.twitter.com" target="_blank"><img src="img/ic_twitter.png"></a> | ||
| <a href="https://www.youtube.com" target="_blank"><img src="img/ic_youtube.png"></a> | ||
| <a href="https://www.instagram.com" target="_blank"><img src="img/ic_instagram.png"></a> | ||
| </div> | ||
| </div> | ||
| </footer> | ||
| </body> | ||
| </html> | ||
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.
용도를 나눠서 css 파일을 관리해볼까요?
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.
스타일시트를 두 개 만들어서 전체에 적용되는 스타일과 개별로 나눠 적용한 스타일을 구분해서 관리하는 말씀이실까요?
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.
네, 용도를 나눠 관리하는 css 파일은 필요한 파일에서 import 받아오시면 됩니다 :)