-
Notifications
You must be signed in to change notification settings - Fork 39
[전유진] sprint3 #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "Basic-\uC804\uC720\uC9C4-sprint3"
[전유진] sprint3 #153
Changes from all commits
e204978
f648040
c0d14f8
a5d5d55
cb45e1d
03c32ed
46d2b13
c1768f7
1b14f59
cdc780b
d48d7ae
1f2abae
6aab6c8
f0205ba
274f54b
5ec8813
2aed9d0
be0919c
1f1b2c2
54c9e03
872b906
b4b040e
585ed28
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,185 @@ | ||
| .main-btn, | ||
| button { | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| .main-btn:hover, | ||
| button:hover { | ||
| background: var(--blue200); | ||
| } | ||
|
|
||
| .main-btn:active, | ||
| button:active { | ||
| background: var(--blue300); | ||
| } | ||
|
|
||
| .main-btn:disabled, | ||
| button:disabled { | ||
| background: var(--inactive); | ||
| } | ||
|
|
||
| main { | ||
| height: 61.8rem; | ||
| margin: 15rem auto; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 1rem; | ||
| } | ||
|
|
||
| .logo-box { | ||
| width: 39.6rem; | ||
| height: 13.2rem; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 2rem; | ||
| } | ||
|
|
||
| .logo { | ||
| width: 10rem; | ||
| height: 10rem; | ||
| } | ||
|
|
||
| .pandamarket { | ||
| width: 26.6rem; | ||
| height: 12rem; | ||
| color: var(--blue100); | ||
| } | ||
|
|
||
| form { | ||
| margin-top: 4rem; | ||
| width: 64rem; | ||
| height: 44.6em; | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 1rem; | ||
| } | ||
|
|
||
| .login-input { | ||
| margin-bottom: 2.4rem; | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 1rem; | ||
| } | ||
|
|
||
| .password-container { | ||
| position: relative; | ||
| } | ||
|
|
||
| .password-container input { | ||
| width: 100%; /* input이 가득 차도록 */ | ||
| padding-right: 4rem; /* 아이콘과 텍스트 간 간격 확보 */ | ||
| box-sizing: border-box; /* 패딩이 width에 포함되도록 설정 */ | ||
| } | ||
|
|
||
| .eye-icon { | ||
| position: absolute; | ||
| right: 1.5rem; | ||
| top: 42%; | ||
| transform: translateY(-50%); | ||
| cursor: pointer; | ||
| width: 24px; | ||
| height: 24px; | ||
| } | ||
|
|
||
| label { | ||
| margin-bottom: 1rem; | ||
| font-size: 1.8rem; | ||
| font-weight: 700; | ||
| } | ||
|
|
||
| input { | ||
| font-size: 1.6rem; | ||
| height: 5.6rem; | ||
| padding: 2rem; | ||
| border-radius: 1.2rem; | ||
| background-color: var(--gray100); | ||
| } | ||
|
|
||
| input::placeholder { | ||
| color: var(--inactive); | ||
| } | ||
|
|
||
| .btn { | ||
| height: 5.6rem; | ||
| color: var(--gray100); | ||
| font-size: 2rem; | ||
| font-weight: 600; | ||
| padding: 1.6rem 12.4rem; | ||
| border-radius: 4rem; | ||
| background-color: var(--inactive); | ||
| } | ||
|
|
||
| .easy-login { | ||
| width: 64rem; | ||
| margin: 2.4rem 0; | ||
| background-color: #e6f2ff; | ||
| border-radius: 0.8rem; | ||
| } | ||
|
|
||
| .easy-login-box { | ||
| height: 5rem; | ||
| margin: 1.6rem 2.3rem; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .easy-login-box p { | ||
| font-size: 1.6rem; | ||
| font-weight: 500; | ||
| } | ||
|
|
||
| .easy-login-icons { | ||
| display: flex; | ||
| gap: 1.6rem; | ||
| } | ||
|
|
||
| .question { | ||
| margin-top: 1rem; | ||
| display: flex; | ||
| justify-content: center; | ||
| font-size: 1.4rem; | ||
| font-weight: 500; | ||
| } | ||
|
|
||
| .question a { | ||
| text-decoration: underline; | ||
| color: var(--blue100); | ||
| } | ||
|
|
||
| .signup, | ||
| .login { | ||
| font-size: 1.4rem; | ||
| font-weight: 500; | ||
| } | ||
|
|
||
| /* Mobile: 767px 이하 */ | ||
| @media (max-width: 767px) { | ||
| main { | ||
| width: 100%; | ||
| max-width: 40rem; /* 최대 너비 400px */ | ||
| padding: 0 1.6rem; /* 좌우 여백 16px */ | ||
| } | ||
| .logo-box { | ||
| width: 100%; | ||
| max-width: 100%; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| } | ||
| form { | ||
| margin-top: 0; | ||
| width: 100%; /* 부모(main)의 너비를 따름 */ | ||
| } | ||
| .logo { | ||
| width: 5.2rem; /* 로고 크기 줄이기 */ | ||
| height: auto; | ||
| } | ||
| .pandamarket { | ||
| width: 13.3rem; /* 텍스트 로고 크기 조절 */ | ||
| height: auto; | ||
| } | ||
| } | ||
|
Comment on lines
+160
to
+185
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. main 내부에 logo-box와 form이 있어
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 어떤 질문이신지 제가 잘 모르겠습니다~ 먹지 않는 이유가 무엇인지, 어떤 것을 바라시는지에 따라 가능한지 아닌지가 나뉠 것 같아요. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❗️ 수정요청
해당 태그의 경우 디자인대로 처리가 안 된 것 같아요!
아래처럼 width를 반응형 단위로 해 부모가 줄어들면 같이 줄어들게 해주고, max-width를 통해 제한을 해주면 디자인대로 잘 동작할 것 같아요.