Skip to content

Commit

Permalink
Merge pull request #5 from yulrang/part1-LeeYoul-sprint1
Browse files Browse the repository at this point in the history
[이율] Sprint1
  • Loading branch information
leejyart authored Mar 17, 2024
2 parents 4dc5dd0 + 3cf3a7e commit 5aa3f00
Show file tree
Hide file tree
Showing 18 changed files with 592 additions and 0 deletions.
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;
--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;
}

.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;
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

0 comments on commit 5aa3f00

Please sign in to comment.