Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
77 changes: 77 additions & 0 deletions auth.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
@charset "UTF-8";
@import 'reset.css';
@import 'common.css';
@import 'palette.css';

/* login, signup */
.flex_center_box {
max-width: 640px;
width: 100%;
}
.login_page {
width: 100%;
height: 100%;
}
.login_page .contents {
margin-top: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.logo.large {
margin: 0 auto 40px;
max-width: 396px;
max-height: 132px;
}
.login_area_box {
display: flex;
gap: 24px;
flex-direction: column;
justify-content: space-between;
}
.guide_signup_text {
font-size: 14px;
line-height: 24px;
text-align: center;
}
.guide_signup_text a {
margin-left: 4px;
font-size: 15px;
font-weight: 500;
line-height: 18px;
text-decoration-line: underline;
color: #3182f6;
}
.blue_box {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
border-radius: 8px;
background-color: #e6f2ff;
}

.social_group {
display: flex;
gap: 10px;
}
/* Mobile */
@media screen and (max-width: 767px) {
.flex_center_box {
max-width: 400px;
padding: 0 16px;
}
.logo.large {
margin: 0 auto 24px;
max-width: 198px;
max-height: 66px;
}
.login_area_box {
gap: 16px;
}
.login_area_box .blue_box {
margin: 24px 0;
}
}
270 changes: 270 additions & 0 deletions common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
html {
height: 100%;
}

/* scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-thumb {
height: 30%;
background: #aaa;
border-radius: 10px;
}
::-webkit-scrollbar-track {
background: #eee;
}
.main::-webkit-scrollbar {
display: none;
}

/* button */
.btn-blue {
max-width: 128px;
width: 100%;
padding: 11px 10px;
background-color: var(--blue);
text-align: center;
font-weight: 600;
line-height: 26px;
font-size: 18px;
color: #fff;
box-sizing: border-box;
border-radius: 8px;
}
.btn-blue.large {
max-width: 357px;
border-radius: 28px;
padding-top: 16px;
padding-bottom: 16px;
line-height: 24px;
font-size: 20px;
}
.btn-blue:hover {
background-color: #1967d6;
}
.btn-blue:active,
.btn-blue:focus {
background-color: #1251aa;
}
.btn-blue:disabled,
.btn-blue.disabled {
background-color: var(--gray400);
}
.btn-blue.large.wide {
min-width: 100%;
width: 100%;
height: 54px;
}

/* layout */
.main_inner {
width: 1110px;
margin: 0 auto;
box-sizing: border-box;
}
.contents {
margin-top: 70px;
}

/* header */
.header {
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: 70px;
line-height: 100%;
background-color: #fff;
z-index: 100;
box-sizing: border-box;
}
.header .main_inner {
width: 1120px;
margin-top: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.header .logo,
.header .logo a,
.header .logo img {
max-width: 153px;
height: 51px;
}

@media (max-width: 1920px) {
.header {
padding: 0 200px;
}
.header .main_inner {
width: 100%;
}
}
/* footer */
.footer {
padding: 32px 0 108px;
background-color: var(--gray900);
line-height: 20px;
font-size: 16px;
}
.footer .main_inner {
width: 1120px;
display: flex;
justify-content: space-between;
align-items: center;
}
.copyright {
color: var(--gray400);
}
.footer .menus a {
font-weight: 400;
color: #fff;
}
.footer .menus a + a {
margin-left: 30px;
}
.footer .sns a + a {
margin-left: 12px;
}

/* input */
.input {
position: relative;
}
.input_box .label {
display: block;
margin-bottom: 16px;
width: 100%;
font-size: 18px;
font-weight: 700;
line-height: 26px;
text-align: left;
color: var(--gray800);
}
.input_box input {
width: 100%;
height: 56px;
padding: 16px 56px 16px 24px;
border-radius: 12px;
background-color: var(--gray100);
box-sizing: border-box;
line-height: 26px;
font-size: 16px;
color: var(--gray800);
}
.input_box .btn {
position: absolute;
width: 24px;
height: 24px;
right: 24px;
top: 50%;
transform: translateY(-50%);
text-indent: -9999px;
}
.input_box .btn_pw {
background: url(images/ico_visibility_off.png) no-repeat;
}
.input_box .btn_pw.show {
background: url(images/ico_visibility_on.png) no-repeat;
}
.pc_only {
display: block;
}
.mobile_only {
display: none;
}

.tag_text {
margin-bottom: 12px;
line-height: 26px;
font-weight: 700;
font-size: 18px;
color: var(--blue);
}
.main_text {
margin-bottom: 24px;
line-height: 56px;
font-weight: 700;
font-size: 40px;
color: var(--gray700);
}
.desc_text {
line-height: 32px;
font-weight: 500;
font-size: 24px;
color: var(--gray700);
}
@media screen and (max-width: 1199px) {
.pc_only {
display: none;
}
.mobile_only {
display: none;
}
.main_inner {
width: 100%;
}
.header {
padding: 0 24px;
}
.footer {
Copy link
Collaborator

Choose a reason for hiding this comment

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

image
font size, 색을 확인해 주세요!

font-size: 14px;
}
.footer .main_inner {
width: 100%;
justify-content: center;
gap: 63px;
}
.main_text {
font-size: 32px;
line-height: 42px;
}
.desc_text {
font-size: 18px;
line-height: 26px;
}
}
@media screen and (max-width: 767px) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

점진적으로 반응형을 잘 적용해 주셔서 중복이 많이 없는 거 같네요! 👍

.mobile_only {
display: block;
}
.btn-blue.large {
padding-top: 11px;
padding-bottom: 11px;
max-width: 240px;
line-height: 26px;
font-size: 18px;
}
.input_box .label {
font-size: 14px;
line-height: 24px;
}
.input_box .label {
margin-bottom: 8px;
}
.footer {
position: relative;
padding-left: 8%;
Copy link
Collaborator

Choose a reason for hiding this comment

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

패딩, 갭 같은 부분들도 마찬가지로 %로 주었을 때 애매해질 수 있습니다 :)

padding-right: 8%;
}
.footer .main_inner {
justify-content: space-between;
gap: 3%;
}
.footer .copyright {
position: absolute;
bottom: 30px;
left: 8%;
}
}

@media screen and (max-width: 320px) {
.footer .main_inner {
flex-direction: column;
gap: 10px;
}
}
Binary file added images/img_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading