Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
400 lines (355 loc) · 18.6 KB
/
Copy pathstyle.css
File metadata and controls
400 lines (355 loc) · 18.6 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
:root {
--ink: #14171F;
--paper: #FFF8EC;
--yellow: #FFC53D;
--coral: #FF5A36;
--teal: #0E7C5C;
--blue: #2F5FFF;
--border: var(--ink);
--max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.skip-link {
position: absolute; left: 16px; top: -48px; z-index: 300;
background: var(--yellow); color: var(--ink); font-weight: 700;
border: 2.5px solid var(--ink); padding: 8px 14px; border-radius: 8px;
text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible {
outline: 2.5px solid var(--blue);
outline-offset: 3px;
}
/* Transição suave entre páginas (index <-> artigos), com fallback silencioso em navegadores sem suporte */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 0.22s ease-in forwards; }
::view-transition-new(root) { animation: page-in 0.32s ease-out forwards; }
@keyframes page-out { to { opacity: 0; transform: translateY(-10px) scale(0.99); } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 16px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; margin: 0; line-height: 1.02; letter-spacing: -0.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
a { color: inherit; }
.hard-shadow { box-shadow: 7px 7px 0 var(--ink); }
.card-border { border: 2.5px solid var(--ink); }
/* Progress bar */
.progress-bar {
position: fixed; top: 0; left: 0; height: 4px; width: 0%;
background: var(--coral); z-index: 200; transition: width 0.1s linear;
}
/* Nav */
header {
position: sticky; top: 0; z-index: 100;
background: var(--paper);
border-bottom: 2.5px solid var(--ink);
}
.nav {
max-width: var(--max); margin: 0 auto; padding: 18px 32px;
display: flex; align-items: center; justify-content: space-between;
}
.mark {
font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 20px;
text-decoration: none; color: var(--ink); letter-spacing: -0.02em;
background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 8px;
padding: 6px 14px; display: inline-block;
transform: rotate(-4deg);
transition: transform 0.2s ease;
}
.mark:hover { transform: rotate(-4deg) scale(1.06); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); position: relative; }
.nav-links a::after {
content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; background: var(--coral);
transition: right 0.2s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--coral); }
.nav-links a.active::after { right: 0; }
.nav-toggle {
display: none; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 8px;
width: 40px; height: 36px; cursor: pointer; align-items: center; justify-content: center; gap: 4px; flex-direction: column;
}
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--ink); }
.mobile-menu {
display: none; flex-direction: column; gap: 2px; padding: 0 32px 18px;
background: var(--paper); border-bottom: 2.5px solid var(--ink);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 12px 0;
border-bottom: 1.5px dashed var(--ink);
}
.mobile-menu a:last-child { border-bottom: none; }
@media (max-width: 760px) {
.nav-toggle { display: flex; }
}
.nav-cv {
font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 8px;
text-decoration: none; color: var(--ink); background: var(--yellow);
border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cv:hover { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } }
/* Marquee */
.marquee {
background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap;
border-bottom: 2.5px solid var(--ink); padding: 12px 0;
}
.marquee-track { display: inline-block; animation: scroll 22s linear infinite; }
.marquee-track span { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 500; margin: 0 22px; }
.marquee-track span.hi { color: var(--yellow); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Hero */
.hero { background: var(--yellow); padding: 90px 0 80px; position: relative; overflow: hidden; border-bottom: 2.5px solid var(--ink); }
.spin-shape {
position: absolute; top: 60px; right: 60px; width: 90px; height: 90px;
background: var(--coral); border: 2.5px solid var(--ink);
animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.badge {
display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
background: var(--paper); border: 2.5px solid var(--ink); padding: 7px 16px; border-radius: 100px;
margin-bottom: 28px; box-shadow: 4px 4px 0 var(--ink);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 700; margin-bottom: 22px; }
.hero h1 .accent { color: var(--coral); }
.hero .lede { font-size: 19px; max-width: 540px; margin-bottom: 36px; font-weight: 500; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
text-decoration: none; padding: 14px 26px; border-radius: 8px; border: 2.5px solid var(--ink);
box-shadow: 5px 5px 0 var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn:hover { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
/* Sections */
section.body-section { padding: 90px 0; border-bottom: 2.5px solid var(--ink); scroll-margin-top: 120px; }
section.body-section:last-of-type { border-bottom: none; }
.dark { background: var(--ink); color: var(--paper); }
.section-head { margin-bottom: 48px; }
.eyebrow {
display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500;
color: var(--coral); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em;
}
.dark .eyebrow { color: var(--yellow); }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.about-grid p { font-size: 16.5px; margin: 0 0 16px; }
.stack-card { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 14px; padding: 26px; transform: rotate(-1deg); }
.stack-group { margin-bottom: 18px; }
.stack-group:last-child { margin-bottom: 0; }
.stack-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; margin-bottom: 10px; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 100px; border: 2px solid var(--ink); color: var(--ink); }
.tag.c1 { background: var(--yellow); }
.tag.c2 { background: #B9E6D3; }
.tag.c3 { background: #FFC9BC; }
.tag.c4 { background: #C9D6FF; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
/* Timeline */
.timeline-card { background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 16px; padding: 40px; }
.timeline-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.timeline-head h3 { font-size: 21px; font-weight: 700; }
.timeline-head .company { font-size: 14px; font-weight: 600; color: var(--coral); }
.timeline-head .trajectory {
margin: 10px 0 0; font-size: 13px; font-weight: 500; color: var(--ink); opacity: 0.72;
}
.timeline-head .period {
font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; background: var(--yellow);
border: 2px solid var(--ink); padding: 5px 12px; border-radius: 100px; color: var(--ink);
}
.timeline-list { list-style: none; margin: 0; padding: 0; }
.timeline-list li {
position: relative; padding-left: 28px; margin-bottom: 18px;
opacity: 0; transform: translateX(-10px);
transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline-list li:last-child { margin-bottom: 0; }
.timeline-list li::before { content: '▸'; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 700; }
.timeline-list strong { font-weight: 700; }
.counter { font-variant-numeric: tabular-nums; }
.timeline-card.in .timeline-list li { opacity: 1; transform: translateX(0); }
.timeline-list li:nth-child(1) { transition-delay: 0.05s; }
.timeline-list li:nth-child(2) { transition-delay: 0.12s; }
.timeline-list li:nth-child(3) { transition-delay: 0.19s; }
.timeline-list li:nth-child(4) { transition-delay: 0.26s; }
.timeline-list li:nth-child(5) { transition-delay: 0.33s; }
.timeline-list li:nth-child(6) { transition-delay: 0.4s; }
.timeline-list li:nth-child(7) { transition-delay: 0.47s; }
/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.project-card {
display: block; background: var(--paper); color: inherit; text-decoration: none;
border-radius: 14px; padding: 30px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.project-card:nth-child(1) { border-top: 6px solid var(--coral); }
.project-card:nth-child(2) { border-top: 6px solid var(--teal); }
.project-card:nth-child(3) { border-top: 6px solid var(--blue); }
.project-card:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.project-card:nth-child(2):hover { transform: translate(-3px, -3px) rotate(1deg); }
.project-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.project-card p { font-size: 15px; margin: 0 0 18px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.project-tags span { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; border: 2px solid var(--ink); padding: 4px 10px; border-radius: 100px; }
.project-link { font-size: 13px; font-weight: 700; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.project-card:hover .project-link { color: var(--coral); border-color: var(--coral); }
@media (max-width: 760px) { .projects-grid { grid-template-columns: 1fr; } }
/* Articles */
.articles-empty { background: var(--paper); border: 2.5px dashed var(--ink); border-radius: 14px; padding: 50px 32px; text-align: center; }
.articles-empty .big { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.articles-empty p { margin: 0 0 4px; }
.article-card {
display: block; background: var(--paper); color: var(--ink); border-radius: 12px; border: 2.5px solid var(--ink);
padding: 24px 28px; margin-bottom: 14px; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.article-card .date { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; color: var(--coral); margin-bottom: 8px; display: block; }
.article-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.article-card p { font-size: 14px; margin: 0; }
/* Contact */
.contact-block {
position: relative; overflow: hidden;
background: var(--teal); color: var(--paper); border-radius: 20px; padding: 60px;
text-align: center; border: 2.5px solid var(--ink);
}
.contact-copy { position: relative; z-index: 1; }
.contact-block h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 16px; }
.contact-block p { max-width: 480px; margin: 0 auto 32px; font-size: 16.5px; }
.contact-art { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.stamp {
position: absolute; border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
}
.stamp-sq {
top: 22px; left: 28px; width: 52px; height: 52px; background: var(--yellow);
animation: stamp-spin 16s linear infinite;
}
.stamp-dot {
bottom: 28px; right: 36px; width: 44px; height: 44px; border-radius: 50%; background: var(--coral);
animation: stamp-float 7s ease-in-out infinite;
}
.stamp-bar {
top: 36px; right: 56px; width: 72px; height: 16px; background: var(--blue); transform: rotate(18deg);
animation: stamp-wiggle 8s ease-in-out infinite;
}
.stamp-bubble {
bottom: 32px; left: 40px; width: 70px; height: 46px; background: var(--paper); border-radius: 12px;
animation: stamp-float 9s ease-in-out infinite reverse;
}
.stamp-bubble::after {
content: ''; position: absolute; left: 14px; bottom: -9px;
width: 16px; height: 16px; background: var(--paper); border-right: 2.5px solid var(--ink);
border-bottom: 2.5px solid var(--ink); transform: rotate(45deg);
}
.stamp-chip {
top: 50%; left: 18px; width: 22px; height: 22px; background: var(--yellow); transform: rotate(45deg);
animation: stamp-spin 22s linear infinite reverse;
}
@keyframes stamp-spin { to { transform: rotate(360deg); } }
@keyframes stamp-float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
@keyframes stamp-wiggle {
0%, 100% { transform: rotate(18deg); }
50% { transform: rotate(-8deg); }
}
@media (max-width: 760px) {
.contact-block { padding: 48px 24px; }
.stamp-bar, .stamp-chip { display: none; }
.stamp-sq { width: 36px; height: 36px; top: 14px; left: 14px; }
.stamp-dot { width: 32px; height: 32px; bottom: 14px; right: 14px; }
.stamp-bubble { width: 52px; height: 36px; bottom: 16px; left: 16px; }
}
.contact-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.contact-links a {
display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none;
color: var(--ink); background: var(--paper); border: 2.5px solid var(--ink); padding: 12px 22px; border-radius: 100px;
box-shadow: 4px 4px 0 var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-links a:hover { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
footer { background: var(--ink); color: var(--paper); padding: 36px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 26px; }
.footer-brand .mark { margin-bottom: 8px; font-size: 15px; padding: 4px 12px; }
.footer-brand p { font-size: 13px; color: rgba(255,248,236,0.6); max-width: 240px; margin: 0; }
.footer-links { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-col .stack-label { color: rgba(255,248,236,0.45); margin-bottom: 8px; font-size: 11px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col a {
text-decoration: none; color: var(--paper); font-size: 13px; font-weight: 600;
margin-bottom: 6px; width: fit-content; position: relative;
}
.footer-col a:last-child { margin-bottom: 0; }
.footer-col a::after {
content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--yellow);
transition: right 0.2s ease;
}
.footer-col a:hover::after { right: 0; }
.footer-bottom {
display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
border-top: 2.5px solid rgba(255,248,236,0.15); padding: 14px 0; font-size: 12px; font-weight: 500;
color: rgba(255,248,236,0.55);
}
.back-top { text-decoration: none; color: var(--paper); font-weight: 600; }
.back-top:hover { color: var(--yellow); }
/* Article page */
.article-hero { background: var(--yellow); padding: 60px 0 50px; border-bottom: 2.5px solid var(--ink); }
.article-back {
display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink);
font-weight: 600; font-size: 14px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); padding-bottom: 2px;
}
.article-hero .eyebrow { color: var(--ink); }
.article-hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 700; margin-bottom: 16px; max-width: 780px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink); opacity: 0.75; }
.article-body { max-width: 720px; margin: 0 auto; padding: 64px 32px 100px; }
.article-body p { font-size: 17px; color: var(--text-body, var(--ink)); margin: 0 0 22px; }
.article-body h2 { font-size: 26px; font-weight: 700; margin: 48px 0 18px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 34px 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body li { font-size: 16.5px; margin-bottom: 10px; }
.article-body strong { font-weight: 700; }
.article-body code {
font-family: 'JetBrains Mono', monospace; font-size: 14px; background: var(--gray-bg, #F5F7FC);
border: 1.5px solid var(--border); padding: 2px 6px; border-radius: 5px;
}
.article-body pre {
background: var(--ink); color: var(--paper); border-radius: 12px; padding: 22px 24px;
overflow-x: auto; margin: 0 0 26px; box-shadow: 6px 6px 0 var(--border);
}
.article-body pre code { background: none; border: none; padding: 0; color: inherit; font-size: 13.5px; line-height: 1.6; }
.callout {
background: var(--paper); border: 2.5px solid var(--ink); border-radius: 14px; padding: 22px 26px;
margin: 0 0 30px; box-shadow: 6px 6px 0 var(--ink);
}
.callout .label { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; display: block; }
.callout p { margin: 0; font-size: 15.5px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 30px; border-top: 2px dashed var(--border); }
.article-tags span { font-family: 'JetBrains Mono', monospace; font-size: 12px; border: 2px solid var(--ink); padding: 4px 12px; border-radius: 100px; }
/* Acessibilidade: respeita quem prefere menos movimento no sistema */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
}
html { scroll-behavior: auto; }
.marquee-track, .spin-shape, .stamp { animation: none !important; }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) {
animation: none !important;
}
}