Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
264abeb
이미지 네이밍 통일
Dong-Han-Kim Mar 14, 2025
578567a
공통으로 사용되는 CSS 분리 및 reset CSS 코드 추가, 파일 네이밍 변경
Dong-Han-Kim Mar 14, 2025
327a1fd
id 선택자였던 user_form_logo를 클래스 선택자로 변경
Dong-Han-Kim Mar 14, 2025
a777cb9
로그인 및 회원가입 버튼에 type submit 추가
Dong-Han-Kim Mar 14, 2025
8e89c62
비밀번호 이미지 요소 button 태그 안으로 이동
Dong-Han-Kim Mar 14, 2025
5682458
로그인 및 회원 가입 버튼에 cursor pointer 추가
Dong-Han-Kim Mar 14, 2025
3000e64
로고 이미지 2배 사이즈로 교체
Dong-Han-Kim Mar 14, 2025
92057b6
header에 class 추가
Dong-Han-Kim Mar 14, 2025
20356ec
메인 페이지 텍스트 및 요소의 간격 수정
Dong-Han-Kim Mar 15, 2025
d7d8bf0
간편 로그인 하단 간격 수정
Dong-Han-Kim Mar 15, 2025
058a96f
navbar 양쪽 여백 수정
Dong-Han-Kim Mar 15, 2025
d4a4e20
모바일용 로고 추가
Dong-Han-Kim Mar 15, 2025
d20f9f7
메인 레이아웃 수정 및 오픈 그래프 코드 추가
Dong-Han-Kim Mar 17, 2025
dff2c69
소셜 공유 미리보기 이미지 사이즈 수정 코드 추가
Dong-Han-Kim Mar 17, 2025
2e06c0c
로그인 및 회원가입 페이지 버튼 수정 및 회원가입 페이지에 닉네임 input 추가
Dong-Han-Kim Mar 17, 2025
6e8a06c
오픈 그래프 이미지 경로 수정
Dong-Han-Kim Mar 17, 2025
3fcae7a
Revert "오픈 그래프 이미지 경로 수정"
Dong-Han-Kim Mar 17, 2025
d5add69
Revert "로그인 및 회원가입 페이지 버튼 수정 및 회원가입 페이지에 닉네임 input 추가"
Dong-Han-Kim Mar 17, 2025
2f7bb31
오픈 그래프 수정 및 로그인 및 회원가입 페이지 레이아웃 수정
Dong-Han-Kim Mar 17, 2025
817f1bc
Revert "오픈 그래프 수정 및 로그인 및 회원가입 페이지 레이아웃 수정"
Dong-Han-Kim Mar 17, 2025
119fdde
Revert "Revert "로그인 및 회원가입 페이지 버튼 수정 및 회원가입 페이지에 닉네임 input 추가""
Dong-Han-Kim Mar 17, 2025
3fbe32e
Revert "Revert "오픈 그래프 이미지 경로 수정""
Dong-Han-Kim Mar 17, 2025
13ba6ae
Revert "오픈 그래프 이미지 경로 수정"
Dong-Han-Kim Mar 17, 2025
d66d97c
Revert "로그인 및 회원가입 페이지 버튼 수정 및 회원가입 페이지에 닉네임 input 추가"
Dong-Han-Kim Mar 17, 2025
31fc339
로그인 및 회원가입 페이지 레이아웃 수정
Dong-Han-Kim Mar 17, 2025
cb8ff53
오픈 그래프 이미지 타입 코드 추가 및 이미지 경로 수정
Dong-Han-Kim Mar 17, 2025
5505712
로그인 페이지 placeholder 수정
Dong-Han-Kim Mar 17, 2025
dd40670
index CSS 코드 정리
Dong-Han-Kim Mar 17, 2025
1a14421
오픈 그래프 사이즈 코드 추가
Dong-Han-Kim Mar 18, 2025
c0840de
로그인 미 회원가입 페이지 비밀번호 버튼에 cursor 속성 추가
Dong-Han-Kim Mar 18, 2025
bd31486
회원가입 페이지 오타 수정
Dong-Han-Kim Mar 18, 2025
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
32 changes: 25 additions & 7 deletions userForm.css → auth.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
align-items: center;
}

#user_form_logo {
.user_form_logo {
width: 396px;
height: 132px;
margin-bottom: 40px;
Expand Down Expand Up @@ -37,17 +37,26 @@
background-color: var(--gray100);
padding: 16px 24px;
margin: 16px 0 24px;
border-radius: 12px;
}

.visible_on,
.visible_off {
.visible_button {
Copy link
Collaborator

Choose a reason for hiding this comment

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

❗️ 수정요청
chrome 브라우저에서 button 태그에 background 속성을 가지고 있어 해당 태그에 아래처럼 background-color가 존재하네요~
디자인과 다르니 reset.css에서 해당 속성을 초기화하는 코드를 추가하시는 것을 추천드려요!

스크린샷 2025-03-20 오후 4 55 55

width: 24px;
height: 24px;
position: absolute;
z-index: 1;
top: 50%;
right: 24px;
margin-top: -16px;
padding: 0;
border: none;
cursor: pointer;
}

.visible_on,
.visible_off {
width: 100%;
height: 100%;
Comment on lines +58 to +59
Copy link
Collaborator

Choose a reason for hiding this comment

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

💬 여담
해당 이미지의 경우 부모인 버튼요소에서 크기를 적절하게 제안해줘셔 이렇게 css를 작성하셔도 상관이 없지만
일반적으로 width, height 속성을 100%로 설정하면 기존 이미지의 비율이 깨질 수도 잇어 추천드리지 않습니다~
이러한 경우 width: 100% 만 있어도 height는 기존 이미지의 비율인 1:1을 유지하기 위해 자동으로 커집니다~

Suggested change
width: 100%;
height: 100%;
width: 100%;

}

.login_button,
Expand All @@ -57,12 +66,19 @@
line-height: 32px;
font-weight: 600;
font-family: Pretendard;
background-color: var(--blue);
background-color: var(--gray400);
width: 100%;
height: 56px;
border-radius: 9999px;
border: none;
margin-bottom: 24px;
cursor: pointer;
transition: all 300ms ease;
}

.login_button:hover,
.signup_button:hover {
background-color: var(--blue);
}

.simple_login {
Expand All @@ -73,6 +89,7 @@
align-items: center;
justify-content: space-between;
padding: 16px 23px;
margin-bottom: 24px;
}

.simple_login span {
Expand All @@ -99,14 +116,15 @@
color: var(--blue);
}

@media (max-width: 744px) {
#user_form_logo {
@media (min-width: 375px) 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.

💊 제안
min-width가 조건에 걸려있어 375px 미만으로 화면이 작아지게 되면 PC 스타일이 적용되네요~
body에 min-width: 375px를 추가하셔서 해당 사이즈 미만으로 작아지게 되면 가로 스크롤이 생기게 해주시거나
아니라면 min-width를 조건문에서 빼주시는 것을 추천드려요~

.user_form_logo {
width: unset;
height: 95px;
}
.userForm_main {
margin: 130px auto;
padding: 0 20px;
padding: 0 16px;
width: 100%;
max-width: 400px;
}
}
154 changes: 154 additions & 0 deletions common.css
Copy link
Collaborator

Choose a reason for hiding this comment

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

💊 제안
특정 코드를 분류하는 기준을 추측할 수 있는 가장 큰 단서가 이름이라고 생각합니다.
reset 이라는 파일명을 통해 브라우저 스타일을 초기화하는 코드의 모음이라고 예상할 수 있습니다.
common이라는 파일명을 통해서는 프로젝트에 걸쳐 사용되는 코드라고 예상이 가능합니다.

지금의 경우 common안에 reset 코드가 같이 존재하고 있어 이러한 기준과 잘 맞지 않는다고 생각합니다!
저는 개인적으로 기존의 reset.css를 살리시고 나머지를 common.css로 분리하시는 것을 추천드려요!

Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
:root {
--gray900: #111827;
--gray800: #1f2937;
--gray700: #374151;
--gray600: #4b5563;
--gray500: #6b7280;
--gray400: #9ca3af;
--gray200: #e5e7eb;
--gray100: #f3f4f6;
--gray50: #f9fafb;
--blue: #3692ff;
}

/* Reset CSS: start - body에 폰트 추가 */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
body {
line-height: 1;
font-family: Pretendard;
}
ol,
ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* Reset CSS: end */

* {
box-sizing: border-box;
}

a {
text-decoration: none;
cursor: pointer;
}
Binary file added image/login_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image/mobile_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image/singup_page.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