-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (89 loc) · 2.24 KB
/
Copy pathstyles.css
File metadata and controls
107 lines (89 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
:root {
color-scheme: dark;
--element-padding: 10px 0;
}
.light,
.dark {
--body-background-fill: var(--body-background-fill-dark);
--background-fill-primary: var(--background-fill-primary-dark);
--background-fill-secondary: var(--background-fill-secondary-dark);
--block-background-fill: var(--block-background-fill-dark);
--block-border-color: var(--block-border-color-dark);
--input-background-fill: var(--input-background-fill-dark);
--body-text-color: var(--body-text-color-dark);
--button-secondary-background-fill: var(--button-secondary-background-fill-dark);
--button-secondary-background-fill-hover: var(--button-secondary-background-fill-hover-dark);
--button-secondary-border-color: var(--button-secondary-border-color_dark);
--button-secondary-text-color: var(--button-secondary-text-color-dark);
}
.gradio-container {
width: min(50vw, 1000px);
min-width: 350px;
margin: auto;
padding: 10px 0 0 0 !important;
}
.gallery-item {
background: #1e293b !important;
color: #ffffff !important;
border-color: #334155 !important;
}
.gallery-item:hover {
background: #334155 !important;
color: #ffffff !important;
}
#clear-button {
background-color: #334155 !important;
color: #ffffff !important;
border: 1px solid #475569 !important;
}
#clear-button:hover {
background-color: #475569 !important;
}
#clear-button:active {
background-color: #1e293b !important;
}
h1 {
text-align: center;
margin-top: 5px;
}
#intro {
text-align: center;
padding: var(--element-padding);
}
#explanation {
padding: var(--element-padding);
}
#answer {
min-height: 220px;
}
#logo-container {
padding: 0 !important;
margin: 0 !important;
height: 100px;
}
#logo-container .logo {
display: block;
width: 100px;
height: 100px;
object-fit: contain;
margin: 0 auto;
}
button {
font-size: 16px !important;
}
footer {
display: none !important;
}
@media (max-width: 768px) {
.gradio-container {
width: 100% !important;
min-width: 0 !important;
padding: 5px 5px 0 5px !important;
}
#logo-container {
margin-top: -20px !important;
}
#logo-container .logo {
width: 90px;
}
}