Create style.css
Browse files
style.css
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
|
2 |
+
|
3 |
+
body {
|
4 |
+
font-family: 'Roboto', sans-serif;
|
5 |
+
}
|
6 |
+
|
7 |
+
#root > .block {
|
8 |
+
max-width: 1000px;
|
9 |
+
margin: 0 auto;
|
10 |
+
padding: 20px;
|
11 |
+
border-radius: 8px;
|
12 |
+
}
|
13 |
+
|
14 |
+
.logo {
|
15 |
+
text-align: center;
|
16 |
+
margin-bottom: 20px;
|
17 |
+
}
|
18 |
+
|
19 |
+
.logo img {
|
20 |
+
max-width: 200px;
|
21 |
+
border-radius: 10px;
|
22 |
+
}
|
23 |
+
|
24 |
+
/* Centrer le H1 */
|
25 |
+
h1 {
|
26 |
+
text-align: center;
|
27 |
+
}
|
28 |
+
|
29 |
+
/* Arrondir légèrement les angles des éléments Gradio */
|
30 |
+
.gr-form, .gr-box, .gr-input, .gr-textarea, .gr-radio, .gr-checkbox, .gr-panel {
|
31 |
+
border-radius: 6px;
|
32 |
+
}
|
33 |
+
|
34 |
+
.gr-panel > .label {
|
35 |
+
border-top-left-radius: 6px;
|
36 |
+
border-top-right-radius: 6px;
|
37 |
+
}
|
38 |
+
|
39 |
+
button, .button-primary, .button-secondary {
|
40 |
+
border-radius: 6px;
|
41 |
+
}
|
42 |
+
|
43 |
+
/* Responsive design */
|
44 |
+
@media (max-width: 768px) {
|
45 |
+
#root > .block {
|
46 |
+
padding: 15px;
|
47 |
+
}
|
48 |
+
}
|