Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e91c6ee
accessibility: aria-label 및 role 속성 추가
youdaeng2 Apr 12, 2025
d0b9e49
perf: hero/footer 이미지 최적화 및 CLS 방지를 위한 구조 개선
youdaeng2 Apr 14, 2025
ecc9e1f
style: 폰트 클래스 kebab-case로 통일
youdaeng2 Apr 14, 2025
421fa97
chore: 코드 포맷팅 정리 (HTML/CSS)
youdaeng2 Apr 14, 2025
6566ad0
chore: .gitignore 추가 및 prettier 설정 제외
youdaeng2 Apr 14, 2025
b1c333f
fix: 보안 이슈 대응을 위한 외부 링크 rel 속성 추가
youdaeng2 Apr 14, 2025
48f108b
feat: 메타태그 및 파비콘 설정 추가
youdaeng2 Apr 14, 2025
e47ce65
refactor: reset과 공통 스타일 분리 (reset.css, common.css)
youdaeng2 Apr 15, 2025
10dba7f
feat: header를 상단에 고정(fixed) 처리
youdaeng2 Apr 15, 2025
398cc9c
chore: reset, common, style 스타일 구조 정리 및 수정
youdaeng2 Apr 20, 2025
fe9bf74
feat: 로그인 페이지 마크업 및 스타일링 완료, 이미지 파일 추가
youdaeng2 Apr 20, 2025
e90a142
chore: 기기 간 동기화로 생긴 중복 파일 삭제
youdaeng2 Apr 24, 2025
4dca90b
refactor: login.html 구조 간소화 및 클래스/alt 속성 오타 수정
youdaeng2 Apr 24, 2025
572e580
feat: index.html에 로그인 페이지 링크 연결
youdaeng2 Apr 24, 2025
50bb67d
feat: 회원가입 페이지 마크업 및 스타일링 완료
youdaeng2 Apr 24, 2025
2db0041
refactor: 로그인/회원가입 css 통합 및 불필요한 파일 삭제
youdaeng2 Apr 24, 2025
3ce11f0
fix: 버튼 기본 동작 방지를 위해 type 명시 추가
youdaeng2 Apr 24, 2025
350d1ff
feat(style): 메인 페이지 모바일 퍼스트 레이아웃 적용 및 폰트 사이즈 변수화
youdaeng2 Apr 25, 2025
6437da5
refactor(style): CSS 변수 분리 및 variables.css 파일 생성
youdaeng2 Apr 25, 2025
e9eb763
refactor(login-signup): 레이블-입력 필드 연결 강화 및 타이포 그래피 css 변수화
youdaeng2 Apr 28, 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.prettierrc
11 changes: 11 additions & 0 deletions css/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@font-face {
font-family: 'Pretendard-Regular';
src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}

/* Font size + line-height */
html {
font-size: 62.5%;
}
153 changes: 153 additions & 0 deletions css/login-signup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
/* font style */
/* form label (이메일 / 비밀번호) */
form label {
display: block;
font-size: var(--text-lg);
font-weight: var(--font-bold);
margin-bottom: var(--space-xs);
}

/* form input 텍스트 */
.content input {
font-size: var(--text-base);
font-weight: var(--font-normal);
color: var(--secondary-color-gray700);
}

/* visibility 버튼 아이콘 */
.visibility-btn img {
width: 24px;
height: 24px;
}

/* 제출 버튼 */
.btn-submit {
font-size: var(--text-xl);
font-weight: var(--font-semibold);
width: 100%;
height: 56px;
border-radius: 40px;
background-color: var(--primary-color-100);
color: #fff;
}

/* 간편 로그인 타이틀 */
.sns-login p {
font-size: var(--text-base);
font-weight: var(--font-medium);
color: var(--secondary-color-gray700);
}

/* SNS 아이콘 링크 */
.sns-login-link a img {
width: 42px;
height: 42px;
}

/* 회원가입 텍스트 */
.sign-up {
font-size: var(--text-base);
font-weight: var(--font-normal);
color: var(--secondary-color-gray700);
}
.sign-up a {
font-weight: var(--font-semibold);
color: var(--primary-color-100);
text-decoration: underline;
}



input:focus {
outline-color: var(--primary-color-100);
}

.content {
max-width: 640px;
width: 100%;
margin: 120px auto;
padding: 0 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 24px;
}

form {
width: 100%;
margin-top: 26px;
display: flex;
flex-direction: column;
gap: 24px;
}

.content input {
width: 100%;
height: 56px;
padding: 0 20px;
border-radius: 12px;
background-color: var(--secondary-color-gray100);
}

.password-input-box {
position: relative;
}

#password {
padding: 0 40px 0 20px;
}

.btn-submit {
width: 100%;
height: 56px;
border-radius: 40px;
background-color: var(--primary-color-100);
color: #fff;
}

.sns-login {
width: 100%;
height: 74px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
border-radius: 8px;
background-color: #e6f2ff;
}

.sns-login-link {
display: flex;
justify-content: center;
align-items: center;
gap: 16px;
}

.visibility-btn {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
}

.visibility-btn-on {
display: none;
}

.sign-up,
.login {
font-size: 1.4rem;
}

.sign-up a,
.login a {
text-decoration: underline;
color: var(--primary-color-100);
}

@media (min-width: 768px) {
.content {
padding: 0;
}
}
32 changes: 32 additions & 0 deletions css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style-type: none;
text-decoration: none;
}

html,
body {
font-family: 'Pretendard-Regular', sans-serif;
}

button {
border: none;
cursor: pointer;
}

input {
border: none;
}

img {
display: block;
max-width: 100%;
height: auto;
}

a {
cursor: pointer;
color: inherit;
}
Loading
Loading