Files
uniare.sori.studio/style/auth-pages.css
zenn e11b1dc6df v4.0.0: 헤더 로고 크기 brand.css로 통일
페이지마다 흩어져 있던 로고 스타일을 brand.css 단일 정의(32px)로 모아 전 화면에서 동일하게 표시되도록 수정했다.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 11:43:26 +09:00

179 lines
3.1 KiB
CSS

/**
* 인증·계정 페이지 공통 레이아웃
* (Tailwind 빌드에 없는 max-w-* 유틸 대체)
*/
@import './brand.css';
.auth-page {
font-family: 'Inter', 'Noto Sans KR', sans-serif;
min-height: 100vh;
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
color: #0f172a;
}
.auth-nav {
position: sticky;
top: 0;
z-index: 50;
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(12px);
border-bottom: 1px solid #e2e8f0;
}
.auth-nav-inner {
max-width: 80rem;
margin: 0 auto;
padding: 0 1.5rem;
height: 4rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.auth-brand {
color: #1e293b;
}
.auth-main {
max-width: 28rem;
margin: 0 auto;
padding: 3rem 1.5rem 4rem;
}
@media (min-width: 640px) {
.auth-main {
padding-top: 4rem;
padding-bottom: 5rem;
}
}
.auth-header {
text-align: center;
margin-bottom: 2rem;
}
.auth-header h1 {
font-size: 1.75rem;
font-weight: 900;
color: #0f172a;
margin: 0 0 0.5rem;
letter-spacing: -0.02em;
}
.auth-header p {
font-size: 0.875rem;
color: #64748b;
margin: 0;
line-height: 1.5;
}
.auth-card {
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 1rem;
padding: 1.75rem;
box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.auth-field {
margin-bottom: 1.25rem;
}
.auth-field:last-of-type {
margin-bottom: 0;
}
.auth-label {
display: block;
font-size: 0.6875rem;
font-weight: 700;
color: #94a3b8;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.375rem;
}
.auth-input {
display: block;
width: 100%;
max-width: 100%;
box-sizing: border-box;
border: 1px solid #e2e8f0;
border-radius: 0.75rem;
padding: 0.75rem 1rem;
font-size: 0.875rem;
color: #0f172a;
background: #fff;
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.auth-input::placeholder {
color: #cbd5e1;
}
.auth-error {
margin-top: 1rem;
font-size: 0.8125rem;
color: #ef4444;
}
.auth-error.hidden {
display: none;
}
.auth-submit {
display: block;
width: 100%;
margin-top: 1.5rem;
padding: 0.875rem 1rem;
border: none;
border-radius: 0.75rem;
background: #2563eb;
color: #fff;
font-size: 0.875rem;
font-weight: 700;
cursor: pointer;
transition: background 0.2s, transform 0.1s;
}
.auth-submit:hover {
background: #1d4ed8;
}
.auth-submit:active {
transform: scale(0.98);
}
.auth-footer {
margin-top: 1.5rem;
text-align: center;
font-size: 0.875rem;
color: #64748b;
}
.auth-footer a {
color: #2563eb;
font-weight: 700;
text-decoration: none;
}
.auth-footer a:hover {
text-decoration: underline;
}
.auth-version-footer {
text-align: center;
padding: 0 1.5rem 1.25rem;
font-size: 0.625rem;
font-weight: 500;
color: #cbd5e1;
letter-spacing: 0.02em;
}