chenguittiMaroua commited on
Commit
652d5a7
·
verified ·
1 Parent(s): 448a1ba

Update static/test.css

Browse files
Files changed (1) hide show
  1. static/test.css +105 -203
static/test.css CHANGED
@@ -1,214 +1,116 @@
1
- :root {
2
- --primary-color: #007bff; /* Blue */
3
- --secondary-color: #6c757d; /* Dark Gray */
4
- --accent-color: #28a745; /* Green */
5
- --light-color: #fefefe; /* Off-white */
6
- --dark-color: #212529; /* Dark Text */
7
- --success-color: #17a2b8; /* Teal */
8
- --error-color: #dc3545; /* Red */
9
- --font-family: 'Roboto', sans-serif;
10
- --transition-speed: 0.3s;
11
- --border-radius: 10px;
12
- }
13
-
14
- * {
15
- margin: 0;
16
- padding: 0;
17
- box-sizing: border-box;
18
- }
19
-
20
  body {
21
- font-family: var(--font-family);
22
- line-height: 1.6;
23
- background-color: #e9ecef;
24
- color: #333;
25
- padding: 20px;
26
- }
27
-
28
- .container {
29
- max-width: 1200px;
30
- margin: 0 auto;
31
- background: white;
32
- padding: 30px;
33
- border-radius: var(--border-radius);
34
- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
35
- }
36
-
37
- header {
38
  text-align: center;
39
- margin-bottom: 30px;
40
- }
41
-
42
- header h1 {
43
- color: var(--primary-color);
44
- margin-bottom: 10px;
 
45
  font-size: 2.5rem;
46
- font-weight: 600;
47
- }
48
-
49
- header p {
50
- color: var(--secondary-color);
51
- font-size: 1.2rem;
52
- margin-bottom: 20px;
53
- }
54
-
55
- .tabs {
56
  display: flex;
57
- justify-content: space-around;
58
- margin-bottom: 30px;
59
- border-bottom: 2px solid #ddd;
60
- }
61
-
62
- .tab-btn {
63
- padding: 12px 20px;
64
- background: none;
65
- border: none;
66
- cursor: pointer;
67
- font-size: 18px;
68
- color: var(--secondary-color);
69
- transition: all var(--transition-speed);
70
- border-bottom: 3px solid transparent;
71
- }
72
-
73
- .tab-btn:hover, .tab-btn.active {
74
- color: var(--primary-color);
75
- font-weight: 500;
76
- border-bottom: 3px solid var(--accent-color);
77
- }
78
-
79
- .tab-content {
80
- display: none;
81
- padding: 20px 0;
82
- }
83
-
84
- .tab-content.active {
85
- display: block;
86
- }
87
-
88
- .upload-area {
89
- margin-bottom: 25px;
90
- padding: 30px;
91
- border: 2px dashed #ddd;
92
- border-radius: var(--border-radius);
93
  text-align: center;
94
- transition: all var(--transition-speed);
95
- background: #f9fafb;
96
- }
97
-
98
- .upload-area:hover {
99
- border-color: var(--primary-color);
100
- }
101
-
102
- .upload-area input[type="file"] {
103
- display: none;
104
- }
105
-
106
- .upload-area label {
107
- display: inline-block;
108
- padding: 12px 20px;
109
- background-color: var(--light-color);
110
- color: var(--dark-color);
111
- border-radius: var(--border-radius);
112
  cursor: pointer;
113
- font-size: 1.1rem;
114
- transition: all var(--transition-speed);
115
- }
116
-
117
- .upload-area label:hover {
118
- background-color: #e9ecef;
119
- }
120
-
121
- textarea {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  width: 100%;
123
- padding: 12px;
124
- border: 1px solid #ddd;
125
- border-radius: var(--border-radius);
126
- resize: vertical;
127
- min-height: 120px;
128
- margin-bottom: 15px;
129
  font-size: 1rem;
130
- font-family: inherit;
131
- transition: all var(--transition-speed);
132
- }
133
-
134
- textarea:focus {
135
- border-color: var(--primary-color);
136
- outline: none;
137
- }
138
-
139
- .language-select {
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- gap: 15px;
144
- margin-bottom: 15px;
145
- }
146
-
147
- .language-select select {
148
- padding: 10px;
149
- border-radius: var(--border-radius);
150
- border: 1px solid #ddd;
151
  font-size: 1rem;
152
- transition: all var(--transition-speed);
153
- }
154
-
155
- .language-select select:focus {
156
- border-color: var(--primary-color);
157
- outline: none;
158
- }
159
-
160
- button {
161
- background-color: var(--primary-color);
162
- color: white;
163
  border: none;
164
- padding: 12px 24px;
165
- border-radius: var(--border-radius);
 
166
  cursor: pointer;
167
- font-size: 1.1rem;
168
- transition: all var(--transition-speed);
169
- }
170
-
171
- button:hover {
172
- background-color: var(--success-color);
173
- }
174
-
175
- .result-area {
176
- padding: 25px;
177
- border-radius: var(--border-radius);
178
- background-color: var(--light-color);
179
- margin-top: 25px;
180
- min-height: 120px;
181
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
182
- }
183
-
184
- .loading {
185
- display: inline-block;
186
- width: 24px;
187
- height: 24px;
188
- border: 3px solid rgba(255, 255, 255, .3);
189
- border-radius: 50%;
190
- border-top-color: white;
191
- animation: spin 1s ease-in-out infinite;
192
- margin-right: 10px;
193
- }
194
-
195
- @keyframes spin {
196
- to {
197
- transform: rotate(360deg);
198
- }
199
- }
200
-
201
- @media (max-width: 768px) {
202
- .container {
203
- padding: 15px;
204
- }
205
-
206
- .tabs {
207
- flex-direction: column;
208
- }
209
-
210
- .tab-btn {
211
- width: 100%;
212
- margin-bottom: 10px;
213
- }
214
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
+ font-family: 'Inter', sans-serif;
3
+ margin: 0;
4
+ background: #0f172a;
5
+ color: #f1f5f9;
6
+ overflow-x: hidden;
7
+ }
8
+
9
+ header {
 
 
 
 
 
 
 
 
 
10
  text-align: center;
11
+ padding: 4rem 2rem 2rem;
12
+ background: linear-gradient(to right, #3b82f6, #9333ea);
13
+ color: white;
14
+ animation: fadeIn 1s ease-in-out;
15
+ }
16
+
17
+ h1 {
18
  font-size: 2.5rem;
19
+ margin-bottom: 0.5rem;
20
+ }
21
+
22
+ main {
23
+ padding: 2rem;
 
 
 
 
 
24
  display: flex;
25
+ flex-direction: column;
26
+ align-items: center;
27
+ }
28
+
29
+ .cards {
30
+ display: flex;
31
+ flex-wrap: wrap;
32
+ justify-content: center;
33
+ gap: 2rem;
34
+ margin-bottom: 3rem;
35
+ animation: fadeInUp 1s ease-in-out;
36
+ }
37
+
38
+ .card {
39
+ background: #1e293b;
40
+ padding: 2rem;
41
+ border-radius: 1.5rem;
42
+ width: 280px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  text-align: center;
44
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
45
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  cursor: pointer;
47
+ }
48
+
49
+ .card:hover {
50
+ transform: translateY(-10px);
51
+ box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
52
+ }
53
+
54
+ .icon {
55
+ font-size: 2.5rem;
56
+ margin-bottom: 1rem;
57
+ }
58
+
59
+ .tool-section {
60
+ display: none;
61
+ width: 100%;
62
+ max-width: 600px;
63
+ background: #1e293b;
64
+ padding: 2rem;
65
+ border-radius: 1rem;
66
+ box-shadow: 0 10px 20px rgba(0,0,0,0.2);
67
+ margin-bottom: 2rem;
68
+ animation: fadeIn 0.5s ease-in-out;
69
+ }
70
+
71
+ textarea,
72
+ input[type="file"] {
73
  width: 100%;
74
+ margin-top: 1rem;
75
+ padding: 0.75rem;
76
+ border: none;
77
+ border-radius: 0.5rem;
78
+ background: #334155;
79
+ color: #f1f5f9;
80
  font-size: 1rem;
81
+ }
82
+
83
+ button {
84
+ margin-top: 1rem;
85
+ padding: 0.75rem 2rem;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  font-size: 1rem;
 
 
 
 
 
 
 
 
 
 
 
87
  border: none;
88
+ border-radius: 0.5rem;
89
+ background: #3b82f6;
90
+ color: white;
91
  cursor: pointer;
92
+ transition: background 0.3s ease;
93
+ }
94
+
95
+ button:hover {
96
+ background: #2563eb;
97
+ }
98
+
99
+ footer {
100
+ text-align: center;
101
+ padding: 2rem;
102
+ color: #cbd5e1;
103
+ font-size: 0.875rem;
104
+ border-top: 1px solid #334155;
105
+ }
106
+
107
+ @keyframes fadeIn {
108
+ from { opacity: 0; transform: translateY(-10px); }
109
+ to { opacity: 1; transform: translateY(0); }
110
+ }
111
+
112
+ @keyframes fadeInUp {
113
+ from { opacity: 0; transform: translateY(20px); }
114
+ to { opacity: 1; transform: translateY(0); }
115
+ }
116
+