-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
79 lines (66 loc) · 1.43 KB
/
index.css
File metadata and controls
79 lines (66 loc) · 1.43 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
@import "tailwindcss";
@theme {
/* Primary colors - Deep Green (Theme color) */
--color-primary: #0BAE74;
--color-primary-variant: #15803d;
/* Secondary colors - Blue */
--color-secondary: #3b82f6;
--color-secondary-variant: #2563eb;
/* Background and Surface */
--color-background: #ffffff;
--color-surface: #ffffff;
/* Error - Red */
--color-error: #ef4444;
/* Text on colors */
--color-on-primary: #ffffff;
--color-on-secondary: #ffffff;
--color-on-background: #000000;
--color-on-surface: #000000;
--color-on-error: #ffffff;
}
* {
-webkit-tap-highlight-color: transparent;
}
html {
scroll-behavior: smooth;
}
body {
@apply bg-gray-50 text-gray-900 font-sans;
/* Prevent horizontal scroll on mobile */
overflow-x: hidden;
/* Better text rendering on mobile */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Mobile-first animations */
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slide-in {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0);
}
}
.animate-fade-in {
animation: fade-in 0.3s ease-out;
}
.animate-slide-in {
animation: slide-in 0.3s ease-out;
}
/* Better touch interactions */
@media (hover: none) and (pointer: coarse) {
button,
a {
@apply active:scale-95 transition-transform duration-150;
}
}