larxius commited on
Commit
c6d4f4b
·
verified ·
1 Parent(s): 0c0a041

Update frontend/src/index.css

Browse files
Files changed (1) hide show
  1. frontend/src/index.css +53 -15
frontend/src/index.css CHANGED
@@ -3,15 +3,20 @@
3
  @tailwind utilities;
4
 
5
  @layer base {
6
- html, body {
 
 
7
  overflow-x: hidden;
8
  max-width: 100%;
9
  margin: 0;
10
  padding: 0;
11
  }
 
12
  html {
13
- font-size: 14px; /* Decreased from default 16px */
 
14
  }
 
15
  :root {
16
  --on-surface: #1e1e1e;
17
  --on-primary-container: #1e3a8a;
@@ -56,35 +61,69 @@
56
 
57
  /* Custom UI Animations */
58
  @keyframes fade-in {
59
- 0% { opacity: 0; transform: translateY(10px); }
60
- 100% { opacity: 1; transform: translateY(0); }
 
 
 
 
 
 
 
61
  }
 
62
  .animate-fade-in {
63
  animation: fade-in 0.4s ease-out forwards;
64
  }
65
 
66
  @keyframes slide-up {
67
- 0% { opacity: 0; transform: translateY(30px); }
68
- 100% { opacity: 1; transform: translateY(0); }
 
 
 
 
 
 
 
69
  }
 
70
  .animate-slide-up {
71
  animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
72
  }
73
 
74
  @keyframes float {
75
- 0% { transform: translateY(0px) rotate(0deg); }
76
- 50% { transform: translateY(-20px) rotate(2deg); }
77
- 100% { transform: translateY(0px) rotate(0deg); }
 
 
 
 
 
 
 
 
78
  }
 
79
  .animate-float {
80
  animation: float 8s ease-in-out infinite;
81
  }
82
 
83
  @keyframes float-delayed {
84
- 0% { transform: translateY(0px) rotate(0deg); }
85
- 50% { transform: translateY(20px) rotate(-2deg); }
86
- 100% { transform: translateY(0px) rotate(0deg); }
 
 
 
 
 
 
 
 
87
  }
 
88
  .animate-float-delayed {
89
  animation: float-delayed 10s ease-in-out infinite;
90
  }
@@ -95,6 +134,7 @@
95
  -webkit-backdrop-filter: blur(16px);
96
  border: 1px solid rgba(255, 255, 255, 0.1);
97
  }
 
98
  .dark .glass-panel {
99
  background: rgba(15, 23, 42, 0.6);
100
  border: 1px solid rgba(255, 255, 255, 0.05);
@@ -166,6 +206,4 @@
166
  display: none !important;
167
  width: 0 !important;
168
  height: 0 !important;
169
- }
170
-
171
-
 
3
  @tailwind utilities;
4
 
5
  @layer base {
6
+
7
+ html,
8
+ body {
9
  overflow-x: hidden;
10
  max-width: 100%;
11
  margin: 0;
12
  padding: 0;
13
  }
14
+
15
  html {
16
+ font-size: 14px;
17
+ /* Decreased from default 16px */
18
  }
19
+
20
  :root {
21
  --on-surface: #1e1e1e;
22
  --on-primary-container: #1e3a8a;
 
61
 
62
  /* Custom UI Animations */
63
  @keyframes fade-in {
64
+ 0% {
65
+ opacity: 0;
66
+ transform: translateY(10px);
67
+ }
68
+
69
+ 100% {
70
+ opacity: 1;
71
+ transform: translateY(0);
72
+ }
73
  }
74
+
75
  .animate-fade-in {
76
  animation: fade-in 0.4s ease-out forwards;
77
  }
78
 
79
  @keyframes slide-up {
80
+ 0% {
81
+ opacity: 0;
82
+ transform: translateY(30px);
83
+ }
84
+
85
+ 100% {
86
+ opacity: 1;
87
+ transform: translateY(0);
88
+ }
89
  }
90
+
91
  .animate-slide-up {
92
  animation: slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
93
  }
94
 
95
  @keyframes float {
96
+ 0% {
97
+ transform: translateY(0px) rotate(0deg);
98
+ }
99
+
100
+ 50% {
101
+ transform: translateY(-20px) rotate(2deg);
102
+ }
103
+
104
+ 100% {
105
+ transform: translateY(0px) rotate(0deg);
106
+ }
107
  }
108
+
109
  .animate-float {
110
  animation: float 8s ease-in-out infinite;
111
  }
112
 
113
  @keyframes float-delayed {
114
+ 0% {
115
+ transform: translateY(0px) rotate(0deg);
116
+ }
117
+
118
+ 50% {
119
+ transform: translateY(20px) rotate(-2deg);
120
+ }
121
+
122
+ 100% {
123
+ transform: translateY(0px) rotate(0deg);
124
+ }
125
  }
126
+
127
  .animate-float-delayed {
128
  animation: float-delayed 10s ease-in-out infinite;
129
  }
 
134
  -webkit-backdrop-filter: blur(16px);
135
  border: 1px solid rgba(255, 255, 255, 0.1);
136
  }
137
+
138
  .dark .glass-panel {
139
  background: rgba(15, 23, 42, 0.6);
140
  border: 1px solid rgba(255, 255, 255, 0.05);
 
206
  display: none !important;
207
  width: 0 !important;
208
  height: 0 !important;
209
+ }