Spaces:
Running
Running
Update app.css
Browse files
app.css
CHANGED
@@ -6,32 +6,109 @@ body {
|
|
6 |
|
7 |
.gradio-container {
|
8 |
font-family: Arial, sans-serif;
|
|
|
|
|
9 |
}
|
10 |
|
11 |
.gr-button {
|
12 |
background-color: #4CAF50;
|
13 |
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
15 |
|
16 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
background-color: #4CAF50;
|
18 |
color: white;
|
19 |
}
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
text-align: left;
|
24 |
}
|
25 |
|
26 |
-
|
27 |
-
background-color: #
|
28 |
}
|
29 |
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
|
34 |
/* Highlight dead links */
|
35 |
-
.dead-link {
|
36 |
background-color: #ffcccc !important;
|
37 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
.gradio-container {
|
8 |
font-family: Arial, sans-serif;
|
9 |
+
margin: 0 auto;
|
10 |
+
padding: 20px;
|
11 |
}
|
12 |
|
13 |
.gr-button {
|
14 |
background-color: #4CAF50;
|
15 |
color: white;
|
16 |
+
font-weight: bold;
|
17 |
+
cursor: pointer;
|
18 |
+
border: none;
|
19 |
+
padding: 10px 20px;
|
20 |
+
margin: 5px;
|
21 |
+
border-radius: 5px;
|
22 |
}
|
23 |
|
24 |
+
.gr-button:hover {
|
25 |
+
background-color: #45a049;
|
26 |
+
}
|
27 |
+
|
28 |
+
h1 {
|
29 |
+
color: #333;
|
30 |
+
text-align: center;
|
31 |
+
}
|
32 |
+
|
33 |
+
table {
|
34 |
+
width: 100%;
|
35 |
+
border-collapse: collapse;
|
36 |
+
margin-top: 20px;
|
37 |
+
}
|
38 |
+
|
39 |
+
table th, table td {
|
40 |
+
padding: 12px;
|
41 |
+
border: 1px solid #ddd;
|
42 |
+
text-align: left;
|
43 |
+
vertical-align: top;
|
44 |
+
}
|
45 |
+
|
46 |
+
table th {
|
47 |
background-color: #4CAF50;
|
48 |
color: white;
|
49 |
}
|
50 |
|
51 |
+
table tr:nth-child(even) {
|
52 |
+
background-color: #f9f9f9;
|
|
|
53 |
}
|
54 |
|
55 |
+
table tr:hover {
|
56 |
+
background-color: #f1f1f1;
|
57 |
}
|
58 |
|
59 |
+
a {
|
60 |
+
color: #0066cc;
|
61 |
+
text-decoration: none;
|
62 |
+
}
|
63 |
+
|
64 |
+
a:hover {
|
65 |
+
text-decoration: underline;
|
66 |
}
|
67 |
|
68 |
/* Highlight dead links */
|
69 |
+
tr.dead-link {
|
70 |
background-color: #ffcccc !important;
|
71 |
}
|
72 |
+
|
73 |
+
/* Responsive table */
|
74 |
+
@media screen and (max-width: 768px) {
|
75 |
+
table, thead, tbody, th, td, tr {
|
76 |
+
display: block;
|
77 |
+
}
|
78 |
+
|
79 |
+
table {
|
80 |
+
border: none;
|
81 |
+
}
|
82 |
+
|
83 |
+
table tr {
|
84 |
+
margin-bottom: 15px;
|
85 |
+
}
|
86 |
+
|
87 |
+
table th {
|
88 |
+
background-color: transparent;
|
89 |
+
color: #333;
|
90 |
+
text-align: left;
|
91 |
+
font-size: 14px;
|
92 |
+
padding: 8px 0;
|
93 |
+
}
|
94 |
+
|
95 |
+
table td {
|
96 |
+
padding: 8px 0;
|
97 |
+
text-align: left;
|
98 |
+
position: relative;
|
99 |
+
}
|
100 |
+
|
101 |
+
table td::before {
|
102 |
+
content: attr(data-label);
|
103 |
+
position: absolute;
|
104 |
+
left: 0;
|
105 |
+
width: 40%;
|
106 |
+
padding-left: 15px;
|
107 |
+
font-weight: bold;
|
108 |
+
text-align: left;
|
109 |
+
}
|
110 |
+
|
111 |
+
table td:last-child {
|
112 |
+
border-bottom: 1px solid #ddd;
|
113 |
+
}
|
114 |
+
}
|