Skip to content

Commit

Permalink
2주차 기능구현
Browse files Browse the repository at this point in the history
  • Loading branch information
wjy308 authored and 1005hoon committed Feb 28, 2024
1 parent 4dc5dd0 commit cac7ed9
Show file tree
Hide file tree
Showing 31 changed files with 719 additions and 0 deletions.
250 changes: 250 additions & 0 deletions css/indexStyle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
* {
box-sizing: border-box;
}

body {
/* 폰트 색상 weight 변수 */
--primary-color:#6d6afd;
--cst_red-color:#FF5B56;
--cst_black-color:#111322;
--cst_darkGray-color:#3E3E43;
--cst_darkGray2-color:#9FA6B2;
--cst_midGray-color:#CCD5E3;
--cst_lightGray-color:#E7EFFB;
--cst_lightGray2-color:#F0F6FF;


--logo-weight:700;
margin: 0;
font-family: "Montserrat Alternates", 'Noto Sans KR', sans-serif;
}

header {
background-color: var(--cst_lightGray2-color);
}

a {
text-decoration: none;
}

nav {
position: sticky;
background-color: var(--cst_lightGray2-color);
top: 0px;
height: 50px;
width: 100%;
}

.nav-container {
display: flex;
justify-content: space-between;
gap: 20px;
align-items: center;
}

/* 로고 */
a.btn-home {
margin-left: 200px;
color: var(--primary-color);
font-weight: var(--logo-weight);
font-size: 24px;
}

/* 버튼 기본 속성 */
.btn {
background-image: linear-gradient(to right, #6D6AFE, #6AE3FE);
border-radius: 8px;
color: #F5F5F5;
display: flex;
align-items: center;
}

/* 로그인 버튼 */
.login {
margin-right: 200px;
font-size: 16px;
font-weight: 600;
padding: 16px 20px;
height: 40px;
margin-top: 5px;
margin-bottom: 5px;
min-width: 85px;
}

.header-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
overflow: hidden;
}

.header-contents-txt {
text-align: center;
margin-top: 70px;
font-size: 64px;
}

.gra-PurToPink {
background-image: linear-gradient(to right, #6D6AFE, #FF9F9F);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}

.add-link {
display: flex;
align-items: center;
justify-content: center;
width: 350px;
height: 53px;
padding: 16px 20px;
font-size: 18px;
font-weight: 600;
margin: 40px 0;
}

/* 크기 조절하여 밑 부분 짤리게 (+overflow) */
.header-contents-img {
max-width: 1200px;
max-height: 590px;
}

.header-img {
border-radius: 25px;
margin: 50px 41px;
width: 1118px;
height: 700px;

/* 이미지 안쪽에 그라데이션 */
background: linear-gradient(to top,
rgba(0, 0, 0, 1),
rgba(196, 196, 196, 0) 30%), url("../img/page.png");
background-size: cover;

/* 이미지 바깥 그라데이션 */
box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.22);

}

main{
/* 450 998 */
display: grid;
grid-template-columns: 1fr minmax(300px,998px) 1fr;
/* grid-template-columns: 1fr 998px 1fr;*/
grid-template-rows: repeat(4, 450px);
margin-top: 120px;
gap: 100px;
}

.main-container {
grid-column: 2 / 3;
display: flex;
justify-content: space-between;
align-items: center;
gap: 30px;
}

.main-contents-txt {
font-size: 48px;
max-height: 450px;
font-weight: 700;
}

.gra-PinkToSky {
background-image: linear-gradient(to right, #FE8A8A, #A4CEFF);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}

.mainTxt-description {
font-size: 16px;
font-weight: 400;
}

.main-contents-img {
background-color: var(--cst_lightGray2-color);
border-radius: 15px;
display: flex;
overflow: hidden;
justify-content: center;
align-items: center;
width: 550px;
height: 450px;
}

.main-img-save {
width: 244px; height: 239px;
}

.main-img-fav {
width: 414px; height: 270px;
}

.gra-YelToSky {
background-image: linear-gradient(to right, #FFD88B, #6FBAFF);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}

.gra-BluToBlu {
background-image: linear-gradient(to right, #528885, #6D7CCD);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}

.share {
background-color: black;
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url("../img/page2.png");
background-size: cover;
background-position: center;
}

.main-img-share {
width: 619px; height: 584px;
position: relative;
top: 110px;
left: 90px;
box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.22);
border-radius: 15px;
}

.search {
}

.gra-GrenToSky {
background-image: linear-gradient(to right, #68E8F9, #FE578F);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}

footer {
margin-top: 80px;
padding: 40px 0 0 104px;
background-color: var(--cst_black-color);
display: flex;
justify-content: space-between;
align-items: top;
width: 100%;
height: 200px;
gap: 10px;

/* 폰트 설정 */
color: #676767;
font-size: 16px;
font-weight: 400;

}

a.footer-policy {
color: #cfcfcf
}

.footer-sns {
padding-right: 104px;
}
117 changes: 117 additions & 0 deletions css/login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
* {
box-sizing: border-box;
}

body {
/* 폰트 색상 weight 변수 */
--primary-color:#6d6afd;
--logo-weight:700;
margin: 0;
font-family: "Montserrat Alternates", 'Noto Sans KR', sans-serif;
background-color: #F0F6FF;
}

a {
text-decoration: none;
}

input{
width: 100%;
height: 60px;
border-radius: 8px;
padding: 18px 15px;
}

a.btn-home {
color: var(--primary-color);
font-weight: var(--logo-weight);
font-size: 45px;
}

.container {
margin: 238px 520px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

.login-top {
text-align: center;
font-size: 16px;
font-weight: 400;
}

.signUp {
text-decoration: underline;
font-size: 16px;
font-weight: 600;
color: var(--primary-color);
}

.login-mid{
font-size: 14px;
font-weight: 400;
width: 400px;
margin-top: 30px;
margin-bottom: 10px;
}

#input-email {
margin-top: 10px;
margin-bottom: 10px;
}

#input-password {
margin-top: 10px;
margin-bottom: 10px;
}

/* 버튼 기본 속성 */
.btn {
background-image: linear-gradient(to right, #6D6AFE, #6AE3FE);
border-radius: 8px;
color: #F5F5F5;
display: flex;
align-items: center;
}

/* 로그인 버튼 */
.login {
font-size: 16px;
font-weight: 600;
padding: 16px 20px;
height: 53px;
width: 100%;
margin-top: 10px;
display: flex;
align-items: center;
justify-content: center;
border: none;
}

.login-btm {
}

.snsLogin-container {
width: 400px;
height: 66px;
border-radius: 8px;
display: flex;
justify-content: space-between;
padding: 12px 24px;
background-color: #E7EFFB;
align-items: center;
border: 1px solid #ccd5e3;
}

.google-login {
width: 42px;
height: 42px;
margin-right: 15px;
}

.kakao-login {
width: 42px;
height: 42px;
}
Loading

0 comments on commit cac7ed9

Please sign in to comment.