Spaces:
Runtime error
Runtime error
Update style.css
Browse files
style.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 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 |
|
|
@@ -20,38 +20,38 @@ body, .gradio-container{
|
|
| 20 |
#quantumField{
|
| 21 |
position:fixed; inset:0;
|
| 22 |
width:100vw; height:100vh;
|
| 23 |
-
z-index:-
|
| 24 |
}
|
| 25 |
|
| 26 |
/* Nav */
|
| 27 |
#tqNav{
|
| 28 |
position: fixed;
|
| 29 |
top: 0; left: 0; right: 0;
|
| 30 |
-
z-index:
|
| 31 |
padding: 12px 22px;
|
| 32 |
background: var(--glass);
|
| 33 |
-
backdrop-filter: blur(
|
| 34 |
border-bottom: 1px solid rgba(255,255,255,.06);
|
| 35 |
}
|
| 36 |
|
| 37 |
#tqNav .nav-inner{
|
| 38 |
-
max-width:
|
| 39 |
margin: 0 auto;
|
| 40 |
display:flex;
|
| 41 |
align-items:center;
|
| 42 |
-
gap:
|
| 43 |
}
|
| 44 |
|
| 45 |
#tqNav .brand{
|
| 46 |
-
font-weight:
|
| 47 |
font-size: 1.1rem;
|
| 48 |
-
letter-spacing: .
|
| 49 |
}
|
| 50 |
|
| 51 |
#tqNav .nav-links{
|
| 52 |
display:flex;
|
| 53 |
gap:10px;
|
| 54 |
-
margin-left:
|
| 55 |
flex-wrap: wrap;
|
| 56 |
}
|
| 57 |
|
|
@@ -62,7 +62,7 @@ body, .gradio-container{
|
|
| 62 |
border: 1px solid rgba(255,255,255,.12);
|
| 63 |
border-radius: 999px;
|
| 64 |
font-size: .9rem;
|
| 65 |
-
opacity: .
|
| 66 |
transition: .15s ease;
|
| 67 |
white-space: nowrap;
|
| 68 |
}
|
|
@@ -75,8 +75,8 @@ body, .gradio-container{
|
|
| 75 |
#tqNav .spacer{ flex:1; }
|
| 76 |
|
| 77 |
#tqNav .menu-btn{
|
| 78 |
-
width:
|
| 79 |
-
height:
|
| 80 |
display:flex;
|
| 81 |
align-items:center;
|
| 82 |
justify-content:center;
|
|
@@ -88,9 +88,9 @@ body, .gradio-container{
|
|
| 88 |
|
| 89 |
#tqNav .menu-btn span{
|
| 90 |
display:block;
|
| 91 |
-
width:
|
| 92 |
-
height:
|
| 93 |
-
background:#
|
| 94 |
position:relative;
|
| 95 |
}
|
| 96 |
|
|
@@ -100,8 +100,8 @@ body, .gradio-container{
|
|
| 100 |
position:absolute;
|
| 101 |
left:0;
|
| 102 |
width:16px;
|
| 103 |
-
height:
|
| 104 |
-
background:#
|
| 105 |
}
|
| 106 |
|
| 107 |
#tqNav .menu-btn span::before{ top:-6px; }
|
|
@@ -115,9 +115,9 @@ body, .gradio-container{
|
|
| 115 |
padding: 10px;
|
| 116 |
border-radius: 12px;
|
| 117 |
background: var(--glass);
|
| 118 |
-
backdrop-filter: blur(
|
| 119 |
border: 1px solid rgba(255,255,255,.10);
|
| 120 |
-
box-shadow: 0 0
|
| 121 |
display:none;
|
| 122 |
}
|
| 123 |
|
|
@@ -129,12 +129,12 @@ body, .gradio-container{
|
|
| 129 |
border-radius: 10px;
|
| 130 |
text-decoration:none;
|
| 131 |
color: var(--fg);
|
| 132 |
-
opacity: .
|
| 133 |
}
|
| 134 |
|
| 135 |
#tqNav .menu a:hover{
|
| 136 |
background: rgba(255,255,255,.06);
|
| 137 |
-
opacity:
|
| 138 |
}
|
| 139 |
|
| 140 |
#tqNav .menu .sep{
|
|
@@ -155,18 +155,18 @@ body, .gradio-container{
|
|
| 155 |
margin: 10px 0 14px 0;
|
| 156 |
padding: 14px 18px;
|
| 157 |
background: var(--glass);
|
| 158 |
-
backdrop-filter: blur(
|
| 159 |
border: 1px solid rgba(255,255,255,.06);
|
| 160 |
-
border-radius:
|
| 161 |
}
|
| 162 |
.tq-hero .brand{
|
| 163 |
-
font-weight:600; letter-spacing:.
|
| 164 |
}
|
| 165 |
.tq-hero .desc{
|
| 166 |
margin-top:8px;
|
| 167 |
color: var(--muted);
|
| 168 |
font-size: .98rem;
|
| 169 |
-
line-height: 1.
|
| 170 |
}
|
| 171 |
|
| 172 |
/* Cards / panels */
|
|
@@ -195,7 +195,7 @@ body, .gradio-container{
|
|
| 195 |
border-radius:999px !important;
|
| 196 |
padding:8px 12px !important;
|
| 197 |
color: var(--fg) !important;
|
| 198 |
-
opacity:.
|
| 199 |
background: rgba(255,255,255,.00) !important;
|
| 200 |
transition:.18s ease !important;
|
| 201 |
}
|
|
@@ -205,15 +205,15 @@ body, .gradio-container{
|
|
| 205 |
}
|
| 206 |
.gradio-container .gr-tab-nav button.selected{
|
| 207 |
opacity: 1 !important;
|
| 208 |
-
border-color: rgba(
|
| 209 |
-
box-shadow: 0 0 0 1px rgba(
|
| 210 |
}
|
| 211 |
|
| 212 |
/* Inputs */
|
| 213 |
.gradio-container input,
|
| 214 |
.gradio-container textarea{
|
| 215 |
background: rgba(255,255,255,.03) !important;
|
| 216 |
-
border:1px solid rgba(255,255,255,.
|
| 217 |
color: var(--fg) !important;
|
| 218 |
border-radius: 10px !important;
|
| 219 |
}
|
|
@@ -237,7 +237,7 @@ body, .gradio-container{
|
|
| 237 |
|
| 238 |
/* Gallery tweaks */
|
| 239 |
.gradio-container .gallery{
|
| 240 |
-
border-radius:
|
| 241 |
}
|
| 242 |
|
| 243 |
/* Range accent */
|
|
|
|
| 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,.21);
|
| 8 |
--accent:#8cb4ff;
|
| 9 |
}
|
| 10 |
|
|
|
|
| 20 |
#quantumField{
|
| 21 |
position:fixed; inset:0;
|
| 22 |
width:100vw; height:100vh;
|
| 23 |
+
z-index:-6; background:#000;
|
| 24 |
}
|
| 25 |
|
| 26 |
/* Nav */
|
| 27 |
#tqNav{
|
| 28 |
position: fixed;
|
| 29 |
top: 0; left: 0; right: 0;
|
| 30 |
+
z-index: 999;
|
| 31 |
padding: 12px 22px;
|
| 32 |
background: var(--glass);
|
| 33 |
+
backdrop-filter: blur(10px);
|
| 34 |
border-bottom: 1px solid rgba(255,255,255,.06);
|
| 35 |
}
|
| 36 |
|
| 37 |
#tqNav .nav-inner{
|
| 38 |
+
max-width: 860px;
|
| 39 |
margin: 0 auto;
|
| 40 |
display:flex;
|
| 41 |
align-items:center;
|
| 42 |
+
gap: 12px;
|
| 43 |
}
|
| 44 |
|
| 45 |
#tqNav .brand{
|
| 46 |
+
font-weight: 600;
|
| 47 |
font-size: 1.1rem;
|
| 48 |
+
letter-spacing: .22px;
|
| 49 |
}
|
| 50 |
|
| 51 |
#tqNav .nav-links{
|
| 52 |
display:flex;
|
| 53 |
gap:10px;
|
| 54 |
+
margin-left: 14px;
|
| 55 |
flex-wrap: wrap;
|
| 56 |
}
|
| 57 |
|
|
|
|
| 62 |
border: 1px solid rgba(255,255,255,.12);
|
| 63 |
border-radius: 999px;
|
| 64 |
font-size: .9rem;
|
| 65 |
+
opacity: .76;
|
| 66 |
transition: .15s ease;
|
| 67 |
white-space: nowrap;
|
| 68 |
}
|
|
|
|
| 75 |
#tqNav .spacer{ flex:1; }
|
| 76 |
|
| 77 |
#tqNav .menu-btn{
|
| 78 |
+
width: 25px;
|
| 79 |
+
height: 25px;
|
| 80 |
display:flex;
|
| 81 |
align-items:center;
|
| 82 |
justify-content:center;
|
|
|
|
| 88 |
|
| 89 |
#tqNav .menu-btn span{
|
| 90 |
display:block;
|
| 91 |
+
width:16px;
|
| 92 |
+
height:4px;
|
| 93 |
+
background:#000;
|
| 94 |
position:relative;
|
| 95 |
}
|
| 96 |
|
|
|
|
| 100 |
position:absolute;
|
| 101 |
left:0;
|
| 102 |
width:16px;
|
| 103 |
+
height:4px;
|
| 104 |
+
background:#000;
|
| 105 |
}
|
| 106 |
|
| 107 |
#tqNav .menu-btn span::before{ top:-6px; }
|
|
|
|
| 115 |
padding: 10px;
|
| 116 |
border-radius: 12px;
|
| 117 |
background: var(--glass);
|
| 118 |
+
backdrop-filter: blur(12px);
|
| 119 |
border: 1px solid rgba(255,255,255,.10);
|
| 120 |
+
box-shadow: 0 0 28px rgba(0,0,0,.6);
|
| 121 |
display:none;
|
| 122 |
}
|
| 123 |
|
|
|
|
| 129 |
border-radius: 10px;
|
| 130 |
text-decoration:none;
|
| 131 |
color: var(--fg);
|
| 132 |
+
opacity: .85;
|
| 133 |
}
|
| 134 |
|
| 135 |
#tqNav .menu a:hover{
|
| 136 |
background: rgba(255,255,255,.06);
|
| 137 |
+
opacity: 0.89;
|
| 138 |
}
|
| 139 |
|
| 140 |
#tqNav .menu .sep{
|
|
|
|
| 155 |
margin: 10px 0 14px 0;
|
| 156 |
padding: 14px 18px;
|
| 157 |
background: var(--glass);
|
| 158 |
+
backdrop-filter: blur(10px);
|
| 159 |
border: 1px solid rgba(255,255,255,.06);
|
| 160 |
+
border-radius: 10x;
|
| 161 |
}
|
| 162 |
.tq-hero .brand{
|
| 163 |
+
font-weight:600; letter-spacing:.22px; 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.35;
|
| 170 |
}
|
| 171 |
|
| 172 |
/* Cards / panels */
|
|
|
|
| 195 |
border-radius:999px !important;
|
| 196 |
padding:8px 12px !important;
|
| 197 |
color: var(--fg) !important;
|
| 198 |
+
opacity:.76 !important;
|
| 199 |
background: rgba(255,255,255,.00) !important;
|
| 200 |
transition:.18s ease !important;
|
| 201 |
}
|
|
|
|
| 205 |
}
|
| 206 |
.gradio-container .gr-tab-nav button.selected{
|
| 207 |
opacity: 1 !important;
|
| 208 |
+
border-color: rgba(255,255,255,.35) !important;
|
| 209 |
+
box-shadow: 0 0 0 1px rgba(200,200,200,.12) inset !important;
|
| 210 |
}
|
| 211 |
|
| 212 |
/* Inputs */
|
| 213 |
.gradio-container input,
|
| 214 |
.gradio-container textarea{
|
| 215 |
background: rgba(255,255,255,.03) !important;
|
| 216 |
+
border:1px solid rgba(255,255,255,.12) !important;
|
| 217 |
color: var(--fg) !important;
|
| 218 |
border-radius: 10px !important;
|
| 219 |
}
|
|
|
|
| 237 |
|
| 238 |
/* Gallery tweaks */
|
| 239 |
.gradio-container .gallery{
|
| 240 |
+
border-radius: 9px !important;
|
| 241 |
}
|
| 242 |
|
| 243 |
/* Range accent */
|