Skip to content

Commit

Permalink
Change class name and css
Browse files Browse the repository at this point in the history
  • Loading branch information
박상준 authored and 박상준 committed Feb 27, 2024
1 parent f82344f commit 6f62314
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 121 deletions.
30 changes: 18 additions & 12 deletions signin.css → css/signin.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
@font-face {
font-family: Pretendard;
src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
}

:root{
--Black: #000000;
--Primary: #6D6AFE;
--Backgournd: #F0F6FF;
}

*{
box-sizing: border-box;
}

body{
margin: 0 auto;
background: var(--Linkbrary-bg, #F0F6FF);
background: var(--Backgournd);
}

section{
Expand All @@ -16,7 +27,7 @@ section{
}

span{
color: var(--black, #000);
color: var(--Black);
font-family: Pretendard;
font-size: 14px;
font-style: normal;
Expand All @@ -25,7 +36,7 @@ span{
}

a{
color: var(--Linkbrary-primary-color, #6D6AFE);
color: var(--Primary);
font-family: Pretendard;
font-size: 16px;
font-style: normal;
Expand All @@ -47,6 +58,7 @@ a{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 16px;
}

Expand Down Expand Up @@ -85,10 +97,12 @@ input{
border-radius: 8px;
border: 1px solid var(--Linkbrary-gray20, #CCD5E3);
background: var(--Linkbrary-white, #FFF);
font-size: 16px;
line-height: 24px;
}

input:focus{
border: 1px solid var(--Linkbrary-primary-color, #6D6AFE);
border: 1px solid var(--Primary);
}

form{
Expand Down Expand Up @@ -150,14 +164,6 @@ form{
padding: 10px;
}

.logo.google{
background-image: url(image/google.svg);
}

.logo.kakao{
background-image: url(image/facebook.svg);
}

.mainLogo{
width: 22px;
height: 22px;
Expand Down
121 changes: 70 additions & 51 deletions style.css → css/style.css
Original file line number Diff line number Diff line change
@@ -1,37 +1,52 @@
@font-face {
font-family: Pretendard;
src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
}

.abel-regular {
font-family: "Abel", sans-serif;
font-weight: 400;
font-style: normal;
}

.acme-regular {
font-family: "Acme", sans-serif;
font-weight: 400;
font-style: normal;
}

:root{
--Primary: #6D6AFE;
--red: #FF5B56;
--The-julge-black: #111322;
--white: #FFFFFF;
--gray-100: #373740;
--gray-60: #9FA6B2;
--gray-20: #CCD5E3;
--gray-10: #E7EFFB;
--bg: #F0F6FF;
--ErrorMessage: #FF5B56;
--Footer-black: #111322;
--Section: #FFFFFF;
--Gray-100: #373740;
--Gray-60: #9FA6B2;
--Gray-20: #CCD5E3;
--Gray-10: #E7EFFB;
--Gray-cta: #F5F5F5;
--Background: #F0F6FF;
}

*{
box-sizing: border-box;
}

body{
background-color: var(--bg);
background-color: var(--Background);
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: flex-start;
}

nav{
position: fixed;
display: flex;
position: sticky;
padding: 20px 200px;
flex-direction: column;
align-items: center;
gap: 8px;
align-self: stretch;
width: 100%;
z-index: 2;
top: 0;
z-index: 1;
}

.navModal{
Expand All @@ -46,29 +61,34 @@ nav img{
height: 24px;
}

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

.cta{
display: flex;
width: 128px;
padding: 16px 20px;
justify-content: center;
align-items: center;
gap: 18px;
border-radius: 8px;
background: var(--gra-purpleblue-to-skyblue, linear-gradient(91deg, var(--Primary) 0.12%, #6AE3FE 101.84%));
}

a{
text-decoration: none;
color: var(--Grey-Light, #F5F5F5);
color: var(--Gray-cta);
padding: 16px 20px;
font-family: Pretendard;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

p{
.cta-short{
width: 128px;
}

.cta-long{
width: 350px;
}

.description{
color: #6B6B6B;
font-family: Abel;
font-size: 16px;
Expand All @@ -79,30 +99,30 @@ p{
}

header {
background: var(--bg);
background: var(--Background);
width: 100%;
margin: 0 auto;
display: flex;
align-items: center;
flex-direction: column;
padding-top: 94px;
}

.header__Contents{
.header__contents{
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
gap: 40px;
padding-top: 70px;
}

.header__Contents img{
.header__contents img{
width: 100%;
border-radius: 25px;
box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.08);
}

header h1{
.slogan {
margin: 0;
text-align: center;
font-family: Pretendard;
Expand All @@ -112,14 +132,14 @@ header h1{
line-height: 80px; /* 125% */
}

header h1 span{
.slogan_gradient{
background: linear-gradient(91deg, var(--Primary) 17.28%, #FF9F9F 74.98%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.header__Image{
.header__image{
padding: 50px 40px 0 40px;
margin: 0 auto;
width: 1200px;
Expand All @@ -135,7 +155,7 @@ header h1 span{
main{
margin: 0 auto;
width: 100%;
background-color: var(--white);
background-color: var(--Section);
}

section{
Expand Down Expand Up @@ -167,7 +187,7 @@ article{
gap: 10px;
}

.article__textBox h2{
.textBox__title{
font-family: Pretendard;
font-size: 48px;
font-style: normal;
Expand All @@ -177,7 +197,7 @@ article{
margin: 0;
}

.article__textBox.save span{
.textBox__title-1__gradient{
background: linear-gradient(96deg, #FE8A8A 1.72%, #A4CEFF 74.97%);
background-clip: text;
-webkit-background-clip: text;
Expand All @@ -190,7 +210,7 @@ article{
width: 550px;
height: 450px;
border-radius: 15px;
background: var(--bg);
background: var(--Background);
}

.article__contents__container{
Expand All @@ -214,67 +234,66 @@ article{

.article__contents__emptyContent img{
position: absolute;
width: 46px;
height: 46px;
object-fit: contain;
top: 210px;
left: 210px;
}

.article__contents.folder{
.folderSection{
padding: 114px 68px 66px 68px;
}

.article__textBox.folder span{
.textBox__title-2__gradient{
background: linear-gradient(277deg, #6FBAFF 59.22%, #FFD88B 93.66%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.article__textBox.share span{
.textBox__title-3__gradient{
background: linear-gradient(99deg, #6D7CCD 19.76%, rgba(82, 136, 133, 0.22) 52.69%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.article__contents.share{
.shareSection{
position: relative;
padding: 114px 68px 66px 68px;
border-radius: 25px;
box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.08);
background-image: url(image/image\ 25.png);
background-image: url(/image/image\ 25.png);
background-size: 160%;
background-position: center;
background-repeat: no-repeat;
}

.article__contents.shareDark{
.shareDark{
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.4);
}

.article__contents.share img{
.shareSection img{
z-index: 1;
}

.article__contents.search{
.searchSection{
overflow: hidden;
}

.search__Image{
.searchSection__Image{
position: relative;
top: 55px;
left: 60px;
width: 100%;
height: 100%;
border-radius: 15px;
background-image: url(image/스크린샷\ 2023-03-17\ 오후\ 3.22\ 1.png);
background-image: url(/image/스크린샷\ 2023-03-17\ 오후\ 3.22\ 1.png);
background-size: cover;
}

.article__textBox.search span{
.textBox__title-4__gradient{
background: var(--Fandom-K-gra-blue-to-pink, linear-gradient(271deg, #FE578F -9.84%, #68E8F9 107.18%));
background-clip: text;
-webkit-background-clip: text;
Expand All @@ -284,7 +303,7 @@ article{
footer{
width: 100%;
margin: 0 auto;
background: var(--The-julge-black);
background: var(--Footer-black);
padding: 32px 104px 64px;
}

Expand Down
Loading

0 comments on commit 6f62314

Please sign in to comment.