Spaces:
Running
Running
Update static/style.css
Browse files- static/style.css +136 -89
static/style.css
CHANGED
@@ -1,90 +1,137 @@
|
|
1 |
-
* {
|
2 |
-
margin: 0;
|
3 |
-
padding: 0;
|
4 |
-
box-sizing: border-box;
|
5 |
-
}
|
6 |
-
|
7 |
-
body {
|
8 |
-
font-family: Arial, sans-serif;
|
9 |
-
background
|
10 |
-
display: flex;
|
11 |
-
justify-content: center;
|
12 |
-
align-items: center;
|
13 |
-
height: 100vh;
|
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 |
-
margin-top:
|
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 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
|
|
1 |
+
* {
|
2 |
+
margin: 0;
|
3 |
+
padding: 0;
|
4 |
+
box-sizing: border-box;
|
5 |
+
}
|
6 |
+
|
7 |
+
body {
|
8 |
+
font-family: 'Arial', sans-serif;
|
9 |
+
background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
|
10 |
+
display: flex;
|
11 |
+
justify-content: center;
|
12 |
+
align-items: center;
|
13 |
+
height: 100vh;
|
14 |
+
padding: 20px;
|
15 |
+
}
|
16 |
+
|
17 |
+
.container {
|
18 |
+
width: 50%;
|
19 |
+
background: white;
|
20 |
+
padding: 30px;
|
21 |
+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
|
22 |
+
border-radius: 10px;
|
23 |
+
text-align: center;
|
24 |
+
transition: transform 0.3s ease;
|
25 |
+
}
|
26 |
+
|
27 |
+
.container:hover {
|
28 |
+
transform: scale(1.02);
|
29 |
+
}
|
30 |
+
|
31 |
+
h1 {
|
32 |
+
color: #333;
|
33 |
+
margin-bottom: 20px;
|
34 |
+
font-size: 24px;
|
35 |
+
font-weight: bold;
|
36 |
+
}
|
37 |
+
|
38 |
+
label {
|
39 |
+
font-size: 16px;
|
40 |
+
font-weight: bold;
|
41 |
+
display: block;
|
42 |
+
margin-top: 15px;
|
43 |
+
color: #444;
|
44 |
+
text-align: left;
|
45 |
+
}
|
46 |
+
|
47 |
+
textarea, select, input {
|
48 |
+
width: 100%;
|
49 |
+
padding: 12px;
|
50 |
+
margin-top: 8px;
|
51 |
+
border: 1px solid #ccc;
|
52 |
+
border-radius: 6px;
|
53 |
+
font-size: 16px;
|
54 |
+
transition: border 0.3s ease, box-shadow 0.3s ease;
|
55 |
+
}
|
56 |
+
|
57 |
+
textarea {
|
58 |
+
resize: vertical;
|
59 |
+
min-height: 120px;
|
60 |
+
}
|
61 |
+
|
62 |
+
textarea:focus, select:focus, input:focus {
|
63 |
+
border-color: #4CAF50;
|
64 |
+
box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
|
65 |
+
outline: none;
|
66 |
+
}
|
67 |
+
|
68 |
+
select {
|
69 |
+
cursor: pointer;
|
70 |
+
background-color: #fff;
|
71 |
+
}
|
72 |
+
|
73 |
+
button {
|
74 |
+
background: #4CAF50;
|
75 |
+
color: white;
|
76 |
+
padding: 12px 20px;
|
77 |
+
margin-top: 20px;
|
78 |
+
border: none;
|
79 |
+
cursor: pointer;
|
80 |
+
border-radius: 6px;
|
81 |
+
font-size: 16px;
|
82 |
+
width: 100%;
|
83 |
+
transition: background 0.3s ease, transform 0.2s;
|
84 |
+
}
|
85 |
+
|
86 |
+
button:disabled {
|
87 |
+
background: #ccc;
|
88 |
+
cursor: not-allowed;
|
89 |
+
}
|
90 |
+
|
91 |
+
button:hover:not(:disabled) {
|
92 |
+
background: #388E3C;
|
93 |
+
transform: scale(1.03);
|
94 |
+
}
|
95 |
+
|
96 |
+
#number_label, #number {
|
97 |
+
display: none;
|
98 |
+
}
|
99 |
+
|
100 |
+
#charCount {
|
101 |
+
font-size: 14px;
|
102 |
+
color: #666;
|
103 |
+
margin-top: 5px;
|
104 |
+
text-align: right;
|
105 |
+
}
|
106 |
+
|
107 |
+
.result-section {
|
108 |
+
margin-top: 20px;
|
109 |
+
padding: 15px;
|
110 |
+
background-color: #f0fff0;
|
111 |
+
border-left: 5px solid #4CAF50;
|
112 |
+
border-radius: 6px;
|
113 |
+
font-size: 16px;
|
114 |
+
text-align: left;
|
115 |
+
font-weight: 500;
|
116 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
117 |
+
}
|
118 |
+
|
119 |
+
@media (max-width: 768px) {
|
120 |
+
.container {
|
121 |
+
width: 90%;
|
122 |
+
padding: 20px;
|
123 |
+
}
|
124 |
+
|
125 |
+
h1 {
|
126 |
+
font-size: 20px;
|
127 |
+
}
|
128 |
+
|
129 |
+
textarea, select, input {
|
130 |
+
font-size: 14px;
|
131 |
+
}
|
132 |
+
|
133 |
+
button {
|
134 |
+
font-size: 14px;
|
135 |
+
padding: 10px;
|
136 |
+
}
|
137 |
}
|