Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
6 changes: 6 additions & 0 deletions assets/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ nav {
position: fixed;
top: 0;
width: 100%;
height: 70px;
}

img {
max-width: 100%;
height: auto;
}
102 changes: 102 additions & 0 deletions assets/css/pages/login-signup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/* login, signup */
.login-container,
.signup-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 100px 600px;
}

.header__login,
.header__signup {
margin-bottom: 40px;
}

.form__login,
.form__signup {
display: flex;
flex-direction: column;
width: 100%;
}

.form__label-email,
.form__label-nickname,
.form__label-password,
.form__label-password-confirm {
color: var(--color-text-label);
margin-bottom: 20px;
}

.form__input-email,
.form__input-nickname,
.form__input-password,
.form__input-password-confirm {
background-color: var(--color-surface-input);
padding: 20px;
border-radius: 8px;
width: 100%;
}

.form__input-email,
.form__input-nickname {
margin-bottom: 20px;
}

.form__input-wrapper {
position: relative;
display: flex;
align-items: center;
margin-bottom: 20px;
}

.form__toggle-password,
.form__toggle-password-confirm {
position: absolute;
right: 20px;
cursor: pointer;
}

.form__input-button {
padding: 20px;
background-color: var(--color-primary);
color: var(--gray100);
border-radius: 40px;
cursor: pointer;
font-size: var(--font-size-large);
margin: 30px 0;
width: 100%;
}

.quick-login {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
background-color: var(--color-primary-surface);
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
}

.footer__link {
text-decoration: underline;
color: var(--color-primary);
}

/* login signup mobile */
@media (min-width: 375px) and (max-width: 767px) {
.login-container,
.signup-container {
margin: 80px 16px 231px;
max-width: 400px;
}
}

/* login signup Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
.login-container,
.signup-container {
margin: 0 52px;
}
}
Comment on lines +87 to +102
Copy link
Collaborator

Choose a reason for hiding this comment

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

브레이크포인트 겹치는 지점 없게 잘 써주셨네요! :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

기본 스타일을 제일 작은 화면 (모바일)에 맞춰 작성하면 @media (min-width: 375px) and (max-width: 767px) 해당 미디어쿼리 평가문에서 스타일을 재정의할 필요가 없어질것같아요!

Loading