Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
244 changes: 244 additions & 0 deletions css/common_css/mainpage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
.main-wrap {
width: 100%;
height: 100%;
background-color: #cfe5ff;
}

/* 헤더 영역 */
header {
width: 100%;
height: 70px;
padding: 0 200px;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
background-color: #fff;
}

header .logo img {
width: 153px;
height: 51px;
}

.log-in-btn {
width: 128px;
height: 48px;
background-color: #3692ff;
border-radius: 8px;
padding: 12px 23px;
text-align: center;
font-family: "Pretendard";
font-size: 16px;
font-weight: 600;
line-height: 26px;
color: #f3f4f6;
}

.log-in-btn:hover {
background-color: #1251aa;
transition: all 0.3s;
}

/* 메인 */
main {
width: 100%;
display: flex;
flex-direction: column;
background-color: #cfe5ff;
}

.top-img {
height: 540px;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding: 0 200px;
gap: 7px;
}

.main-title h1 {
font-family: "Pretendard";
font-size: 40px;
font-weight: 700;
line-height: 56px;
text-align: left;
color: #374151;
margin-bottom: 32px;
}

.main-title .watch.btn {
display: block;
width: 356px;
height: 56px;
background-color: #3692ff;
border-radius: 40px;
padding: 12px 124px;
font-family: "Pretendard";
font-size: 18px;
white-space: nowrap;
font-weight: 600;
line-height: 32px;
text-align: center;
color: #f9fafb;
margin-bottom: 100px;
}

.main-title .watch.btn:hover {
background-color: #1251aa;
transition: all 0.3s;
}

.top-img img {
width: 746px;
height: 340px;
}

/* 반복 섹션 */
section.main-contents {
height: 720px;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
}

section.main-contents article {
width: 988px;
height: 444px;
background-color: #fcfcfc;
display: flex;
}

.left-contents img {
width: 579px;
height: 444px;
margin-right: 64px;
}

.right-contents h3 {
font-family: "Pretendard";
font-size: 18px;
font-weight: 700;
line-height: 26px;
text-align: left;
color: #3692ff;
margin-top: 103px;
margin-bottom: 12px;
}

.right-contents p {
font-family: "Pretendard";
font-size: 40px;
font-weight: 700;
line-height: 56px;
letter-spacing: 2%;
text-align: left;
color: #374151;
margin-bottom: 24px;
}

.right-contents span {
font-family: "Pretendard";
font-size: 22px;
font-weight: 500;
line-height: 32px;
text-align: left;
color: #374151;
}

/* 반복 섹션의 두번째 섹션 */
.reverse article {
width: 988px;
height: 444px;
display: flex;
flex-direction: row-reverse;
}

.reverse article .left-contents img {
width: 579px;
height: 444px;
margin-right: 0;
margin-left: 64px;
}

/* Q:아래 코드처럼 작성했더니 .right-contents 안에 span태그에만 적용되고 h3와 p태그엔 적용이 되지 않습니다. */
.reverse article .right-contents {
text-align: right;
}

.reverse .right-contents h3,
.reverse .right-contents p {
text-align: right;
}

/* 아래 그림 영역 */
.bottom-img {
height: 540px;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding: 0 200px;
}

.bottom-contents h2 {
font-family: "Pretendard";
font-size: 40px;
font-weight: 600;
line-height: 56px;
color: #374151;
margin-bottom: 172.5px;
}

.bottom-img img {
width: 746px;
height: 397px;
}

/* 푸터 */
footer {
height: 160px;
background-color: #111827;
}

.footer-wrap {
height: 100%;
padding: 0 200px;
display: flex;
justify-content: space-between;
align-items: center;
}

.footer-content {
font-family: "Pretendard";
font-size: 16px;
font-weight: 400;
line-height: 19.09px;
text-align: center;
color: #9ca3af;
}

.footer-faq a {
font-family: "Pretendard";
font-size: 16px;
font-weight: 400;
line-height: 19.09px;
text-align: center;
color: #e5e7eb;
}

.footer-faq span:nth-of-type(1) {
margin-right: 30px;
}

.footer-social {
display: flex;
}

.footer-social li {
margin-right: 12px;
}

.footer-social li:last-of-type {
margin-right: 0;
}
16 changes: 16 additions & 0 deletions css/common_css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

a {
text-decoration: none;
cursor: pointer;
}

ul,
ol,
li {
list-style: none;
}
Loading
Loading