Skip to content

Commit

Permalink
Merge pull request #97 from kimhyunmook/basic-김현묵-sprint5
Browse files Browse the repository at this point in the history
[김현묵] sprint 5
  • Loading branch information
pers0n4 authored Oct 31, 2024
2 parents fd58012 + cc75d16 commit 4b757d7
Show file tree
Hide file tree
Showing 71 changed files with 22,907 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
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
}
157 changes: 157 additions & 0 deletions css/_login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
main {
width: 100%;
min-height: 100vh;
display: flex;
/* align-items: center; */
justify-content: center;
padding: 50px 0 100px;
}

main > .content {
width: 640px;
text-align: center;
}
.big_logo {
display: block;
max-width: 320px;
width: 100%;
margin: auto;
margin-bottom: 60px;
}
.big_logo img {
width: 100%;
}
#forms {
}
#forms label {
display: block;
width: 100%;
position: relative;
text-align: left;
font-size: 18px;
font-weight: 700;
margin-bottom: 10px;
}
#forms .inputbox {
width: 100%;
padding: 16px 24px;
border-radius: 12px;
height: 56px;
background: var(--gray100);
display: flex;
border: 1px solid transparent;
position: relative;
}
#forms .conBox {
position: relative;
margin-bottom: 36px;
/* height: 0; */
/* transition: 1.5; */
}

#forms .inputbox.on {
border: 1px solid var(--primary100);
}
#forms .inputbox input {
border: 0;
width: 100%;
height: 100%;
background: transparent;
font-size: 16px;
outline: none;
}
#forms .inputbox .seePw {
position: relative;
width: 22px;
height:22px;
background:url(../img/look.svg) no-repeat center;
}
#forms .inputbox .seePw.on {
background:url(../img/look2.svg) no-repeat center;
}
#forms .inputbox.err {
border-color: var(--error);
}
#forms .inputbox .errMsg {
position: absolute;
left: 0;
top: 110%;
display: block;
text-align: left;
padding-left: 16px;
font-size: 15px;
font-weight: 600;
color: var(--error);
letter-spacing: -1px;
}
#forms button.btn {
width: 100%;
height: 56px;
background: var(--gray400);
color: var(--gray50);
font-size: 20px;
line-height: 32px;
font-weight: 600;
border: 0;
border-radius: 40px;
margin-bottom: 24px;
transition: 0.5s;
}
#forms button.btn.on {
cursor: pointer;
background-color: var(--primary100);
}

#forms .simple {
display: flex;
justify-content: space-between;
background: #e6f2ff;
padding: 16px 23px;
height: 74px;
border-radius: 12px;
margin-bottom: 24px;
}
#forms .simple p {
font-size: 16px;
line-height: 26px;
font-weight: 500;
display: flex;
align-items: center;
color: var(--gray800);
}
#forms .simple .icon_box {
display: flex;
justify-content: space-between;
width: 100px;
}
#forms .simple a {
display: block;
}

#forms .link {
text-align: center;
font-size: 14px;
line-height: 24px;
font-weight: 500;
color: var(--gray800);
}
#forms .link a {
color: var(--primary100);
font-size: 14px;
font-weight: 500;
text-decoration: underline;
}

@media screen and (max-width: 1199px) {
.big_logo img {
width: 100%;
max-width: 390px;
}
}

@media screen and (max-width: 743px) {
main > .content {
padding: 0 16px;
max-width: 400px;
}
}
73 changes: 73 additions & 0 deletions css/_modal.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
.modalCover {
background-color: rgba(0, 0, 0, 0.6);
width: 100%;
height: 100vh;
position: fixed;
left: 0;
top: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.modal {
width: 500px;
height: 250px;
background-color: #fff;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
animation: modal 0.5s ease-in;
}
.modal p {
color: var(--error);
font-size: 18px;
font-weight: 600;
}
.modal button {
position: absolute;
background: var(--primary100);
color: #fff;
bottom: 20px;
right: 20px;
width: 120px;
height: 48px;
padding: 12px 23px 12px 23px;
border-radius: 8px;
border: 0;
font-size: 16px;
font-weight: 600;
}
@keyframes modal {
0% {
transform: rotate(1deg);
}
10% {
transform: rotate(-1deg);
}
20% {
transform: rotate(1deg);
}
30% {
transform: rotate(-1deg);
}
40% {
transform: rotate(1deg);
}
50% {
transform: rotate(-1deg);
}
60% {
transform: rotate(1deg);
}
70% {
transform: rotate(-1deg);
}
}
@media screen and (max-width: 656px) {
.modal {
width: 327px;
}
}
49 changes: 49 additions & 0 deletions css/_reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
@font-face {
font-family: "Pretendard";
font-weight: 400;
font-display: swap;
src: local("Pretendard Regular"),
url(./font/Pretendard-Regular.woff2) format("woff2"),
url(./font/Pretendard-Regular.woff) format("woff");
}
/* reset */
* {
padding: 0;
margin: 0;
line-height: 150%;
box-sizing: border-box;
font-family: "Pretendard";
}
a {
text-decoration: none;
}
li {
list-style: none;
}
html {
font-size: 10px;
}
p {
word-break: keep-all;
}

/* color */
:root {
--primary100: #3692ff;
--primary200: #1967d6;
--primary300: #1251aa;
--error: #f74747;

/*secondary color*/
--gray900: #111827;
--gray800: #1f2937;
--gray700: #374151;
--gray600: #4b5563;
--gray500: #6b7280;
--gray400: #9ca3af;
--gray200: #e5e7eb;
--gray100: #f3f4f6;
--gray50: #f9fafb;

--bb: 1deg;
}
Loading

0 comments on commit 4b757d7

Please sign in to comment.