Spaces:
Sleeping
Sleeping
Sebastiankay
commited on
Commit
•
ccdefe5
1
Parent(s):
b32d2a0
Update _res/_custom.css
Browse files- _res/_custom.css +83 -57
_res/_custom.css
CHANGED
@@ -60,64 +60,90 @@ body::-webkit-scrollbar {
|
|
60 |
|
61 |
body {
|
62 |
/* min-height: 101vh; */
|
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 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
}
|
|
|
121 |
}
|
122 |
|
123 |
body>gradio-app::before {
|
|
|
60 |
|
61 |
body {
|
62 |
/* min-height: 101vh; */
|
63 |
+
|
64 |
+
gradio-app {
|
65 |
+
/* background: var(--primary-950);
|
66 |
+
background-image: linear-gradient(180deg, color-mix(in srgb, var(--primary-950), transparent 50%) 0%, color-mix(in srgb, var(--primary-950), transparent 50%) 28%, var(--neutral-950) 28%, var(--neutral-950) 100%) !important; */
|
67 |
+
padding-top: 120px;
|
68 |
+
/* min-width: 900px; */
|
69 |
+
transition: opacity 0.4s linear;
|
70 |
+
position: relative;
|
71 |
+
|
72 |
+
& #alertModal {
|
73 |
+
position: absolute;
|
74 |
+
top: 250px;
|
75 |
+
left: 50%;
|
76 |
+
width: 400px;
|
77 |
+
max-width: 80vw !important;
|
78 |
+
min-height: 140px;
|
79 |
+
transform: translate(-50%, -50%);
|
80 |
+
padding: var(--size-4) var(--size-8);
|
81 |
+
background-color: var(--neutral-900) !important;
|
82 |
+
|
83 |
+
border-top-width: 8px;
|
84 |
+
border-right-width: 1px;
|
85 |
+
border-bottom-width: 1px;
|
86 |
+
border-left-width: 1px;
|
87 |
+
border-top-style: solid;
|
88 |
+
border-right-style: solid;
|
89 |
+
border-bottom-style: solid;
|
90 |
+
border-left-style: solid;
|
91 |
+
border-top-color: var(--primary-600);
|
92 |
+
border-right-color: var(--primary-600);
|
93 |
+
border-bottom-color: var(--primary-600);
|
94 |
+
border-left-color: var(--primary-600);
|
95 |
+
|
96 |
+
border-radius: var(--container-radius);
|
97 |
+
|
98 |
+
& #alertModalP {
|
99 |
+
display: flex;
|
100 |
+
justify-content: center;
|
101 |
+
|
102 |
+
& span {
|
103 |
+
color: var(--neutral-50);
|
104 |
+
margin-top: 0rem;
|
105 |
+
line-height: 1.4;
|
106 |
+
}
|
107 |
+
|
108 |
+
& svg {
|
109 |
+
font-size: 4rem;
|
110 |
+
margin-right: 1rem;
|
111 |
+
color: var(--cat-red);
|
112 |
+
fill: var(--cat-red);
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
& button {
|
117 |
+
color: var(--text-color-by-luminance) !important;
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
.md-header {
|
122 |
+
padding: var(--size-2) var(--size-1);
|
123 |
+
& h1 {
|
124 |
+
color: var(--primary-950) !important;
|
125 |
+
}
|
126 |
+
|
127 |
+
& p,
|
128 |
+
span {
|
129 |
+
color: var(--neutral-800) !important;
|
130 |
+
line-height: 1.5 !important;
|
131 |
+
font-size: 1.1rem !important;
|
132 |
+
|
133 |
+
& i {
|
134 |
+
display: inline-flex;
|
135 |
+
align-items: center;
|
136 |
+
justify-content: center;
|
137 |
+
|
138 |
+
& svg {
|
139 |
+
font-size: inherit !important;
|
140 |
+
width: 16px !important;
|
141 |
+
height: 16px !important;
|
142 |
+
}
|
143 |
+
}
|
144 |
+
}
|
145 |
}
|
146 |
+
}
|
147 |
}
|
148 |
|
149 |
body>gradio-app::before {
|