Spaces:
Running
Running
Commit
·
c9cdaad
1
Parent(s):
c882b4d
Update styles.css
Browse files- styles.css +22 -171
styles.css
CHANGED
|
@@ -1,175 +1,26 @@
|
|
| 1 |
-
/*
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
| 6 |
-
}
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
margin-left: 1.5rem;
|
| 11 |
-
margin-right: auto;
|
| 12 |
-
padding-left: 1.5rem;
|
| 13 |
-
padding-right: 1rem;
|
| 14 |
-
padding-top: 1rem;
|
| 15 |
-
padding-bottom: 3rem;
|
| 16 |
-
}
|
| 17 |
|
| 18 |
-
/*
|
| 19 |
-
|
| 20 |
-
width: 240px !important;
|
| 21 |
-
}
|
| 22 |
-
|
| 23 |
-
section[data-testid="stSidebarContent"] {
|
| 24 |
-
width: 240px !important;
|
| 25 |
-
padding: 1rem;
|
| 26 |
-
background: rgba(10, 12, 20, 0.85);
|
| 27 |
-
border-right: 1px solid rgba(255, 255, 255, 0.05);
|
| 28 |
-
}
|
| 29 |
-
|
| 30 |
-
section[data-testid="stSidebar"] h4,
|
| 31 |
-
section[data-testid="stSidebar"] label,
|
| 32 |
-
section[data-testid="stSidebar"] p,
|
| 33 |
-
section[data-testid="stSidebar"] span {
|
| 34 |
-
color: #f5f6fa !important;
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
.stButton button {
|
| 38 |
-
border-radius: 999px;
|
| 39 |
-
border: 1px solid rgba(255, 255, 255, 0.15);
|
| 40 |
-
background: rgba(255, 255, 255, 0.04);
|
| 41 |
-
color: #f7f8fc;
|
| 42 |
-
}
|
| 43 |
-
|
| 44 |
-
.stButton button:hover {
|
| 45 |
-
border-color: rgba(88, 130, 255, 0.9);
|
| 46 |
-
background: rgba(88, 130, 255, 0.15);
|
| 47 |
-
}
|
| 48 |
-
|
| 49 |
-
/* Headlines ------------------------------------------------------------- */
|
| 50 |
-
h1 {
|
| 51 |
-
font-size: 2.4rem !important;
|
| 52 |
-
margin-bottom: 1rem !important;
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
-
.eyebrow {
|
| 56 |
-
text-transform: uppercase;
|
| 57 |
-
letter-spacing: 0.2em;
|
| 58 |
-
font-size: 0.7rem;
|
| 59 |
-
color: rgba(255, 255, 255, 0.6);
|
| 60 |
-
margin-bottom: 0.3rem;
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
/* Hero + Stat cards ----------------------------------------------------- */
|
| 64 |
-
.hero-card {
|
| 65 |
-
display: flex;
|
| 66 |
-
justify-content: space-between;
|
| 67 |
-
gap: 1.5rem;
|
| 68 |
-
padding: 1.5rem;
|
| 69 |
-
margin: 0.5rem 0 1rem;
|
| 70 |
-
border-radius: 18px;
|
| 71 |
-
background: linear-gradient(130deg, rgba(73, 99, 255, 0.15), rgba(9, 10, 18, 0.85));
|
| 72 |
-
border: 1px solid rgba(255, 255, 255, 0.08);
|
| 73 |
-
}
|
| 74 |
-
|
| 75 |
-
.hero-card h2 {
|
| 76 |
-
margin: 0 0 0.4rem;
|
| 77 |
-
font-size: 1.6rem;
|
| 78 |
-
}
|
| 79 |
-
|
| 80 |
-
.hero-card p {
|
| 81 |
-
margin: 0;
|
| 82 |
-
color: rgba(255, 255, 255, 0.7);
|
| 83 |
-
}
|
| 84 |
-
|
| 85 |
-
.status-chip {
|
| 86 |
-
align-self: center;
|
| 87 |
-
text-align: right;
|
| 88 |
-
padding: 0.8rem 1rem;
|
| 89 |
-
border-radius: 16px;
|
| 90 |
-
background: rgba(12, 18, 35, 0.75);
|
| 91 |
-
border: 1px solid rgba(255, 255, 255, 0.08);
|
| 92 |
-
min-width: 170px;
|
| 93 |
-
}
|
| 94 |
-
|
| 95 |
-
.status-chip span {
|
| 96 |
-
display: block;
|
| 97 |
-
font-size: 0.7rem;
|
| 98 |
-
text-transform: uppercase;
|
| 99 |
-
letter-spacing: 0.15em;
|
| 100 |
-
color: rgba(255, 255, 255, 0.5);
|
| 101 |
-
}
|
| 102 |
-
|
| 103 |
-
.status-chip strong {
|
| 104 |
-
font-size: 1.1rem;
|
| 105 |
-
}
|
| 106 |
-
|
| 107 |
-
.status-chip small {
|
| 108 |
-
display: block;
|
| 109 |
-
font-size: 0.75rem;
|
| 110 |
-
color: rgba(255, 255, 255, 0.4);
|
| 111 |
-
}
|
| 112 |
-
|
| 113 |
-
.stat-card {
|
| 114 |
-
border-radius: 16px;
|
| 115 |
-
padding: 1rem 1.25rem;
|
| 116 |
-
background: rgba(15, 22, 38, 0.9);
|
| 117 |
-
border: 1px solid rgba(255, 255, 255, 0.05);
|
| 118 |
-
height: 100%;
|
| 119 |
-
}
|
| 120 |
-
|
| 121 |
-
.stat-card span {
|
| 122 |
-
font-size: 0.75rem;
|
| 123 |
-
letter-spacing: 0.08em;
|
| 124 |
-
text-transform: uppercase;
|
| 125 |
-
color: rgba(255, 255, 255, 0.5);
|
| 126 |
-
}
|
| 127 |
-
|
| 128 |
-
.stat-card h4 {
|
| 129 |
-
margin: 0.35rem 0 0;
|
| 130 |
-
font-size: 1.1rem;
|
| 131 |
-
}
|
| 132 |
-
|
| 133 |
-
.pill {
|
| 134 |
-
display: inline-flex;
|
| 135 |
-
align-items: center;
|
| 136 |
-
gap: 0.4rem;
|
| 137 |
-
border-radius: 999px;
|
| 138 |
-
padding: 0.2rem 0.85rem;
|
| 139 |
-
font-size: 0.75rem;
|
| 140 |
-
border: 1px solid rgba(255, 255, 255, 0.15);
|
| 141 |
-
color: rgba(255, 255, 255, 0.75);
|
| 142 |
-
}
|
| 143 |
-
|
| 144 |
-
.pill.on {
|
| 145 |
-
border-color: rgba(87, 214, 141, 0.6);
|
| 146 |
-
background: rgba(87, 214, 141, 0.12);
|
| 147 |
-
color: #8ef2c9;
|
| 148 |
-
}
|
| 149 |
-
|
| 150 |
-
.pill-group {
|
| 151 |
-
display: flex;
|
| 152 |
-
flex-wrap: wrap;
|
| 153 |
-
gap: 0.5rem;
|
| 154 |
-
margin: 0.75rem 0 1.25rem;
|
| 155 |
-
}
|
| 156 |
-
|
| 157 |
-
/* Chat history columns -------------------------------------------------- */
|
| 158 |
-
div.answer {
|
| 159 |
-
white-space: pre-wrap;
|
| 160 |
-
overflow-wrap: anywhere;
|
| 161 |
-
}
|
| 162 |
|
|
|
|
| 163 |
div[data-testid="column"] {
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
}
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
|
|
|
|
|
| 1 |
+
/* -- Sidebar width & padding -- */
|
| 2 |
+
section[data-testid="stSidebar"] { width: 300px !important; }
|
| 3 |
+
section[data-testid="stSidebarContent"] { width: 300px !important;
|
| 4 |
+
padding: 0.75rem; }
|
|
|
|
|
|
|
| 5 |
|
| 6 |
+
/* -- Title size -- */
|
| 7 |
+
h1 { font-size: 2.1rem !important; margin-bottom: 1rem; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
+
/* -- Ensure long links wrap inside comparison columns -- */
|
| 10 |
+
div.answer { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
+
/* Tighten spacing between comparison columns */
|
| 13 |
div[data-testid="column"] {
|
| 14 |
+
padding-left: 0.25rem !important;
|
| 15 |
+
padding-right: 0.25rem !important;
|
| 16 |
+
margin-left: 0 !important;
|
| 17 |
+
margin-right: 0 !important;
|
| 18 |
+
flex-grow: 1;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
/* Align vertical divider better */
|
| 22 |
+
.vertical-divider {
|
| 23 |
+
height: 100%;
|
| 24 |
+
border-left: 1px solid #ccc;
|
| 25 |
+
margin: 0 0.4rem;
|
| 26 |
+
}
|