Create style.css
Browse files
style.css
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
:root{
|
| 2 |
+
--bg:#0b0f17;
|
| 3 |
+
--panel:#0f1624;
|
| 4 |
+
--edge:rgba(255,255,255,.07);
|
| 5 |
+
--txt:#e6f1ff;
|
| 6 |
+
--muted:#9db1d1;
|
| 7 |
+
--accent:#7aa2ff;
|
| 8 |
+
--accent2:#8ef0ff;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
html, body, .gradio-container{
|
| 12 |
+
background: radial-gradient(1200px 600px at 10% -10%, rgba(122,162,255,.08), transparent 60%),
|
| 13 |
+
radial-gradient(1000px 500px at 110% 10%, rgba(142,240,255,.08), transparent 60%),
|
| 14 |
+
var(--bg);
|
| 15 |
+
color: var(--txt);
|
| 16 |
+
font-family: Inter, system-ui, Segoe UI, Arial, sans-serif;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.card{
|
| 20 |
+
background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
|
| 21 |
+
border: 1px solid var(--edge);
|
| 22 |
+
border-radius: 16px;
|
| 23 |
+
padding: 12px;
|
| 24 |
+
box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.03);
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.row-top .markdown{
|
| 28 |
+
width: 100%;
|
| 29 |
+
margin: 4px 0 10px 0;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
a { color: var(--accent); }
|
| 33 |
+
a:hover { color: var(--accent2); }
|
| 34 |
+
|
| 35 |
+
.dataframe table { font-size: 14px; }
|
| 36 |
+
label, .gr-text, .gr-number, .gr-button { color: var(--txt); }
|
| 37 |
+
|
| 38 |
+
/* --- Ticker --- */
|
| 39 |
+
.shell{
|
| 40 |
+
background: linear-gradient(90deg, #0a0e14, #101826);
|
| 41 |
+
border: 1px solid var(--edge);
|
| 42 |
+
border-radius: 12px;
|
| 43 |
+
overflow: hidden;
|
| 44 |
+
}
|
| 45 |
+
.zen-ticker{
|
| 46 |
+
position: relative;
|
| 47 |
+
width: 100%;
|
| 48 |
+
}
|
| 49 |
+
.zen-ticker__track{
|
| 50 |
+
white-space: nowrap;
|
| 51 |
+
padding: 10px 0;
|
| 52 |
+
will-change: transform;
|
| 53 |
+
color: var(--txt);
|
| 54 |
+
font-size: 16px;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
/* --- Prompter --- */
|
| 58 |
+
.prompter{
|
| 59 |
+
display: grid;
|
| 60 |
+
gap: 8px;
|
| 61 |
+
}
|
| 62 |
+
.prompter__viewport{
|
| 63 |
+
background: #05080f;
|
| 64 |
+
border: 1px solid var(--edge);
|
| 65 |
+
border-radius: 12px;
|
| 66 |
+
height: 360px;
|
| 67 |
+
overflow: hidden;
|
| 68 |
+
position: relative;
|
| 69 |
+
}
|
| 70 |
+
.prompter__scroll{
|
| 71 |
+
position: absolute;
|
| 72 |
+
left: 0; top: 0;
|
| 73 |
+
width: 100%;
|
| 74 |
+
transform: translateY(0);
|
| 75 |
+
will-change: transform;
|
| 76 |
+
}
|
| 77 |
+
.prompter__text{
|
| 78 |
+
color: #f6fbff;
|
| 79 |
+
font-size: 28px;
|
| 80 |
+
line-height: 1.6;
|
| 81 |
+
padding: 28px 24px 40vh; /* bottom pad to keep text readable near end */
|
| 82 |
+
margin: 0;
|
| 83 |
+
font-weight: 600;
|
| 84 |
+
letter-spacing: .2px;
|
| 85 |
+
}
|
| 86 |
+
.prompter__controls{
|
| 87 |
+
display: flex; gap: 8px; align-items: center;
|
| 88 |
+
}
|
| 89 |
+
.btn{
|
| 90 |
+
background: rgba(255,255,255,.04);
|
| 91 |
+
border: 1px solid var(--edge);
|
| 92 |
+
border-radius: 10px;
|
| 93 |
+
padding: 6px 10px;
|
| 94 |
+
color: var(--txt);
|
| 95 |
+
cursor: pointer;
|
| 96 |
+
}
|
| 97 |
+
.btn:hover{ background: rgba(255,255,255,.07); }
|
| 98 |
+
.prompter__speed{ color: var(--muted); margin-left: 6px; }
|