-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.css
More file actions
50 lines (43 loc) · 902 Bytes
/
globals.css
File metadata and controls
50 lines (43 loc) · 902 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
49
50
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Global Resets */
html, body {
scroll-behavior: smooth;
font-family: 'Inter', sans-serif;
background-color: #ffffff;
color: #1a1a1a;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Improve layout shifts */
img, svg {
display: block;
max-width: 100%;
}
/* Better section spacing */
section {
scroll-margin-top: 80px;
}
/* Smooth fade-in for all main sections */
.fade-in {
opacity: 0;
animation: fadeIn 0.8s ease-in-out forwards;
}
@keyframes fadeIn {
to { opacity: 1; }
}
@media (max-width: 640px) {
h1 { font-size: 1.9rem; line-height: 2.4rem; }
h2 { font-size: 1.6rem; }
section { padding: 3rem 1rem; }
}
/* Tailwind-safe custom utilities */
@layer utilities {
.container-padding {
@apply px-4 sm:px-6 lg:px-8;
}
.page-section {
@apply py-16 sm:py-24;
}
}