Spaces:
Runtime error
Runtime error
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
/* ===== TwoQuarks skin for Gradio
|
| 2 |
*{margin:0;padding:0;box-sizing:border-box}
|
| 3 |
|
| 4 |
:root{
|
| 5 |
--bg:#000; --fg:#fff; --muted:rgba(255,255,255,.55);
|
| 6 |
--card:rgba(255,255,255,.04); --card2:rgba(255,255,255,.08);
|
| 7 |
-
--stroke:rgba(255,255,255,.10); --glass:rgba(0,0,0,.
|
| 8 |
--accent:#8cb4ff;
|
| 9 |
}
|
| 10 |
|
|
@@ -16,32 +16,30 @@ body, .gradio-container{
|
|
| 16 |
overflow-x:hidden;
|
| 17 |
}
|
| 18 |
|
| 19 |
-
/* Starfield canvas
|
| 20 |
#quantumField{
|
| 21 |
position:fixed; inset:0;
|
| 22 |
width:100vw; height:100vh;
|
| 23 |
-
z-index:
|
| 24 |
-
background:#000;
|
| 25 |
-
pointer-events:none;
|
| 26 |
}
|
| 27 |
|
| 28 |
-
/*
|
| 29 |
#tqNav{
|
| 30 |
position: fixed;
|
| 31 |
top: 0; left: 0; right: 0;
|
| 32 |
z-index: 1000;
|
| 33 |
-
padding:
|
| 34 |
background: var(--glass);
|
| 35 |
backdrop-filter: blur(12px);
|
| 36 |
border-bottom: 1px solid rgba(255,255,255,.06);
|
| 37 |
}
|
| 38 |
|
| 39 |
#tqNav .nav-inner{
|
| 40 |
-
max-width:
|
| 41 |
margin: 0 auto;
|
| 42 |
display:flex;
|
| 43 |
align-items:center;
|
| 44 |
-
gap:
|
| 45 |
}
|
| 46 |
|
| 47 |
#tqNav .brand{
|
|
@@ -83,7 +81,7 @@ body, .gradio-container{
|
|
| 83 |
align-items:center;
|
| 84 |
justify-content:center;
|
| 85 |
border: 1px solid rgba(255,255,255,.18);
|
| 86 |
-
border-radius:
|
| 87 |
cursor: pointer;
|
| 88 |
background: rgba(255,255,255,.02);
|
| 89 |
}
|
|
@@ -101,7 +99,7 @@ body, .gradio-container{
|
|
| 101 |
content:"";
|
| 102 |
position:absolute;
|
| 103 |
left:0;
|
| 104 |
-
width:
|
| 105 |
height:2px;
|
| 106 |
background:#fff;
|
| 107 |
}
|
|
@@ -115,7 +113,7 @@ body, .gradio-container{
|
|
| 115 |
right: 24px;
|
| 116 |
min-width: 220px;
|
| 117 |
padding: 10px;
|
| 118 |
-
border-radius:
|
| 119 |
background: var(--glass);
|
| 120 |
backdrop-filter: blur(14px);
|
| 121 |
border: 1px solid rgba(255,255,255,.10);
|
|
@@ -159,16 +157,16 @@ body, .gradio-container{
|
|
| 159 |
background: var(--glass);
|
| 160 |
backdrop-filter: blur(12px);
|
| 161 |
border: 1px solid rgba(255,255,255,.06);
|
| 162 |
-
border-radius:
|
| 163 |
}
|
| 164 |
.tq-hero .brand{
|
| 165 |
-
font-weight:
|
| 166 |
}
|
| 167 |
.tq-hero .desc{
|
| 168 |
margin-top:8px;
|
| 169 |
color: var(--muted);
|
| 170 |
font-size: .98rem;
|
| 171 |
-
line-height: 1.
|
| 172 |
}
|
| 173 |
|
| 174 |
/* Cards / panels */
|
|
@@ -178,7 +176,7 @@ body, .gradio-container{
|
|
| 178 |
border:1px solid var(--stroke) !important;
|
| 179 |
background: var(--card) !important;
|
| 180 |
backdrop-filter: blur(8px) !important;
|
| 181 |
-
border-radius:
|
| 182 |
}
|
| 183 |
|
| 184 |
/* Hover effect on panels that look like cards */
|
|
@@ -208,7 +206,7 @@ body, .gradio-container{
|
|
| 208 |
.gradio-container .gr-tab-nav button.selected{
|
| 209 |
opacity: 1 !important;
|
| 210 |
border-color: rgba(140,180,255,.55) !important;
|
| 211 |
-
box-shadow: 0 0 0 1px rgba(140,180,255,.
|
| 212 |
}
|
| 213 |
|
| 214 |
/* Inputs */
|
|
@@ -217,18 +215,18 @@ body, .gradio-container{
|
|
| 217 |
background: rgba(255,255,255,.03) !important;
|
| 218 |
border:1px solid rgba(255,255,255,.14) !important;
|
| 219 |
color: var(--fg) !important;
|
| 220 |
-
border-radius:
|
| 221 |
}
|
| 222 |
|
| 223 |
-
/* Buttons
|
| 224 |
.gradio-container button,
|
| 225 |
.gradio-container .gr-button{
|
| 226 |
color: var(--fg) !important;
|
| 227 |
-
border:1px solid rgba(255,255,255,.
|
| 228 |
-
background: rgba(255,255,255,.
|
| 229 |
border-radius:999px !important;
|
| 230 |
-
padding:10px
|
| 231 |
-
opacity:.
|
| 232 |
transition:.15s ease !important;
|
| 233 |
}
|
| 234 |
.gradio-container button:hover,
|
|
@@ -239,7 +237,7 @@ body, .gradio-container{
|
|
| 239 |
|
| 240 |
/* Gallery tweaks */
|
| 241 |
.gradio-container .gallery{
|
| 242 |
-
border-radius:
|
| 243 |
}
|
| 244 |
|
| 245 |
/* Range accent */
|
|
|
|
| 1 |
+
/* ===== TwoQuarks skin for Gradio ===== */
|
| 2 |
*{margin:0;padding:0;box-sizing:border-box}
|
| 3 |
|
| 4 |
:root{
|
| 5 |
--bg:#000; --fg:#fff; --muted:rgba(255,255,255,.55);
|
| 6 |
--card:rgba(255,255,255,.04); --card2:rgba(255,255,255,.08);
|
| 7 |
+
--stroke:rgba(255,255,255,.10); --glass:rgba(0,0,0,.28);
|
| 8 |
--accent:#8cb4ff;
|
| 9 |
}
|
| 10 |
|
|
|
|
| 16 |
overflow-x:hidden;
|
| 17 |
}
|
| 18 |
|
| 19 |
+
/* Starfield canvas */
|
| 20 |
#quantumField{
|
| 21 |
position:fixed; inset:0;
|
| 22 |
width:100vw; height:100vh;
|
| 23 |
+
z-index:-10; background:#000;
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
+
/* Nav */
|
| 27 |
#tqNav{
|
| 28 |
position: fixed;
|
| 29 |
top: 0; left: 0; right: 0;
|
| 30 |
z-index: 1000;
|
| 31 |
+
padding: 12px 22px;
|
| 32 |
background: var(--glass);
|
| 33 |
backdrop-filter: blur(12px);
|
| 34 |
border-bottom: 1px solid rgba(255,255,255,.06);
|
| 35 |
}
|
| 36 |
|
| 37 |
#tqNav .nav-inner{
|
| 38 |
+
max-width: 840px;
|
| 39 |
margin: 0 auto;
|
| 40 |
display:flex;
|
| 41 |
align-items:center;
|
| 42 |
+
gap: 14px;
|
| 43 |
}
|
| 44 |
|
| 45 |
#tqNav .brand{
|
|
|
|
| 81 |
align-items:center;
|
| 82 |
justify-content:center;
|
| 83 |
border: 1px solid rgba(255,255,255,.18);
|
| 84 |
+
border-radius: 10px;
|
| 85 |
cursor: pointer;
|
| 86 |
background: rgba(255,255,255,.02);
|
| 87 |
}
|
|
|
|
| 99 |
content:"";
|
| 100 |
position:absolute;
|
| 101 |
left:0;
|
| 102 |
+
width:16px;
|
| 103 |
height:2px;
|
| 104 |
background:#fff;
|
| 105 |
}
|
|
|
|
| 113 |
right: 24px;
|
| 114 |
min-width: 220px;
|
| 115 |
padding: 10px;
|
| 116 |
+
border-radius: 12px;
|
| 117 |
background: var(--glass);
|
| 118 |
backdrop-filter: blur(14px);
|
| 119 |
border: 1px solid rgba(255,255,255,.10);
|
|
|
|
| 157 |
background: var(--glass);
|
| 158 |
backdrop-filter: blur(12px);
|
| 159 |
border: 1px solid rgba(255,255,255,.06);
|
| 160 |
+
border-radius: 12px;
|
| 161 |
}
|
| 162 |
.tq-hero .brand{
|
| 163 |
+
font-weight:600; letter-spacing:.2px; font-size:1.1rem;
|
| 164 |
}
|
| 165 |
.tq-hero .desc{
|
| 166 |
margin-top:8px;
|
| 167 |
color: var(--muted);
|
| 168 |
font-size: .98rem;
|
| 169 |
+
line-height: 1.45;
|
| 170 |
}
|
| 171 |
|
| 172 |
/* Cards / panels */
|
|
|
|
| 176 |
border:1px solid var(--stroke) !important;
|
| 177 |
background: var(--card) !important;
|
| 178 |
backdrop-filter: blur(8px) !important;
|
| 179 |
+
border-radius: 10px !important;
|
| 180 |
}
|
| 181 |
|
| 182 |
/* Hover effect on panels that look like cards */
|
|
|
|
| 206 |
.gradio-container .gr-tab-nav button.selected{
|
| 207 |
opacity: 1 !important;
|
| 208 |
border-color: rgba(140,180,255,.55) !important;
|
| 209 |
+
box-shadow: 0 0 0 1px rgba(140,180,255,.14) inset !important;
|
| 210 |
}
|
| 211 |
|
| 212 |
/* Inputs */
|
|
|
|
| 215 |
background: rgba(255,255,255,.03) !important;
|
| 216 |
border:1px solid rgba(255,255,255,.14) !important;
|
| 217 |
color: var(--fg) !important;
|
| 218 |
+
border-radius: 10px !important;
|
| 219 |
}
|
| 220 |
|
| 221 |
+
/* Buttons */
|
| 222 |
.gradio-container button,
|
| 223 |
.gradio-container .gr-button{
|
| 224 |
color: var(--fg) !important;
|
| 225 |
+
border:1px solid rgba(255,255,255,.11) !important;
|
| 226 |
+
background: rgba(255,255,255,.06) !important;
|
| 227 |
border-radius:999px !important;
|
| 228 |
+
padding:10px 12px !important;
|
| 229 |
+
opacity:.72 !important;
|
| 230 |
transition:.15s ease !important;
|
| 231 |
}
|
| 232 |
.gradio-container button:hover,
|
|
|
|
| 237 |
|
| 238 |
/* Gallery tweaks */
|
| 239 |
.gradio-container .gallery{
|
| 240 |
+
border-radius: 12px !important;
|
| 241 |
}
|
| 242 |
|
| 243 |
/* Range accent */
|