@portosaur/theme 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +13 -0
  2. package/assets/img/icon-old.png +0 -0
  3. package/assets/img/icon.png +0 -0
  4. package/assets/img/project-blank.png +0 -0
  5. package/assets/img/social-card.jpeg +0 -0
  6. package/assets/img/svg/icon-blog.svg +2 -0
  7. package/assets/img/svg/icon-close.svg +3 -0
  8. package/assets/img/svg/icon-dock.svg +4 -0
  9. package/assets/img/svg/icon-link.svg +5 -0
  10. package/assets/img/svg/icon-note.svg +2 -0
  11. package/assets/img/svg/icon-popup.svg +1 -0
  12. package/assets/img/svg/icon-save.svg +5 -0
  13. package/assets/img/svg/icon.svg +240 -0
  14. package/assets/img/svg/project-blank.svg +140 -0
  15. package/assets/sample-resume.pdf +0 -0
  16. package/package.json +41 -0
  17. package/plugins/README.md +8 -0
  18. package/src/index.d.ts +11 -0
  19. package/src/index.mjs +14 -0
  20. package/src/plugins/theme.mjs +13 -0
  21. package/theme/DocCategoryGeneratedIndexPage/index.jsx +15 -0
  22. package/theme/MDXComponents.jsx +19 -0
  23. package/theme/README.md +9 -0
  24. package/theme/Root.jsx +11 -0
  25. package/theme/components/AboutSection/index.jsx +264 -0
  26. package/theme/components/AboutSection/styles.module.css +309 -0
  27. package/theme/components/ContactSection/index.jsx +188 -0
  28. package/theme/components/ContactSection/styles.module.css +343 -0
  29. package/theme/components/ExperienceSection/index.jsx +119 -0
  30. package/theme/components/ExperienceSection/styles.module.css +183 -0
  31. package/theme/components/HeroSection/index.jsx +198 -0
  32. package/theme/components/HeroSection/styles.module.css +484 -0
  33. package/theme/components/NavArrow/index.jsx +124 -0
  34. package/theme/components/NavArrow/styles.module.css +107 -0
  35. package/theme/components/NoteIndex/index.jsx +182 -0
  36. package/theme/components/NoteIndex/styles.module.css +167 -0
  37. package/theme/components/Preview/components/FeedbackStates.jsx +200 -0
  38. package/theme/components/Preview/components/FileTabs.jsx +41 -0
  39. package/theme/components/Preview/components/PreviewContent.jsx +104 -0
  40. package/theme/components/Preview/components/PreviewHeader.jsx +411 -0
  41. package/theme/components/Preview/components/Triggers/Pv.jsx +253 -0
  42. package/theme/components/Preview/components/Triggers/SrcPv.jsx +55 -0
  43. package/theme/components/Preview/components/Triggers/index.jsx +2 -0
  44. package/theme/components/Preview/components/ViewerWindow.jsx +489 -0
  45. package/theme/components/Preview/hooks/useAdaptiveSizing.jsx +90 -0
  46. package/theme/components/Preview/hooks/useDeepLinkHash.jsx +24 -0
  47. package/theme/components/Preview/hooks/useDockLayout.jsx +86 -0
  48. package/theme/components/Preview/hooks/useFileFetch.jsx +38 -0
  49. package/theme/components/Preview/hooks/useTouchZoom.jsx +98 -0
  50. package/theme/components/Preview/index.jsx +3 -0
  51. package/theme/components/Preview/renderers/CodeRenderer.jsx +124 -0
  52. package/theme/components/Preview/renderers/ImageRenderer.jsx +74 -0
  53. package/theme/components/Preview/renderers/PdfRenderer.jsx +93 -0
  54. package/theme/components/Preview/renderers/WebRenderer.jsx +59 -0
  55. package/theme/components/Preview/state/index.jsx +177 -0
  56. package/theme/components/Preview/styles.module.css +776 -0
  57. package/theme/components/Preview/utils/index.jsx +62 -0
  58. package/theme/components/ProjectsSection/index.jsx +790 -0
  59. package/theme/components/ProjectsSection/styles.module.css +900 -0
  60. package/theme/components/SocialLinks/index.jsx +115 -0
  61. package/theme/components/SocialLinks/styles.module.css +57 -0
  62. package/theme/components/Tooltip/index.jsx +104 -0
  63. package/theme/components/Tooltip/styles.module.css +168 -0
  64. package/theme/config/iconMappings.jsx +427 -0
  65. package/theme/config/prism.jsx +72 -0
  66. package/theme/config/sidebar.jsx +11 -0
  67. package/theme/css/bootstrap.css +5 -0
  68. package/theme/css/catppuccin.css +618 -0
  69. package/theme/css/custom.css +253 -0
  70. package/theme/css/tasks.css +874 -0
  71. package/theme/hooks/useScrollReveal.jsx +20 -0
  72. package/theme/pages/index.jsx +104 -0
  73. package/theme/pages/notes.jsx +131 -0
  74. package/theme/pages/tasks.jsx +989 -0
  75. package/theme/utils/HashNavigation.jsx +185 -0
  76. package/theme/utils/updateTitle.jsx +65 -0
@@ -0,0 +1,484 @@
1
+ /* Animations */
2
+ @keyframes fadeIn {
3
+ from {
4
+ opacity: 0;
5
+ }
6
+ to {
7
+ opacity: 1;
8
+ }
9
+ }
10
+
11
+ @keyframes slideUp {
12
+ from {
13
+ opacity: 0;
14
+ transform: translateY(30px);
15
+ }
16
+ to {
17
+ opacity: 1;
18
+ transform: translateY(0);
19
+ }
20
+ }
21
+
22
+ @keyframes slideInLeft {
23
+ from {
24
+ opacity: 0;
25
+ transform: translateX(-40px);
26
+ }
27
+ to {
28
+ opacity: 1;
29
+ transform: translateX(0);
30
+ }
31
+ }
32
+
33
+ @keyframes slideInRight {
34
+ from {
35
+ opacity: 0;
36
+ transform: translateX(40px);
37
+ }
38
+ to {
39
+ opacity: 1;
40
+ transform: translateX(0);
41
+ }
42
+ }
43
+
44
+ @keyframes scaleIn {
45
+ from {
46
+ opacity: 0;
47
+ transform: scale(0.95);
48
+ }
49
+ to {
50
+ opacity: 1;
51
+ transform: scale(1);
52
+ }
53
+ }
54
+
55
+ /* Base layout */
56
+ .hero {
57
+ position: relative;
58
+ display: flex;
59
+ justify-content: center;
60
+ align-items: center;
61
+ min-height: calc(100vh - 60px);
62
+ font-family: var(--ifm-font-family-base);
63
+ animation: fadeIn 0.8s ease-in-out;
64
+ padding: 2rem 0;
65
+ }
66
+
67
+ .container {
68
+ display: flex;
69
+ flex-direction: row;
70
+ align-items: center;
71
+ max-width: 1300px;
72
+ width: 90%;
73
+ margin: 0 auto;
74
+ margin-bottom: 2rem;
75
+ padding: 0 2rem;
76
+ }
77
+
78
+ /* Left section */
79
+ .leftSection {
80
+ flex: 1;
81
+ text-align: left;
82
+ padding-right: 3rem;
83
+ padding-left: 1rem;
84
+ animation: slideInLeft 0.8s ease-out 0.2s both;
85
+ }
86
+
87
+ .intro {
88
+ font-size: 1.1rem;
89
+ font-weight: 500;
90
+ color: var(--ifm-font-color-tertiary);
91
+ font-family: var(--ifm-font-family-base);
92
+ margin-bottom: 0.2rem;
93
+ animation: slideUp 0.8s ease-out 0.4s both;
94
+ }
95
+
96
+ .title {
97
+ font-size: 4.5rem;
98
+ font-weight: 600;
99
+ margin: 0.2rem 0;
100
+ color: var(--ifm-color-primary);
101
+ font-family: var(--ifm-font-family-base);
102
+ animation: slideUp 0.8s ease-out 0.6s both;
103
+ transition: all 0.3s ease;
104
+ position: relative;
105
+ display: inline-block;
106
+ line-height: 1.2;
107
+ }
108
+
109
+ .title:hover {
110
+ color: var(--ifm-color-primary);
111
+ transform: translateY(-2px);
112
+ }
113
+
114
+ .title::after {
115
+ content: "";
116
+ position: absolute;
117
+ width: 0;
118
+ height: 3px;
119
+ bottom: 0;
120
+ left: 0;
121
+ background-color: var(--ifm-color-primary);
122
+ transition: width 0.3s ease;
123
+ }
124
+
125
+ .title:hover::after {
126
+ width: 100%;
127
+ }
128
+
129
+ .titleComma {
130
+ font-size: 1.1rem;
131
+ font-weight: 500;
132
+ color: var(--ifm-font-color-tertiary);
133
+ font-family: var(--ifm-font-family-base);
134
+ margin-left: 0.1rem;
135
+ margin-right: 0.5rem;
136
+ animation: slideUp 0.8s ease-out 0.6s both;
137
+ }
138
+
139
+ /* Subtitle section */
140
+ .subtitleWrapper {
141
+ display: flex;
142
+ align-items: baseline;
143
+ flex-wrap: wrap;
144
+ animation: slideUp 0.8s ease-out 0.8s both;
145
+ }
146
+
147
+ .subtitle {
148
+ font-size: 1.2rem;
149
+ font-weight: 400;
150
+ color: var(--ifm-font-color-tertiary);
151
+ font-family: var(--ifm-font-family-base);
152
+ margin-right: 0.5rem;
153
+ }
154
+
155
+ .profession {
156
+ font-size: 2.9rem;
157
+ font-weight: 550;
158
+ color: var(--ctp-lavender);
159
+ font-family: var(--ifm-font-family-base);
160
+ margin: 0;
161
+ position: relative;
162
+ display: inline-block;
163
+ transition: all 0.3s ease;
164
+ }
165
+
166
+ .profession:hover {
167
+ transform: translateY(-2px);
168
+ }
169
+
170
+ .profession::after {
171
+ content: "";
172
+ position: absolute;
173
+ width: 0;
174
+ height: 3px;
175
+ bottom: 0;
176
+ left: 0;
177
+ background-color: var(--ctp-lavender);
178
+ transition: width 0.3s ease;
179
+ }
180
+
181
+ .profession:hover::after {
182
+ width: 100%;
183
+ }
184
+
185
+ .description {
186
+ margin-top: 1.5rem;
187
+ font-size: 1.1rem;
188
+ line-height: 1.7;
189
+ color: var(--ifm-font-color-tertiary);
190
+ max-width: 600px;
191
+ font-family: var(--ifm-font-family-base);
192
+ text-align: left;
193
+ animation: slideUp 0.8s ease-out 1s both;
194
+ }
195
+
196
+ /* Action row styling */
197
+ .actionRow {
198
+ display: flex;
199
+ align-items: center;
200
+ margin-top: 2.5rem;
201
+ animation: slideUp 0.8s ease-out 1.2s both;
202
+ }
203
+
204
+ .cta {
205
+ margin-top: 0;
206
+ margin-right: 1.8rem;
207
+ display: flex;
208
+ align-items: center;
209
+ }
210
+
211
+ .ctaButton {
212
+ display: inline-block;
213
+ padding: 0.5rem 1.2rem;
214
+ font-size: 0.95rem;
215
+ font-weight: 500;
216
+ text-decoration: none;
217
+ color: var(--ifm-background-color);
218
+ background-color: var(--ifm-color-primary);
219
+ border-radius: var(--ifm-global-radius);
220
+ transition:
221
+ all 0.3s ease,
222
+ transform 0.2s ease;
223
+ border: 2px solid var(--ifm-color-primary);
224
+ cursor: pointer;
225
+ outline: none;
226
+ box-shadow: var(--ifm-global-shadow-lw);
227
+ }
228
+
229
+ .ctaButton:hover {
230
+ background-color: transparent;
231
+ color: var(--ifm-color-primary);
232
+ transform: translateY(-3px) scale(1.02);
233
+ box-shadow: var(--ifm-global-shadow-md);
234
+ text-decoration: none;
235
+ }
236
+
237
+ .ctaButton:active {
238
+ transform: translateY(-2px);
239
+ }
240
+
241
+ .ctaButton:focus {
242
+ box-shadow: 0 0 0 3px rgba(var(--ifm-color-primary-rgb), 0.3);
243
+ }
244
+
245
+ /* Right section - Profile image */
246
+ .rightSection {
247
+ flex: 1;
248
+ display: flex;
249
+ justify-content: flex-end;
250
+ margin-top: 0;
251
+ padding-right: 2rem;
252
+ animation: slideInRight 0.8s ease-out 0.3s both;
253
+ }
254
+
255
+ .profilePic {
256
+ height: 270px;
257
+ border-radius: 20%;
258
+ object-fit: cover;
259
+ box-shadow: none;
260
+ margin-top: -30px;
261
+ margin-right: 2rem;
262
+ transition:
263
+ transform 0.5s ease,
264
+ box-shadow 0.5s ease;
265
+ animation: scaleIn 0.8s ease-out both;
266
+ will-change: transform;
267
+ position: relative;
268
+ }
269
+
270
+ .profilePic:hover {
271
+ transform: scale(1.04) translateY(-8px);
272
+ box-shadow: 0 20px 40px var(--ifm-shadow-color);
273
+ }
274
+
275
+ /* Responsive styles for sections */
276
+ @media (max-width: 768px) {
277
+ .intro {
278
+ animation: slideUp 0.6s ease-out 0.4s both;
279
+ }
280
+
281
+ .hero {
282
+ min-height: 100vh;
283
+ padding: 1rem 0 3rem;
284
+ display: flex;
285
+ align-items: center;
286
+ justify-content: center;
287
+ box-sizing: border-box;
288
+ }
289
+
290
+ .container {
291
+ flex-direction: column-reverse;
292
+ align-items: center;
293
+ text-align: center;
294
+ width: 90%;
295
+ max-width: 500px;
296
+ height: 100%;
297
+ padding: 0;
298
+ }
299
+
300
+ .rightSection {
301
+ animation: fadeIn 0.8s ease-out both;
302
+ padding-right: 0;
303
+ justify-content: center;
304
+ margin-bottom: 0;
305
+ margin-top: -0.5rem;
306
+ width: 100%;
307
+ }
308
+
309
+ .profilePic {
310
+ animation: gentleAppear 0.7s ease-out both;
311
+ height: 180px;
312
+ margin-top: -20px;
313
+ margin-bottom: 1.2rem;
314
+ margin-right: 0;
315
+ box-shadow: none;
316
+ }
317
+
318
+ .profilePic:hover {
319
+ transform: scale(1.03);
320
+ box-shadow: 0 6px 15px var(--ifm-shadow-color);
321
+ }
322
+
323
+ .leftSection {
324
+ animation: fadeIn 0.8s ease-out 0.3s both;
325
+ padding-right: 0;
326
+ padding-left: 0;
327
+ width: 100%;
328
+ margin-top: 1rem;
329
+ margin-bottom: 0;
330
+ display: flex;
331
+ flex-direction: column;
332
+ align-items: center;
333
+ }
334
+
335
+ .title {
336
+ animation: slideUp 0.6s ease-out 0.5s both;
337
+ font-size: 3rem;
338
+ margin: 0.2rem 0;
339
+ }
340
+
341
+ .titleComma {
342
+ font-size: 0.9rem;
343
+ animation: slideUp 0.6s ease-out 0.5s both;
344
+ }
345
+
346
+ .subtitleWrapper {
347
+ animation: slideUp 0.6s ease-out 0.6s both;
348
+ justify-content: center;
349
+ margin: 0.2rem 0;
350
+ }
351
+
352
+ .description {
353
+ animation: slideUp 0.6s ease-out 0.7s both;
354
+ margin: 1.2rem auto 0;
355
+ max-width: 95%;
356
+ font-size: 1rem;
357
+ padding: 0;
358
+ text-align: center;
359
+ line-height: 1.5;
360
+ }
361
+
362
+ .actionRow {
363
+ animation: slideUp 0.6s ease-out 0.8s both;
364
+ flex-direction: column;
365
+ align-items: center;
366
+ margin-top: 1.5rem;
367
+ width: 100%;
368
+ }
369
+
370
+ .subtitle {
371
+ font-size: 1.2rem;
372
+ margin-right: 0.4rem;
373
+ }
374
+
375
+ .profession {
376
+ font-size: 2rem;
377
+ }
378
+
379
+ .cta {
380
+ margin-right: 0;
381
+ margin-bottom: 1.2rem;
382
+ width: 100%;
383
+ justify-content: center;
384
+ }
385
+
386
+ /* Social icons in center */
387
+ .socialIcons {
388
+ margin: 0;
389
+ width: 100%;
390
+ justify-content: center;
391
+ height: auto;
392
+ padding-bottom: 0.5rem;
393
+ }
394
+
395
+ .socialIcons a {
396
+ margin: 0 1rem;
397
+ }
398
+
399
+ .socialLink svg {
400
+ width: 25px;
401
+ height: 25px;
402
+ }
403
+ }
404
+
405
+ /* Responsive styles for mobile devices */
406
+ @media (max-width: 480px) {
407
+ .hero {
408
+ min-height: calc(100vh);
409
+ padding: 0.5rem 0 2rem;
410
+ }
411
+
412
+ .rightSection {
413
+ margin-top: -2rem;
414
+ margin-bottom: 0;
415
+ }
416
+
417
+ .profilePic {
418
+ animation: gentleAppear 0.6s ease-out both;
419
+ height: 160px;
420
+ margin-top: -25px;
421
+ margin-bottom: 1.5rem;
422
+ box-shadow: none;
423
+ }
424
+
425
+ .title {
426
+ font-size: 2.3rem;
427
+ animation: slideUp 0.5s ease-out 0.3s both;
428
+ }
429
+
430
+ .titleComma {
431
+ font-size: 0.8rem;
432
+ animation: slideUp 0.5s ease-out 0.3s both;
433
+ }
434
+
435
+ .subtitle {
436
+ font-size: 1rem;
437
+ margin-right: 0.3rem;
438
+ }
439
+
440
+ .profession {
441
+ font-size: 1.5rem;
442
+ }
443
+
444
+ .description {
445
+ animation: slideUp 0.5s ease-out 0.5s both;
446
+ margin: 0.7rem auto 0;
447
+ margin-top: 0.5rem;
448
+ max-width: 92%;
449
+ line-height: 1.4;
450
+ font-size: 0.9rem;
451
+ }
452
+
453
+ .actionRow {
454
+ animation: slideUp 0.5s ease-out 0.6s both;
455
+ }
456
+
457
+ .ctaButton {
458
+ padding: 0.4rem 1rem;
459
+ font-size: 0.85rem;
460
+ }
461
+
462
+ .socialLink svg {
463
+ width: 22px;
464
+ height: 22px;
465
+ }
466
+ }
467
+
468
+ /* Consolidated Accessibility */
469
+ @media (prefers-reduced-motion: reduce) {
470
+ .hero,
471
+ .leftSection,
472
+ .rightSection,
473
+ .profilePic,
474
+ .intro,
475
+ .title,
476
+ .titleComma,
477
+ .subtitleWrapper,
478
+ .description,
479
+ .actionRow,
480
+ .socialIcons a {
481
+ animation: none !important;
482
+ transition: none !important;
483
+ }
484
+ }
@@ -0,0 +1,124 @@
1
+ import React, { useState, useEffect, useRef } from "react";
2
+ import { FaChevronDown, FaChevronUp } from "react-icons/fa";
3
+ import Tooltip from "../Tooltip";
4
+ import styles from "./styles.module.css";
5
+ export default function NavArrow() {
6
+ const [direction, setDirection] = useState("down");
7
+ const [isVisible, setIsVisible] = useState(false);
8
+ const [isScrolling, setIsScrolling] = useState(false);
9
+ const scrollTimeoutRef = useRef(null);
10
+ const getSections = () => {
11
+ const main = document.querySelector("main");
12
+ if (!main) return [];
13
+ return Array.from(main.querySelectorAll(":scope > [id]"))
14
+ .map((el) => el.id)
15
+ .filter((id) => id !== "nav-arrow");
16
+ };
17
+ useEffect(() => {
18
+ const handleScroll = () => {
19
+ const scrollTop =
20
+ window.pageYOffset || document.documentElement.scrollTop;
21
+ const windowHeight = window.innerHeight;
22
+ const fullHeight = document.documentElement.scrollHeight;
23
+ setIsVisible(scrollTop > 100);
24
+ if (scrollTop + windowHeight >= fullHeight - 50) {
25
+ setDirection("up");
26
+ } else {
27
+ setDirection("down");
28
+ }
29
+ setIsScrolling(true);
30
+ if (scrollTimeoutRef.current) clearTimeout(scrollTimeoutRef.current);
31
+ scrollTimeoutRef.current = setTimeout(() => setIsScrolling(false), 800);
32
+ };
33
+ window.addEventListener("scroll", handleScroll, { passive: true });
34
+ handleScroll();
35
+ return () => {
36
+ window.removeEventListener("scroll", handleScroll);
37
+ if (scrollTimeoutRef.current) clearTimeout(scrollTimeoutRef.current);
38
+ };
39
+ }, []);
40
+ const handleClick = () => {
41
+ if (direction === "up") {
42
+ window.scrollTo({ top: 0, behavior: "smooth" });
43
+ } else {
44
+ const sections = getSections();
45
+ const windowTop =
46
+ window.pageYOffset || document.documentElement.scrollTop;
47
+ let nextSectionId = null;
48
+ for (const id of sections) {
49
+ const element = document.getElementById(id);
50
+ if (element) {
51
+ const rect = element.getBoundingClientRect();
52
+ const absoluteTop = rect.top + windowTop;
53
+ if (absoluteTop > windowTop + 100) {
54
+ nextSectionId = id;
55
+ break;
56
+ }
57
+ }
58
+ }
59
+ if (nextSectionId) {
60
+ const element = document.getElementById(nextSectionId);
61
+ element.scrollIntoView({ behavior: "smooth" });
62
+ } else {
63
+ window.scrollTo({
64
+ top: document.documentElement.scrollHeight,
65
+ behavior: "smooth",
66
+ });
67
+ }
68
+ }
69
+ };
70
+ return jsxDEV_7x81h0kn(
71
+ "button",
72
+ {
73
+ className: `${styles.navArrow} ${isVisible ? styles.visible : ""} ${isScrolling ? styles.scrolling : ""}`,
74
+ onClick: handleClick,
75
+ "aria-label":
76
+ direction === "down" ? "Scroll to next section" : "Scroll to top",
77
+ children: jsxDEV_7x81h0kn(
78
+ Tooltip,
79
+ {
80
+ msg: direction === "down" ? "Next Section" : "Back to Top",
81
+ position: "top",
82
+ gap: 25,
83
+ underline: false,
84
+ children: jsxDEV_7x81h0kn(
85
+ "div",
86
+ {
87
+ className: `${styles.iconWrapper} ${styles[direction]}`,
88
+ children:
89
+ direction === "down"
90
+ ? jsxDEV_7x81h0kn(
91
+ FaChevronDown,
92
+ { className: styles.chevron },
93
+ undefined,
94
+ false,
95
+ undefined,
96
+ this,
97
+ )
98
+ : jsxDEV_7x81h0kn(
99
+ FaChevronUp,
100
+ { className: styles.chevron },
101
+ undefined,
102
+ false,
103
+ undefined,
104
+ this,
105
+ ),
106
+ },
107
+ undefined,
108
+ false,
109
+ undefined,
110
+ this,
111
+ ),
112
+ },
113
+ undefined,
114
+ false,
115
+ undefined,
116
+ this,
117
+ ),
118
+ },
119
+ undefined,
120
+ false,
121
+ undefined,
122
+ this,
123
+ );
124
+ }
@@ -0,0 +1,107 @@
1
+ :root {
2
+ --nav-arrow-size: 50px;
3
+ --nav-arrow-bottom: 2.5rem;
4
+ --nav-arrow-mobile-size: 46px;
5
+ --nav-arrow-mobile-bottom: 1.5rem;
6
+ --nav-arrow-bounce-y: -8px;
7
+ }
8
+
9
+ .navArrow {
10
+ position: fixed;
11
+ bottom: var(--nav-arrow-bottom);
12
+ left: 50%;
13
+ transform: translateX(-50%) translateY(100px);
14
+ width: var(--nav-arrow-size);
15
+ height: var(--nav-arrow-size);
16
+ border-radius: 50%;
17
+ background-color: var(--ifm-color-primary);
18
+ color: var(--ifm-color-black);
19
+ border: none;
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ cursor: pointer;
24
+ z-index: var(--ifm-z-index-fixed, 1000);
25
+ box-shadow: var(--ifm-global-shadow-lw);
26
+ transition:
27
+ transform var(--ifm-transition-slow) cubic-bezier(0.175, 0.885, 0.32, 1.275),
28
+ opacity var(--ifm-transition-slow) ease,
29
+ background-color var(--ifm-transition-fast) ease;
30
+ opacity: 0;
31
+ pointer-events: none;
32
+ }
33
+
34
+ .navArrow.visible {
35
+ transform: translateX(-50%) translateY(0);
36
+ opacity: 1;
37
+ pointer-events: auto;
38
+ }
39
+
40
+ .navArrow:hover {
41
+ background-color: var(--ifm-color-primary-darker);
42
+ transform: translateX(-50%) translateY(-5px) scale(1.1);
43
+ box-shadow: var(--ifm-global-shadow-md);
44
+ }
45
+
46
+ .navArrow:active {
47
+ transform: translateX(-50%) translateY(-2px) scale(0.95);
48
+ }
49
+
50
+ .iconWrapper {
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+ }
55
+
56
+ .down {
57
+ animation: bounce 2s infinite;
58
+ }
59
+
60
+ .chevron {
61
+ font-size: 1.4rem;
62
+ color: inherit;
63
+ }
64
+
65
+ @keyframes bounce {
66
+ 0%,
67
+ 20%,
68
+ 50%,
69
+ 80%,
70
+ 100% {
71
+ transform: translateY(0);
72
+ }
73
+ 40% {
74
+ transform: translateY(var(--nav-arrow-bounce-y));
75
+ }
76
+ 60% {
77
+ transform: translateY(calc(var(--nav-arrow-bounce-y) / 2));
78
+ }
79
+ }
80
+
81
+ /* Subtly fade during manual scroll */
82
+ .navArrow.scrolling {
83
+ opacity: 0.7;
84
+ }
85
+
86
+ @media (max-width: 768px) {
87
+ .navArrow {
88
+ bottom: var(--nav-arrow-mobile-bottom);
89
+ width: var(--nav-arrow-mobile-size);
90
+ height: var(--nav-arrow-mobile-size);
91
+ }
92
+
93
+ .chevron {
94
+ font-size: 1.2rem;
95
+ }
96
+ }
97
+
98
+ /* Reduced motion support */
99
+ @media (prefers-reduced-motion: reduce) {
100
+ .navArrow {
101
+ transition: opacity var(--ifm-transition-fast) ease;
102
+ animation: none !important;
103
+ }
104
+ .navArrow.visible {
105
+ transform: translateX(-50%) translateY(0);
106
+ }
107
+ }