-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathglobal.css
More file actions
182 lines (168 loc) · 4.01 KB
/
global.css
File metadata and controls
182 lines (168 loc) · 4.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/**
* Global base styles.
* - html/body 기본
* - 접근성 기본 (focus-visible, prefers-reduced-motion)
*
* 폰트는 `index.html` 의 `<link>` 로 로드.
* - Pretendard Variable (한·영 본문/서브헤딩)
* - Bricolage Grotesque (디스플레이 헤딩)
* - Caveat (스크립트 강조)
* - Geist Mono (코드/모노)
*/
@layer base {
html {
font-family: var(--font-sans);
color: var(--color-fg);
background-color: var(--color-bg);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-synthesis: none;
}
body {
margin: 0;
min-height: 100svh;
}
h1, h2, h3 {
font-family: var(--font-heading);
color: var(--color-fg-strong);
margin: 0;
letter-spacing: -0.01em;
}
h4, h5, h6 {
font-family: var(--font-subheading);
color: var(--color-fg-strong);
margin: 0;
}
p {
margin: 0;
}
code, kbd, pre, samp {
font-family: var(--font-mono);
}
:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
}
@layer utilities {
/* Hero stagger animation */
@keyframes hero-rise {
from {
opacity: 0;
transform: translateY(16px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes hero-pop {
from {
opacity: 0;
transform: translateY(10px) rotate(-3deg) scale(0.92);
}
to {
opacity: 1;
transform: translateY(0) rotate(-2deg) scale(1);
}
}
@keyframes laptop-rise {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes screen-glow {
0%, 100% { opacity: 0.85; }
50% { opacity: 1; }
}
@keyframes caret-blink {
0%, 49% { opacity: 1; }
50%, 100% { opacity: 0; }
}
@keyframes modal-fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes modal-pop {
from {
opacity: 0;
transform: translateY(12px) scale(0.98);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
/* 면접 스테이지 진입 — 모니터 전원이 켜지는 듯한 모션.
중앙의 밝은 가로 라인 → 세로로 펼쳐지며 → 밝기가 정상으로 안정. */
@keyframes screen-power-on {
0% {
opacity: 0;
transform: scale(1.02);
filter: brightness(2) saturate(0.5) contrast(0.85);
clip-path: inset(49.5% 0 49.5% 0);
}
18% {
opacity: 1;
filter: brightness(2.2) saturate(0.5) contrast(0.85);
clip-path: inset(49.5% 0 49.5% 0);
}
55% {
transform: scale(1.004);
filter: brightness(1.5) saturate(0.85) contrast(0.95);
clip-path: inset(0 0 0 0);
}
100% {
opacity: 1;
transform: scale(1);
filter: brightness(1) saturate(1) contrast(1);
clip-path: inset(0 0 0 0);
}
}
.anim-screen-power-on {
animation: screen-power-on 0.7s var(--ease-decelerate) both;
transform-origin: center;
}
/* 음성 모드 — 재생 중 표시하는 이퀄라이저 바. */
@keyframes eq-bar {
0%, 100% { transform: scaleY(0.35); }
50% { transform: scaleY(1); }
}
.anim-eq-bar {
animation: eq-bar 0.9s var(--ease-standard) infinite;
transform-origin: bottom;
}
.anim-modal-backdrop {
animation: modal-fade var(--duration-normal) var(--ease-decelerate) both;
}
.anim-modal-panel {
animation: modal-pop var(--duration-normal) var(--ease-decelerate) both;
}
.anim-hero-rise {
animation: hero-rise 0.8s var(--ease-decelerate) both;
}
.anim-hero-pop {
animation: hero-pop 0.9s var(--ease-decelerate) both;
}
.anim-laptop-rise {
animation: laptop-rise 0.9s var(--ease-decelerate) both;
}
}