Skip to content
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

[이율] Sprint1 #5

Merged
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
236 changes: 236 additions & 0 deletions sprint1/dist/css/style.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
/* reset */
body, h1, h2, h3, h4, h5, h6, p {
margin: 0;
}

a {
text-decoration: none;
}

ul, dl {
margin: 0;
padding: 0;
list-style: none;
}

/* common */
:root {
--brand-blue:#3692FF;
Copy link
Collaborator

@leejyart leejyart Mar 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

색상과 관련해 사용자지정css 속성을 사용해 주셨군요! 좋습니다!

--grey700: #374151;
}

.blind {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
clip: rect(0, 0, 0, 0);
overflow: hidden;
}

/* component */
.btn-large:visited,
.btn-small:visited {
color: #fff;
}
.btn-large:hover,
.btn-small:hover {
background: #1967D6;
color: #fff;
}
.btn-large:active,
.btn-small:active {
background: #1251AA;
color: #fff;
}
.btn-large:disabled,
.btn-small:disabled {
background: #9CA3AF;
color: #fff;
}
.btn-large:link,
.btn-small:link {
color: #fff;
}

.btn-large {
display: inline-block;
width: 355px;
height: 24px;
padding: 16px 0;
background: var(--brand-blue);
border: 0;
border-radius: 40px;
font-family: Pretendard, sans-serif;
font-size: 20px;
font-weight: 600;
color: #fff;
text-align: center;
line-height: 24px;
}

.btn-small {
display: inline-block;
width: 128px;
height: 20px;
padding: 14px 0;
background: var(--brand-blue);
border: 0;
border-radius: 8px;
text-align: center;
font-family: Pretendard, sans-serif;
font-size: 16px;
font-weight: 600;
color: #fff;
line-height: 20px;
}

/* layout */
.wrap {
display: grid;
grid-template-rows: 70px 1fr 160px;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grid 를 활용한 부분도 좋습니다!

}

.header {
display: flex;
box-sizing: border-box;
width: 100vw;
align-items: center;
justify-content: space-between;
padding: 0 10.42vw;
background: #fff;
}
.header .img-logo {
display: flex;
}

.section-wrap {
position: relative;
max-width: 1200px;
margin: 0 auto;
}
@media screen and (max-width: 1200px) {
.section-wrap {
max-width: 100vw;
}
}

.footer {
display: flex;
box-sizing: border-box;
width: 100vw;
justify-content: space-between;
padding: 32px 10.42vw 0;
background: #111827;
color: #fff;
}
.footer .footer-tit {
font-family: Pretendard, sans-serif;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

폰트는 body 에 적용하면 될 것 같습니다.

font-size: 16px;
font-weight: 400;
line-height: 19px;
}
.footer .footer-nav {
display: flex;
gap: 3.07vw;
}
.footer .footer-sns {
display: flex;
gap: 0.625vw;
}
.footer .link:visited {
color: #fff;
}
.footer .link:link {
color: #fff;
}

/* index */
.section-banner.top {
background: url("../img/Img_home_top.png") no-repeat #CFE5FF;
background-position: left calc(50% + 238px) bottom 0;
}
.section-banner.bottom {
background: url("../img/Img_home_bottom.png") no-repeat #CFE5FF;
background-position: left calc(50% + 238px) bottom 0;
}
.section-banner .section-wrap {
display: flex;
height: 540px;
flex-direction: column;
justify-content: center;
gap: 32px;
}
.section-banner .banner-img {
position: relative;
right: 0;
transform: translateX(133px);
font-size: 0;
text-align: right;
}
.section-banner .banner-tit {
max-width: 355px;
font-family: Pretendard, sans-serif;
font-size: 40px;
font-weight: 700;
line-height: 56px;
word-break: keep-all;
color: var(--grey700);
}

.section-desc {
padding: 138px 0;
}
.section-desc.right .section-img {
order: 2;
}
.section-desc.right .section-wrap {
justify-content: flex-end;
}
.section-desc.right .section-content {
align-items: flex-end;
text-align: right;
}
.section-desc .section-wrap {
display: flex;
gap: 5.3vw;
}
.section-desc .section-img {
flex: 0 0;
}
@media screen and (max-width: 1200px) {
.section-desc .section-img img {
max-width: 49vw;
}
}
.section-desc .section-content {
display: flex;
flex: 1 1;
flex-direction: column;
justify-content: center;
word-break: keep-all;
color: var(--grey700);
}
.section-desc .topic {
font-family: Pretendard, sans-serif;
font-size: 18px;
font-weight: 700;
line-height: 25px;
color: var(--brand-blue);
}
.section-desc .tit {
margin: 12px 0 24px;
font-family: Pretendard, sans-serif;
font-size: 40px;
font-weight: 700;
line-height: 56px;
letter-spacing: 0.02em;
max-width: 300px;
}
.section-desc .content {
font-family: Pretendard, sans-serif;
font-size: 24px;
font-weight: 500;
line-height: 29px;
letter-spacing: 0.08em;
}
Binary file added sprint1/dist/img/Img_home_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprint1/dist/img/Img_home_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprint1/dist/img/Img_home_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprint1/dist/img/Img_home_bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprint1/dist/img/Img_home_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions sprint1/dist/img/ic_facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions sprint1/dist/img/ic_instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions sprint1/dist/img/ic_twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions sprint1/dist/img/ic_youtube.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprint1/dist/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions sprint1/dist/scss/_common.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* common */
:root {
--brand-blue:#3692FF;
--grey700: #374151;
}

.blind {
position:absolute;
width:1px;
height:1px;
margin:-1px;
clip:rect(0,0,0,0);
overflow:hidden;
}
53 changes: 53 additions & 0 deletions sprint1/dist/scss/_component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/* component */
.btn-large,
.btn-small {
&:visited {
color:#fff;
}
&:hover {
background:#1967D6;
color:#fff;
}
&:active {
background:#1251AA;
color:#fff;
}
&:disabled {
background:#9CA3AF;
color:#fff;
}
&:link {
color:#fff;
}
}
.btn-large {
display:inline-block;
width:355px;
height:24px;
padding:16px 0;
background:var(--brand-blue);
border:0;
border-radius:40px;
font-family: Pretendard, sans-serif;
font-size: 20px;
font-weight: 600;
color:#fff;
text-align:center;
line-height:24px;
}

.btn-small {
display:inline-block;
width: 128px;
height:20px;
padding:14px 0;
background:var(--brand-blue);
border:0;
border-radius: 8px;
text-align:center;
font-family: Pretendard, sans-serif;
font-size: 16px;
font-weight: 600;
color:#fff;
line-height:20px;
}
Loading
Loading