Skip to content
Open
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
130 changes: 130 additions & 0 deletions css/login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
.auth-container {
max-width: 640px;
margin: 0 auto;
}

.logo-home-button-wrapper {
display: flex;
justify-content: center;
margin-top: 60px;
margin-bottom: 40px;
}

.input-item {
margin-bottom: 24px;
}

.input-item label {
display: block;
margin-bottom: 16px;
font-size: 18px;
font-weight: 700;
}

.input-item input {
padding: 16px 24px;
background-color: #f3f4f6;
border: none;
border-radius: 12px;
font-size: 16px;
line-height: 24px;
width: 100%;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

동일한 클래스(.input-box) 내에 width 속성이 중복 선언(640px과 100%)되어 있습니다. 의도한 하나의 값만 남겨 불필요한 속성 덮어쓰기 현상을 방지해야 합니다.

border: 2px solid transparent;
}

.input-item input::placeholder {
color: #9ca3af;
font-size: 16px;
line-height: 24px;
}

.input-item input:focus {
outline: none; /* 기본 outline 제거 */
border: 2px solid #3692ff; /* 파란 테두리 */
}

.input-item input.input-error:focus {
border: 2px solid red;
}

.input-wrapper {
position: relative;
display: flex;
align-items: center;
}

.password-toggle-button {
position: absolute;
right: 24px;
}

.social-login-container {
background-color: #e6f2ff;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 23px;
margin: 24px 0;
}

.social-login-container h3 {
font-weight: 500;
font-size: 16px;
line-height: 24px;
}

.social-login-buttons-container {
display: flex;
gap: 16px;
}

.auth-switch {
font-weight: 500;
font-size: 15px;
text-align: center;
}

.auth-switch a {
color: #3182f6;
text-decoration: underline;
text-underline-offset: 2px;
}

button {
background: none;
border: none;
outline: none;
box-shadow: none;
cursor: pointer;
}

.full-width {
width: 100%;
}

.pill-button {
font-size: 2rem;
font-weight: 700;
border-radius: 99.9rem;
padding: 1.6rem 12.4rem;
}

.button {
border: none;
background-color: #8f959e; /* 회색톤 */
color: white;
font-size: 16px;
padding: 15px;
cursor: pointer;
}

.button:hover {
background: var(--Primary-100, #3692ff);
}

.error-message {
color: red;
font-size: 14px;
margin-top: 8px;
}
74 changes: 74 additions & 0 deletions css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* ============================================================
Reset CSS
브라우저마다 다른 기본 스타일을 통일해, 동일한 기준에서 디자인할 수 있게 합니다.
============================================================ */

/* 모든 요소의 margin, padding 제거 + box-sizing으로 padding 포함한 너비 계산 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
font-size: 16px; /* rem 단위의 기준이 됨 */
}

body {
font-family:
Pretendard,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
sans-serif;
line-height: 1.5;
color: #111827;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

/* 리스트 기본 불릿/숫자 제거 (ul, ol 공통) */
ul,
ol {
list-style: none;
}

/* 링크 밑줄 제거, 부모 색상 상속 (스타일은 style.css에서 개별 지정) */
a {
text-decoration: none;
color: inherit;
}

/* 이미지: 가로를 100%로 제한해 레이아웃 깨짐 방지, block으로 하단 여백 제거 */
img {
max-width: 100%;
height: auto;
display: block;
}

/* 버튼 기본 테두리·배경 제거, 클릭 시 포인터 */
button {
border: none;
background: none;
font-family: inherit;
cursor: pointer;
padding: 0;
}

/* 입력/선택 요소가 body 폰트를 따르도록 */
input,
textarea,
select {
font-family: inherit;
font-size: inherit;
}

/* 테이블 셀 간격·테두리 통일 */
table {
border-collapse: collapse;
border-spacing: 0;
}
132 changes: 132 additions & 0 deletions css/signup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
.auth-container {
max-width: 640px;
margin: 0 auto;
}

.logo-home-button-wrapper {
display: flex;
justify-content: center;
text-align: center;
margin-top: 60px;
margin-bottom: 40px;
}

.input-item {
margin-bottom: 24px;
}

.input-item label {
display: block;
margin-bottom: 16px;
font-size: 18px;
font-weight: 700;
}

.input-item input {
padding: 16px 24px;
background-color: #f3f4f6;
border: none;
border-radius: 12px;
font-size: 16px;
line-height: 24px;
width: 100%;
border: 2px solid transparent;
}

.input-item input::placeholder {
color: #9ca3af;
font-size: 16px;
line-height: 24px;
}

.input-item input:focus {
outline: none; /* 기본 outline 제거 */
border: 2px solid #3692ff; /* 파란 테두리 */
}

.input-wrapper {
position: relative;
display: flex;
align-items: center;
}

.password-toggle-button {
position: absolute;
right: 24px;
}

.social-login-container {
background-color: #e6f2ff;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 23px;
margin: 24px 0;
}

.social-login-container h3 {
font-weight: 500;
font-size: 16px;
line-height: 24px;
}

.social-login-buttons-container {
display: flex;
gap: 16px;
}

.auth-switch {
font-weight: 500;
font-size: 15px;
text-align: center;
}

.auth-switch a {
color: #3182f6;
text-decoration: underline;
/* 밑줄과 텍스트 사이 간격을 조정하고 싶다면 text-underline-offset을 사용하면 돼요. */
text-underline-offset: 2px;
}

button {
background: none;
border: none;
outline: none;
box-shadow: none;
cursor: pointer;
}

.pill-button {
font-size: 2rem;
font-weight: 700;
border-radius: 99.9rem;
padding: 1.6rem 12.4rem;
}

.button {
border: none;
background-color: #8f959e;
color: white;
font-size: 16px;
padding: 15px;
cursor: pointer;
}

.button:hover {
background: var(--Primary-100, #3692ff);
}

.full-width {
width: 100%;
}

.input-item input.input-error {
border: 1px solid red; /* 빨간 테두리 */
}

.error-message {
color: red; /* 빨간 글씨 */
font-size: 0.875rem; /* 조금 작은 글씨 */
margin-top: 4px;
}
Loading