ministerchief commited on
Commit
82d1c7b
·
verified ·
1 Parent(s): 5837c6e

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +111 -61
static/style.css CHANGED
@@ -1,62 +1,112 @@
1
- body {
2
- font-family: 'Poppins', sans-serif;
3
- background: linear-gradient(135deg, #667eea, #764ba2);
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- min-height: 100vh;
8
- padding: 40px 0;
9
- }
10
-
11
- /* Bigger Glass Container */
12
- .container {
13
- background: rgba(255, 255, 255, 0.15);
14
- backdrop-filter: blur(15px);
15
- padding: 60px;
16
- /* Increased padding */
17
- border-radius: 25px;
18
- width: 500px;
19
- /* Increased width */
20
- max-width: 95%;
21
- box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
22
- color: white;
23
- animation: fadeIn 1s ease-in-out;
24
- }
25
-
26
- /* Bigger Heading */
27
- .container h2 {
28
- text-align: center;
29
- margin-bottom: 35px;
30
- font-weight: 600;
31
- font-size: 26px;
32
- }
33
-
34
- /* Inputs & Select */
35
- input,
36
- select {
37
- width: 100%;
38
- margin: 18px 0;
39
- /* More vertical spacing */
40
- padding: 15px;
41
- /* Bigger input size */
42
- border-radius: 12px;
43
- border: none;
44
- outline: none;
45
- font-size: 15px;
46
- transition: 0.3s ease;
47
- }
48
-
49
- /* Button */
50
- button {
51
- width: 100%;
52
- padding: 15px;
53
- margin-top: 25px;
54
- border-radius: 14px;
55
- border: none;
56
- background: linear-gradient(45deg, #ff6b6b, #ff9f43);
57
- color: white;
58
- font-size: 17px;
59
- font-weight: 600;
60
- cursor: pointer;
61
- transition: 0.4s ease;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
 
1
+ /* ===== Animated Background ===== */
2
+ body {
3
+ font-family: 'Poppins', sans-serif;
4
+ background: linear-gradient(-45deg, #667eea, #764ba2, #ff6b6b, #ff9f43);
5
+ background-size: 400% 400%;
6
+ animation: gradientBG 12s ease infinite;
7
+ display: flex;
8
+ justify-content: center;
9
+ align-items: center;
10
+ min-height: 100vh;
11
+ padding: 40px 0;
12
+ }
13
+
14
+ /* ===== Glass Container ===== */
15
+ .container {
16
+ background: rgba(255, 255, 255, 0.12);
17
+ backdrop-filter: blur(20px);
18
+ padding: 50px 45px;
19
+ border-radius: 30px;
20
+ width: 480px;
21
+ max-width: 95%;
22
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
23
+ color: white;
24
+ animation: fadeIn 0.8s ease-in-out;
25
+ border: 1px solid rgba(255,255,255,0.2);
26
+ }
27
+
28
+ /* ===== Heading ===== */
29
+ .container h2 {
30
+ text-align: center;
31
+ margin-bottom: 35px;
32
+ font-weight: 600;
33
+ font-size: 28px;
34
+ letter-spacing: 1px;
35
+ }
36
+
37
+ /* ===== Inputs & Select ===== */
38
+ input,
39
+ select {
40
+ width: 100%;
41
+ margin: 18px 0;
42
+ padding: 16px;
43
+ border-radius: 14px;
44
+ border: none;
45
+ outline: none;
46
+ font-size: 15px;
47
+ background: rgba(255,255,255,0.9);
48
+ transition: 0.3s ease;
49
+ }
50
+
51
+ input:focus,
52
+ select:focus {
53
+ box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
54
+ transform: scale(1.02);
55
+ }
56
+
57
+ /* ===== Button ===== */
58
+ button {
59
+ width: 100%;
60
+ padding: 16px;
61
+ margin-top: 25px;
62
+ border-radius: 16px;
63
+ border: none;
64
+ background: linear-gradient(45deg, #ff6b6b, #ff9f43);
65
+ color: white;
66
+ font-size: 17px;
67
+ font-weight: 600;
68
+ cursor: pointer;
69
+ transition: all 0.4s ease;
70
+ box-shadow: 0 10px 25px rgba(0,0,0,0.3);
71
+ }
72
+
73
+ button:hover {
74
+ transform: translateY(-4px);
75
+ box-shadow: 0 15px 35px rgba(0,0,0,0.4);
76
+ background: linear-gradient(45deg, #ff9f43, #ff6b6b);
77
+ }
78
+
79
+ /* ===== QR Image Styling ===== */
80
+ img {
81
+ margin-top: 30px;
82
+ width: 220px;
83
+ border-radius: 20px;
84
+ box-shadow: 0 15px 40px rgba(0,0,0,0.4);
85
+ transition: 0.4s ease;
86
+ }
87
+
88
+ img:hover {
89
+ transform: scale(1.05);
90
+ }
91
+
92
+ /* ===== Error Message ===== */
93
+ .error {
94
+ background: rgba(255, 0, 0, 0.2);
95
+ padding: 12px;
96
+ border-radius: 12px;
97
+ margin-top: 15px;
98
+ text-align: center;
99
+ font-size: 14px;
100
+ }
101
+
102
+ /* ===== Animations ===== */
103
+ @keyframes fadeIn {
104
+ from {opacity: 0; transform: translateY(20px);}
105
+ to {opacity: 1; transform: translateY(0);}
106
+ }
107
+
108
+ @keyframes gradientBG {
109
+ 0% {background-position: 0% 50%;}
110
+ 50% {background-position: 100% 50%;}
111
+ 100% {background-position: 0% 50%;}
112
  }