Sebastiankay commited on
Commit
aecebf6
·
verified ·
1 Parent(s): abc533e

Update _res/_custom.css

Browse files
Files changed (1) hide show
  1. _res/_custom.css +273 -275
_res/_custom.css CHANGED
@@ -1,275 +1,273 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@400..800&display=swap");
2
-
3
- @font-face {
4
- font-family: "Geist Mono";
5
- src: url("file=_res/assets/webfonts/GeistMono-Thin.woff2") format("woff2");
6
- font-weight: 100;
7
- font-style: normal;
8
- }
9
- @font-face {
10
- font-family: "Geist Mono";
11
- src: url("file=_res/assets/webfonts/GeistMono-Light.woff2") format("woff2");
12
- font-weight: 300;
13
- font-style: normal;
14
- }
15
- @font-face {
16
- font-family: "Geist Mono";
17
- src: url("file=_res/assets/webfonts/GeistMono-Regular.woff2") format("woff2");
18
- font-weight: 400;
19
- font-style: normal;
20
- }
21
- @font-face {
22
- font-family: "Geist Mono";
23
- src: url("file=_res/assets/webfonts/GeistMono-SemiBold.woff2") format("woff2");
24
- font-weight: 600;
25
- font-style: normal;
26
- }
27
- @font-face {
28
- font-family: "Geist Mono";
29
- src: url("file=_res/assets/webfonts/GeistMono-Bold.woff2") format("woff2");
30
- font-weight: 700;
31
- font-style: normal;
32
- }
33
-
34
- @font-face {
35
- font-family: "Qartella-Light";
36
- src: url("file=_res/assets/webfonts/Qartella-Light.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Light.woff") format("woff");
37
- font-weight: normal;
38
- font-style: light;
39
- }
40
-
41
- @font-face {
42
- font-family: "Qartella-Bold";
43
- src: url("file=_res/assets/webfonts/Qartella-Bold.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Bold.woff") format("woff");
44
- font-weight: normal;
45
- font-style: bold;
46
- }
47
-
48
- ::-webkit-scrollbar {
49
- width: 0px;
50
- }
51
-
52
- body {
53
- background: var(--background-fill-primary);
54
- background: linear-gradient(180deg, var(--primary-800) 355px, var(--background-fill-primary) 355px);
55
- }
56
-
57
- .gradio-container-5-29-0 {
58
- padding-top: 30px !important;
59
- transition: opacity 0.4s linear;
60
- position: relative;
61
- font-family: "Geist Mono", sans-serif !important;
62
- font-weight: 400;
63
- }
64
-
65
- .md-header-wrapper,
66
- .md-header > span > div {
67
- width: 100%;
68
- height: 200px;
69
- display: flex;
70
- flex-direction: column;
71
- justify-content: flex-end;
72
- position: relative;
73
- background-image: url("gradio_api/file=_res/assets/Schaafe.png");
74
- background-position: 70% bottom;
75
- background-repeat: no-repeat;
76
- padding: 0 10px;
77
-
78
- h1 {
79
- --sc: rgb(2, 44, 32);
80
- font-family: "Baloo Tamma 2", system-ui;
81
- font-optical-sizing: auto;
82
- font-weight: 600;
83
- font-style: normal;
84
- font-size: 3.8rem;
85
- padding: 8px;
86
- text-shadow: 2px 2px 2px var(--sc), -2px 2px 2px var(--sc), -2px -2px 0 var(--sc), 2px -2px 0 var(--sc);
87
- display: flex;
88
- flex-direction: column;
89
- text-align: right;
90
- margin-right: 45%;
91
- position: absolute;
92
- right: 0;
93
- bottom: 0;
94
-
95
- & span {
96
- font-weight: 400;
97
- font-size: 2rem;
98
- margin-top: -20px;
99
- text-transform: uppercase;
100
- }
101
- }
102
-
103
- p {
104
- margin-top: var(--spacing-xs);
105
-
106
- #wink,
107
- #heart {
108
- display: inline;
109
- width: 26px;
110
- margin-bottom: 8px;
111
- }
112
-
113
- #wink {
114
- animation: wink 3s ease-in-out infinite;
115
- }
116
-
117
- #heart {
118
- animation: beat 2s ease-in-out infinite;
119
- }
120
- }
121
- }
122
-
123
- .row-main {
124
- padding: 16px;
125
- background-color: var(--neutral-900) !important;
126
- border-right-width: 0px !important;
127
- border-bottom-width: 0px !important;
128
- border-left-width: 0px !important;
129
- border-top: 8px solid var(--primary-600) !important;
130
- border-radius: var(--container-radius) !important;
131
- }
132
-
133
- .primary.svelte-1ixn6qd,
134
- span.svelte-g2oxp3,
135
- .wrap.svelte-12ioyct,
136
- label.svelte-1to105q.svelte-1to105q,
137
- label.selected.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav,
138
- label.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav:hover,
139
- .md-header > span > div p {
140
- color: var(--text-color-by-luminance, #fff);
141
- transition: color 0.4s ease-in-out;
142
- }
143
-
144
- label.svelte-1bx8sav > .svelte-1bx8sav + .svelte-1bx8sav {
145
- margin-left: 0;
146
- }
147
-
148
- .app.svelte-1y320eu.svelte-1y320eu {
149
- position: relative;
150
- margin: auto;
151
- padding: var(--size-4) var(--size-8);
152
- width: 100%;
153
- height: 100%;
154
- }
155
-
156
- @media (min-width: 640px) {
157
- .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
158
- max-width: 640px;
159
- }
160
- }
161
-
162
- @media (min-width: 768px) {
163
- .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
164
- max-width: 768px;
165
- }
166
- }
167
-
168
- @media (min-width: 1024px) {
169
- .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
170
- max-width: 1024px;
171
- }
172
- }
173
-
174
- @media (min-width: 1280px) {
175
- .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
176
- max-width: 1280px;
177
- }
178
- }
179
-
180
- @media (min-width: 1536px) {
181
- .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
182
- max-width: 1536px;
183
- }
184
- }
185
-
186
- @media (min-width: 1920px) {
187
- .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
188
- max-width: 1536px !important;
189
- }
190
- }
191
-
192
- .info.svelte-1y320eu.svelte-1y320eu {
193
- display: flex;
194
- position: absolute;
195
- bottom: 0;
196
- justify-content: flex-start;
197
- border-top: 1px solid var(--button-secondary-border-color);
198
- padding: var(--size-1) var(--size-5);
199
- width: 100%;
200
- color: var(--body-text-color-subdued);
201
- font-size: var(--text-md);
202
- white-space: nowrap;
203
- }
204
-
205
- .app.svelte-1y320eu.svelte-1y320eu {
206
- max-width: 1536px !important;
207
- position: relative;
208
- margin: auto;
209
- padding: var(--size-4) var(--size-8);
210
- width: 100%;
211
- height: 100%;
212
- }
213
-
214
- .input-image,
215
- .output-slider {
216
- height: 800px;
217
- }
218
-
219
- .hidethis,
220
- input.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav {
221
- display: none;
222
- }
223
-
224
- /* Keyframes */
225
-
226
- @keyframes wink {
227
- 0%,
228
- 60%,
229
- 100% {
230
- transform: rotate(0deg);
231
- }
232
- 10%,
233
- 30%,
234
- 70%,
235
- 90% {
236
- transform: rotate(14deg);
237
- }
238
- 20%,
239
- 80% {
240
- transform: rotate(-8deg);
241
- }
242
- 40% {
243
- transform: rotate(-4deg);
244
- }
245
- 50% {
246
- transform: rotate(10deg);
247
- }
248
- }
249
-
250
- @keyframes beat {
251
- 0% {
252
- transform: scale(1);
253
- }
254
- 5% {
255
- transform: scale(0.75);
256
- }
257
- 20% {
258
- transform: scale(1);
259
- }
260
- 30% {
261
- transform: scale(1);
262
- }
263
- 35% {
264
- transform: scale(0.75);
265
- }
266
- 50% {
267
- transform: scale(1);
268
- }
269
- 55% {
270
- transform: scale(0.75);
271
- }
272
- 70% {
273
- transform: scale(1);
274
- }
275
- }
 
1
+ @import url("https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@400..800&display=swap");
2
+
3
+ @font-face {
4
+ font-family: "Geist Mono";
5
+ src: url("file=_res/assets/webfonts/GeistMono-Thin.woff2") format("woff2");
6
+ font-weight: 100;
7
+ font-style: normal;
8
+ }
9
+ @font-face {
10
+ font-family: "Geist Mono";
11
+ src: url("file=_res/assets/webfonts/GeistMono-Light.woff2") format("woff2");
12
+ font-weight: 300;
13
+ font-style: normal;
14
+ }
15
+ @font-face {
16
+ font-family: "Geist Mono";
17
+ src: url("file=_res/assets/webfonts/GeistMono-Regular.woff2") format("woff2");
18
+ font-weight: 400;
19
+ font-style: normal;
20
+ }
21
+ @font-face {
22
+ font-family: "Geist Mono";
23
+ src: url("file=_res/assets/webfonts/GeistMono-SemiBold.woff2") format("woff2");
24
+ font-weight: 600;
25
+ font-style: normal;
26
+ }
27
+ @font-face {
28
+ font-family: "Geist Mono";
29
+ src: url("file=_res/assets/webfonts/GeistMono-Bold.woff2") format("woff2");
30
+ font-weight: 700;
31
+ font-style: normal;
32
+ }
33
+
34
+ @font-face {
35
+ font-family: "Qartella-Light";
36
+ src: url("file=_res/assets/webfonts/Qartella-Light.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Light.woff") format("woff");
37
+ font-weight: normal;
38
+ font-style: light;
39
+ }
40
+
41
+ @font-face {
42
+ font-family: "Qartella-Bold";
43
+ src: url("file=_res/assets/webfonts/Qartella-Bold.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Bold.woff") format("woff");
44
+ font-weight: normal;
45
+ font-style: bold;
46
+ }
47
+
48
+ ::-webkit-scrollbar {
49
+ width: 0px;
50
+ }
51
+
52
+ body {
53
+ background: var(--background-fill-primary);
54
+ background: linear-gradient(180deg, var(--primary-800) 355px, var(--background-fill-primary) 355px);
55
+ }
56
+
57
+ .gradio-container-5-29-0 {
58
+ padding-top: 30px !important;
59
+ transition: opacity 0.4s linear;
60
+ position: relative;
61
+ font-family: "Geist Mono", sans-serif !important;
62
+ font-weight: 400;
63
+ }
64
+
65
+ .md-header-wrapper,
66
+ .md-header > span > div {
67
+ width: 100%;
68
+ height: 200px;
69
+ display: flex;
70
+ flex-direction: column;
71
+ justify-content: flex-end;
72
+ position: relative;
73
+ background-position: 70% bottom;
74
+ background-repeat: no-repeat;
75
+ padding: 0 10px;
76
+
77
+ h1 {
78
+ --sc: rgb(2, 44, 32);
79
+ font-optical-sizing: auto;
80
+ font-weight: 600;
81
+ font-style: normal;
82
+ font-size: 3rem;
83
+ padding: 8px;
84
+ text-shadow: 2px 2px 2px var(--sc), -2px 2px 2px var(--sc), -2px -2px 0 var(--sc), 2px -2px 0 var(--sc);
85
+ display: flex;
86
+ flex-direction: column;
87
+ text-align: right;
88
+ margin-right: 45%;
89
+ position: absolute;
90
+ right: 0;
91
+ bottom: 0;
92
+
93
+ & span {
94
+ font-weight: 400;
95
+ font-size: 2rem;
96
+ margin-top: -20px;
97
+ text-transform: uppercase;
98
+ }
99
+ }
100
+
101
+ p {
102
+ margin-top: var(--spacing-xs);
103
+
104
+ #wink,
105
+ #heart {
106
+ display: inline;
107
+ width: 26px;
108
+ margin-bottom: 8px;
109
+ }
110
+
111
+ #wink {
112
+ animation: wink 3s ease-in-out infinite;
113
+ }
114
+
115
+ #heart {
116
+ animation: beat 2s ease-in-out infinite;
117
+ }
118
+ }
119
+ }
120
+
121
+ .row-main {
122
+ padding: 16px;
123
+ background-color: var(--neutral-900) !important;
124
+ border-right-width: 0px !important;
125
+ border-bottom-width: 0px !important;
126
+ border-left-width: 0px !important;
127
+ border-top: 8px solid var(--primary-600) !important;
128
+ border-radius: var(--container-radius) !important;
129
+ }
130
+
131
+ .primary.svelte-1ixn6qd,
132
+ span.svelte-g2oxp3,
133
+ .wrap.svelte-12ioyct,
134
+ label.svelte-1to105q.svelte-1to105q,
135
+ label.selected.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav,
136
+ label.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav:hover,
137
+ .md-header > span > div p {
138
+ color: var(--text-color-by-luminance, #fff);
139
+ transition: color 0.4s ease-in-out;
140
+ }
141
+
142
+ label.svelte-1bx8sav > .svelte-1bx8sav + .svelte-1bx8sav {
143
+ margin-left: 0;
144
+ }
145
+
146
+ .app.svelte-1y320eu.svelte-1y320eu {
147
+ position: relative;
148
+ margin: auto;
149
+ padding: var(--size-4) var(--size-8);
150
+ width: 100%;
151
+ height: 100%;
152
+ }
153
+
154
+ @media (min-width: 640px) {
155
+ .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
156
+ max-width: 640px;
157
+ }
158
+ }
159
+
160
+ @media (min-width: 768px) {
161
+ .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
162
+ max-width: 768px;
163
+ }
164
+ }
165
+
166
+ @media (min-width: 1024px) {
167
+ .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
168
+ max-width: 1024px;
169
+ }
170
+ }
171
+
172
+ @media (min-width: 1280px) {
173
+ .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
174
+ max-width: 1280px;
175
+ }
176
+ }
177
+
178
+ @media (min-width: 1536px) {
179
+ .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
180
+ max-width: 1536px;
181
+ }
182
+ }
183
+
184
+ @media (min-width: 1920px) {
185
+ .fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
186
+ max-width: 1536px !important;
187
+ }
188
+ }
189
+
190
+ .info.svelte-1y320eu.svelte-1y320eu {
191
+ display: flex;
192
+ position: absolute;
193
+ bottom: 0;
194
+ justify-content: flex-start;
195
+ border-top: 1px solid var(--button-secondary-border-color);
196
+ padding: var(--size-1) var(--size-5);
197
+ width: 100%;
198
+ color: var(--body-text-color-subdued);
199
+ font-size: var(--text-md);
200
+ white-space: nowrap;
201
+ }
202
+
203
+ .app.svelte-1y320eu.svelte-1y320eu {
204
+ max-width: 1536px !important;
205
+ position: relative;
206
+ margin: auto;
207
+ padding: var(--size-4) var(--size-8);
208
+ width: 100%;
209
+ height: 100%;
210
+ }
211
+
212
+ .input-image,
213
+ .output-slider {
214
+ height: 800px;
215
+ }
216
+
217
+ .hidethis,
218
+ input.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav {
219
+ display: none;
220
+ }
221
+
222
+ /* Keyframes */
223
+
224
+ @keyframes wink {
225
+ 0%,
226
+ 60%,
227
+ 100% {
228
+ transform: rotate(0deg);
229
+ }
230
+ 10%,
231
+ 30%,
232
+ 70%,
233
+ 90% {
234
+ transform: rotate(14deg);
235
+ }
236
+ 20%,
237
+ 80% {
238
+ transform: rotate(-8deg);
239
+ }
240
+ 40% {
241
+ transform: rotate(-4deg);
242
+ }
243
+ 50% {
244
+ transform: rotate(10deg);
245
+ }
246
+ }
247
+
248
+ @keyframes beat {
249
+ 0% {
250
+ transform: scale(1);
251
+ }
252
+ 5% {
253
+ transform: scale(0.75);
254
+ }
255
+ 20% {
256
+ transform: scale(1);
257
+ }
258
+ 30% {
259
+ transform: scale(1);
260
+ }
261
+ 35% {
262
+ transform: scale(0.75);
263
+ }
264
+ 50% {
265
+ transform: scale(1);
266
+ }
267
+ 55% {
268
+ transform: scale(0.75);
269
+ }
270
+ 70% {
271
+ transform: scale(1);
272
+ }
273
+ }