Shinhati2023 commited on
Commit
b3b1af0
·
verified ·
1 Parent(s): ef664b0

Update client/src/index.css

Browse files
Files changed (1) hide show
  1. client/src/index.css +61 -31
client/src/index.css CHANGED
@@ -7,7 +7,7 @@
7
  --glass-bg: rgba(255, 255, 255, 0.05);
8
  --glass-border: rgba(255, 255, 255, 0.1);
9
  --glass-blur: 16px;
10
- --font-pixel: 'Courier New', Courier, monospace; /* Fallback pixel-ish font */
11
  }
12
 
13
  body {
@@ -16,46 +16,90 @@ body {
16
  color: white;
17
  font-family: var(--font-pixel);
18
  overflow-x: hidden;
19
- -webkit-font-smoothing: none; /* Crisper pixels */
20
  }
21
 
22
- /* THE LIQUID GLASS CONTAINER */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  .glass-panel {
24
  background: var(--glass-bg);
25
  backdrop-filter: blur(var(--glass-blur));
26
- -webkit-backdrop-filter: blur(var(--glass-blur));
27
  border: 1px solid var(--glass-border);
28
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
29
  }
30
 
31
- /* NEON PIXEL TEXT */
32
- h1 {
33
- text-transform: uppercase;
34
- letter-spacing: 4px;
35
- text-shadow: 4px 4px 0px var(--mc-purple); /* Blocky shadow */
36
- }
37
-
38
- /* BUTTONS: Circular Edged (Pill) Glass */
39
  button {
40
  font-family: var(--font-pixel);
41
  text-transform: uppercase;
42
  font-weight: bold;
43
  letter-spacing: 1px;
44
- border-radius: 9999px; /* Maximum roundness */
45
  border: 1px solid rgba(255,255,255,0.2);
46
  background: rgba(255,255,255,0.05);
47
  backdrop-filter: blur(10px);
48
  color: var(--mc-green);
49
  transition: all 0.3s ease;
50
  cursor: pointer;
51
- position: relative;
52
- overflow: hidden;
53
  }
54
 
55
  button:hover:not(:disabled) {
56
  background: var(--mc-green);
57
  color: black;
58
- box-shadow: 0 0 15px var(--mc-green); /* Neon Glow */
59
  }
60
 
61
  button:disabled {
@@ -63,7 +107,7 @@ button:disabled {
63
  cursor: not-allowed;
64
  }
65
 
66
- /* INPUTS: Sleek Mobile Bar */
67
  textarea, select {
68
  font-family: var(--font-pixel);
69
  background: rgba(0, 0, 0, 0.3);
@@ -72,21 +116,7 @@ textarea, select {
72
  border-radius: 20px;
73
  backdrop-filter: blur(5px);
74
  }
75
-
76
  textarea:focus, select:focus {
77
  outline: none;
78
  border-color: var(--mc-green);
79
- box-shadow: 0 0 10px rgba(85, 255, 85, 0.2);
80
- }
81
-
82
- /* PIXEL ART PLACEHOLDER ANIMATION */
83
- @keyframes float {
84
- 0% { transform: translateY(0px); }
85
- 50% { transform: translateY(-10px); }
86
- 100% { transform: translateY(0px); }
87
- }
88
-
89
- .pixel-avatar {
90
- image-rendering: pixelated;
91
- animation: float 3s ease-in-out infinite;
92
  }
 
7
  --glass-bg: rgba(255, 255, 255, 0.05);
8
  --glass-border: rgba(255, 255, 255, 0.1);
9
  --glass-blur: 16px;
10
+ --font-pixel: 'Courier New', Courier, monospace;
11
  }
12
 
13
  body {
 
16
  color: white;
17
  font-family: var(--font-pixel);
18
  overflow-x: hidden;
19
+ -webkit-font-smoothing: none;
20
  }
21
 
22
+ /* --- ANIMATIONS --- */
23
+ @keyframes shimmer {
24
+ 0% { box-shadow: 0 0 5px rgba(85, 255, 85, 0.2), inset 0 0 10px rgba(85,255,85,0.1); border-color: rgba(255,255,255,0.2); }
25
+ 50% { box-shadow: 0 0 20px rgba(85, 255, 85, 0.6), inset 0 0 20px rgba(85,255,85,0.2); border-color: var(--mc-green); }
26
+ 100% { box-shadow: 0 0 5px rgba(85, 255, 85, 0.2), inset 0 0 10px rgba(85,255,85,0.1); border-color: rgba(255,255,255,0.2); }
27
+ }
28
+
29
+ /* THE DANCING BEAR ANIMATION */
30
+ @keyframes bearDance {
31
+ 0% { transform: translateY(0) rotate(0deg) scale(1); }
32
+ 25% { transform: translateY(-10px) rotate(-10deg) scale(1.1); }
33
+ 50% { transform: translateY(0) rotate(0deg) scale(1); }
34
+ 75% { transform: translateY(-10px) rotate(10deg) scale(1.1); }
35
+ 100% { transform: translateY(0) rotate(0deg) scale(1); }
36
+ }
37
+
38
+ .dancing-bear {
39
+ font-size: 80px;
40
+ display: inline-block;
41
+ animation: bearDance 0.8s infinite ease-in-out;
42
+ filter: drop-shadow(0 0 20px var(--mc-purple));
43
+ }
44
+
45
+ .logo-glass {
46
+ background: rgba(255, 255, 255, 0.03);
47
+ backdrop-filter: blur(12px);
48
+ border: 1px solid rgba(255, 255, 255, 0.1);
49
+ border-radius: 16px;
50
+ padding: 15px 30px;
51
+ display: inline-block;
52
+ animation: shimmer 3s infinite ease-in-out;
53
+ margin-bottom: 10px;
54
+ }
55
+
56
+ .logo-text {
57
+ font-size: 2rem;
58
+ font-weight: 900;
59
+ letter-spacing: 2px;
60
+ background: linear-gradient(90deg, #fff, #aaa, #fff);
61
+ background-size: 200% auto;
62
+ -webkit-background-clip: text;
63
+ -webkit-text-fill-color: transparent;
64
+ text-transform: uppercase;
65
+ }
66
+
67
+ .sub-brand {
68
+ color: var(--mc-purple);
69
+ font-size: 0.9rem;
70
+ letter-spacing: 4px;
71
+ text-transform: uppercase;
72
+ margin-bottom: 30px;
73
+ opacity: 0.8;
74
+ }
75
+
76
+ /* GENERAL GLASS UI */
77
  .glass-panel {
78
  background: var(--glass-bg);
79
  backdrop-filter: blur(var(--glass-blur));
 
80
  border: 1px solid var(--glass-border);
81
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
82
  }
83
 
84
+ /* BUTTONS */
 
 
 
 
 
 
 
85
  button {
86
  font-family: var(--font-pixel);
87
  text-transform: uppercase;
88
  font-weight: bold;
89
  letter-spacing: 1px;
90
+ border-radius: 9999px;
91
  border: 1px solid rgba(255,255,255,0.2);
92
  background: rgba(255,255,255,0.05);
93
  backdrop-filter: blur(10px);
94
  color: var(--mc-green);
95
  transition: all 0.3s ease;
96
  cursor: pointer;
 
 
97
  }
98
 
99
  button:hover:not(:disabled) {
100
  background: var(--mc-green);
101
  color: black;
102
+ box-shadow: 0 0 20px var(--mc-green);
103
  }
104
 
105
  button:disabled {
 
107
  cursor: not-allowed;
108
  }
109
 
110
+ /* INPUTS */
111
  textarea, select {
112
  font-family: var(--font-pixel);
113
  background: rgba(0, 0, 0, 0.3);
 
116
  border-radius: 20px;
117
  backdrop-filter: blur(5px);
118
  }
 
119
  textarea:focus, select:focus {
120
  outline: none;
121
  border-color: var(--mc-green);
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  }