chabane commited on
Commit
2cb2e14
·
1 Parent(s): 74ace95

modify the styles

Browse files
static/styles/features.css CHANGED
@@ -21,6 +21,7 @@ a {
21
 
22
  html {
23
  scroll-behavior: smooth;
 
24
  }
25
 
26
  body {
@@ -48,13 +49,13 @@ header .container a {
48
  font-family: "Romanesco", system-ui, -apple-system, BlinkMacSystemFont,
49
  "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
50
  sans-serif;
51
- font-size: 50px;
52
  color: var(--secondary);
53
  cursor: pointer;
54
  }
55
 
56
  .hero {
57
- height: 77vh;
58
  position: relative;
59
  background-color: var(--primary);
60
  display: flex;
@@ -65,7 +66,9 @@ header .container a {
65
 
66
  .hero img {
67
  position: absolute;
68
- width: 122%;
 
 
69
  top: 42%;
70
  opacity: 0.4;
71
  }
@@ -78,21 +81,21 @@ header .container a {
78
  }
79
 
80
  .hero .hero-content h1 {
81
- font-size: 40px;
82
  font-weight: 900;
83
  letter-spacing: 2px;
84
  margin-bottom: 20px;
85
  }
86
 
87
  .hero .hero-content h3 {
88
- font-size: 30px;
89
  font-weight: 200;
90
  letter-spacing: 4px;
91
  margin-bottom: 20px;
92
  }
93
 
94
  .hero .hero-content p {
95
- font-size: 17px;
96
  font-weight: 200;
97
  letter-spacing: 4px;
98
  margin-bottom: 20px;
@@ -160,6 +163,7 @@ header .container a {
160
  flex-wrap: wrap;
161
  gap: 30px;
162
  margin-bottom: 50px;
 
163
  }
164
 
165
  .steps-content .steps-wrapper .step {
@@ -167,7 +171,8 @@ header .container a {
167
  color: var(--secondary);
168
  gap: 10px;
169
  padding: 20px;
170
- width: 320px;
 
171
  height: 150px;
172
  border-radius: 5px;
173
  background-color: var(--primary);
@@ -388,9 +393,10 @@ header .container a {
388
  .upload .upload-content .wrapper .prompt-wrapper {
389
  display: flex;
390
  align-items: center;
391
- width: 60%;
392
- max-height: 900px;
393
- min-width: 300px;
 
394
  height: 40px;
395
  margin: 0 auto;
396
  border: 1px solid var(--primary);
@@ -426,7 +432,7 @@ header .container a {
426
  }
427
 
428
  .result {
429
- display: none;
430
  padding: 20px 0;
431
  }
432
 
@@ -505,4 +511,43 @@ footer {
505
  font-size: 30px;
506
  color: var(--secondary);
507
  background-color: var(--primary);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
  }
 
21
 
22
  html {
23
  scroll-behavior: smooth;
24
+ font-size: 20px;
25
  }
26
 
27
  body {
 
49
  font-family: "Romanesco", system-ui, -apple-system, BlinkMacSystemFont,
50
  "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
51
  sans-serif;
52
+ font-size: 2.5rem;
53
  color: var(--secondary);
54
  cursor: pointer;
55
  }
56
 
57
  .hero {
58
+ min-height: 77vh;
59
  position: relative;
60
  background-color: var(--primary);
61
  display: flex;
 
66
 
67
  .hero img {
68
  position: absolute;
69
+
70
+ left: -100px;
71
+ width: 100%;
72
  top: 42%;
73
  opacity: 0.4;
74
  }
 
81
  }
82
 
83
  .hero .hero-content h1 {
84
+ font-size: 2rem;
85
  font-weight: 900;
86
  letter-spacing: 2px;
87
  margin-bottom: 20px;
88
  }
89
 
90
  .hero .hero-content h3 {
91
+ font-size: 1.5rem;
92
  font-weight: 200;
93
  letter-spacing: 4px;
94
  margin-bottom: 20px;
95
  }
96
 
97
  .hero .hero-content p {
98
+ font-size: 0.85rem;
99
  font-weight: 200;
100
  letter-spacing: 4px;
101
  margin-bottom: 20px;
 
163
  flex-wrap: wrap;
164
  gap: 30px;
165
  margin-bottom: 50px;
166
+ padding: 0 10px;
167
  }
168
 
169
  .steps-content .steps-wrapper .step {
 
171
  color: var(--secondary);
172
  gap: 10px;
173
  padding: 20px;
174
+
175
+ width: 270px;
176
  height: 150px;
177
  border-radius: 5px;
178
  background-color: var(--primary);
 
393
  .upload .upload-content .wrapper .prompt-wrapper {
394
  display: flex;
395
  align-items: center;
396
+ width: 90%;
397
+
398
+ max-width: 900px;
399
+ min-width: 270px;
400
  height: 40px;
401
  margin: 0 auto;
402
  border: 1px solid var(--primary);
 
432
  }
433
 
434
  .result {
435
+
436
  padding: 20px 0;
437
  }
438
 
 
511
  font-size: 30px;
512
  color: var(--secondary);
513
  background-color: var(--primary);
514
+ }
515
+
516
+
517
+ @media (max-width:576px) {
518
+ html {
519
+ font-size: 13px;
520
+ }
521
+
522
+
523
+
524
+ .raison {
525
+ padding: 5px;
526
+ }
527
+
528
+ .title {
529
+ font-size: 25px;
530
+ }
531
+
532
+
533
+ .upload .upload-content .wrapper .prompt-wrapper button {
534
+ padding: 0 5px;
535
+ font-size: 10px;
536
+ font-weight: 400;
537
+ }
538
+ }
539
+
540
+ @media (max-width:768px) and (min-width:576px) {
541
+ html {
542
+ font-size: 16px;
543
+ }
544
+
545
+
546
+ .title {
547
+ font-size: 27px;
548
+ }
549
+
550
+ .raison {
551
+ padding: 10px;
552
+ }
553
  }
static/styles/index.css CHANGED
@@ -20,6 +20,7 @@ a {
20
 
21
  html {
22
  scroll-behavior: smooth;
 
23
  }
24
 
25
  body {
@@ -39,7 +40,7 @@ header div {
39
 
40
  header div a {
41
  font-family: "Romanesco";
42
- font-size: 50px;
43
  color: var(--secondary);
44
  cursor: pointer;
45
  }
@@ -69,7 +70,7 @@ header div a {
69
  }
70
 
71
  .hero .hero-content h3 {
72
- font-size: 17px;
73
  font-weight: 200;
74
  letter-spacing: 3px;
75
  margin-bottom: 20px;
@@ -77,7 +78,7 @@ header div a {
77
 
78
  .hero .hero-content h1 {
79
  font-family: "Roboto";
80
- font-size: 40px;
81
  font-weight: bolder;
82
  }
83
 
@@ -155,13 +156,12 @@ header div a {
155
  text-transform: capitalize;
156
  margin-bottom: 70px;
157
  font-weight: 500;
158
- font-size: 15px;
159
  }
160
 
161
  .features {
162
  position: relative;
163
  overflow: hidden;
164
- min-height: 78vh;
165
  margin-bottom: 50px;
166
  }
167
 
@@ -191,7 +191,7 @@ header div a {
191
  color: var(--secondary);
192
  text-align: center;
193
  width: 100%;
194
- max-width: 400px;
195
  padding: 20px 10px 0;
196
  border-radius: 8px;
197
  height: 300px;
@@ -211,6 +211,10 @@ header div a {
211
 
212
  .feature h2 {
213
  font-size: 25px;
 
 
 
 
214
  }
215
 
216
  .feature p {
@@ -218,11 +222,12 @@ header div a {
218
  font-weight: 100;
219
  margin-top: 20px;
220
  width: 100%;
 
221
  }
222
 
223
  .btn-wrapper {
224
  width: 100%;
225
- flex: 1;
226
  padding-bottom: 30px;
227
  display: flex;
228
  align-items: flex-end;
@@ -254,4 +259,30 @@ footer {
254
  font-size: 30px;
255
  color: var(--secondary);
256
  background-color: var(--primary);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  }
 
20
 
21
  html {
22
  scroll-behavior: smooth;
23
+ font-size: 20px;
24
  }
25
 
26
  body {
 
40
 
41
  header div a {
42
  font-family: "Romanesco";
43
+ font-size: 2.5rem;
44
  color: var(--secondary);
45
  cursor: pointer;
46
  }
 
70
  }
71
 
72
  .hero .hero-content h3 {
73
+ font-size: 0.85rem;
74
  font-weight: 200;
75
  letter-spacing: 3px;
76
  margin-bottom: 20px;
 
78
 
79
  .hero .hero-content h1 {
80
  font-family: "Roboto";
81
+ font-size: 2rem;
82
  font-weight: bolder;
83
  }
84
 
 
156
  text-transform: capitalize;
157
  margin-bottom: 70px;
158
  font-weight: 500;
159
+ font-size: 1rem;
160
  }
161
 
162
  .features {
163
  position: relative;
164
  overflow: hidden;
 
165
  margin-bottom: 50px;
166
  }
167
 
 
191
  color: var(--secondary);
192
  text-align: center;
193
  width: 100%;
194
+ max-width: 300px;
195
  padding: 20px 10px 0;
196
  border-radius: 8px;
197
  height: 300px;
 
211
 
212
  .feature h2 {
213
  font-size: 25px;
214
+ flex: 1;
215
+ display: flex;
216
+ justify-content: center;
217
+ align-items: center;
218
  }
219
 
220
  .feature p {
 
222
  font-weight: 100;
223
  margin-top: 20px;
224
  width: 100%;
225
+ margin-bottom: 20px;
226
  }
227
 
228
  .btn-wrapper {
229
  width: 100%;
230
+
231
  padding-bottom: 30px;
232
  display: flex;
233
  align-items: flex-end;
 
259
  font-size: 30px;
260
  color: var(--secondary);
261
  background-color: var(--primary);
262
+ }
263
+
264
+ @media (max-width:576px) {
265
+ html {
266
+ font-size: 13px;
267
+ }
268
+
269
+
270
+
271
+ .hero .hero-content .buttons a {
272
+ padding: 5px 10px;
273
+ }
274
+
275
+
276
+ }
277
+
278
+ @media (max-width:768px) and (min-width:576px) {
279
+ html {
280
+ font-size: 16px;
281
+ }
282
+
283
+
284
+ .hero .hero-content .buttons a {
285
+ padding: 5px 10px;
286
+ }
287
+
288
  }
templates/DataVisualisation.html CHANGED
@@ -112,4 +112,5 @@
112
 
113
  </body>
114
 
 
115
  </html>
 
112
 
113
  </body>
114
 
115
+
116
  </html>