-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (41 loc) · 883 Bytes
/
style.css
File metadata and controls
48 lines (41 loc) · 883 Bytes
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
/* ===== Global Styles ===== */
body {
font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
scroll-behavior: smooth;
}
/* ===== Utility Classes ===== */
.section-heading {
@apply text-2xl font-bold mb-4 border-b pb-2;
}
/* ===== Reusable Arrow Style ===== */
.scroll-to-top {
font-size: 2.5rem;
color: #9ca3af; /* Tailwind's gray-400 */
transition: color 0.3s ease;
text-decoration: none;
}
.scroll-to-top:hover {
color: #2563eb; /* Tailwind's blue-600 */
}
/* ===== Bounce Animation for Arrows or Icons ===== */
.arrow-bounce {
animation: bounce 1.2s infinite;
}
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-8px);
}
}
/* ===== Print Optimization ===== */
@media print {
nav, footer, .scroll-to-top {
display: none !important;
}
body {
background: white;
color: black;
}
}