File size: 4,511 Bytes
3e30d53 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 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 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');
:root {
/* New Theme based on latest image - "Deep Dark" */
--bg-color: #000000;
--card-bg: #0c0c0c;
/* Slightly lighter than black */
--sidebar-bg: #000000;
--border-color: #1e1e1e;
--text-primary: #ffffff;
--text-secondary: #9ca3af;
/* Cool grey */
/* Accents - Minimalist */
--primary: #ffffff;
--primary-hover: #e5e5e5;
/* Semantic */
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--font-main: 'Inter', sans-serif;
/* Switched to Inter for cleaner look */
--font-mono: 'JetBrains Mono', monospace;
}
/* Global Reset */
.stApp {
background-color: var(--bg-color);
color: var(--text-primary);
font-family: var(--font-main);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-main);
font-weight: 600;
color: var(--text-primary);
letter-spacing: -0.02em;
}
/* Sidebar */
section[data-testid="stSidebar"] {
background-color: var(--sidebar-bg);
border-right: 1px solid var(--border-color);
}
/* Feature Cards - Exact Match Attempt */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px;
/* Specific gap */
margin-top: 3rem;
padding: 0 1rem;
}
.feature-card {
background-color: #121212;
/* Material Dark Surface - Visible contrast against black */
border: 1px solid #333333;
/* More visible border */
border-radius: 16px;
/* Slightly more rounded */
padding: 40px;
/* Generous padding as seen in image */
display: flex;
flex-direction: column;
align-items: flex-start;
height: 100%;
transition: all 0.2s ease;
}
.feature-card:hover {
border-color: #333;
background-color: #0a0a0a;
transform: translateY(-2px);
}
.feature-icon {
font-size: 3rem;
/* Larger icons */
margin-bottom: 24px;
line-height: 1;
}
.feature-title {
font-size: 1.35rem;
/* Slightly larger title */
font-weight: 700;
margin-bottom: 16px;
color: #ffffff;
letter-spacing: -0.01em;
}
.feature-desc {
font-size: 1rem;
color: #888888;
/* Muted grey description */
line-height: 1.6;
font-weight: 400;
}
/* Buttons */
.stButton button {
background-color: white;
color: black;
border: none;
font-weight: 500;
border-radius: 6px;
/* Slightly squarer */
padding: 0.75rem 2rem;
transition: all 0.2s ease;
}
.stButton button:hover {
background-color: #e5e5e5;
}
/* Inputs */
.stTextInput input,
.stTextArea textarea,
.stSelectbox div[data-baseweb="select"] {
background-color: #111 !important;
color: white !important;
border: 1px solid #333 !important;
border-radius: 6px;
}
.stTextInput input:focus,
.stTextArea textarea:focus {
border-color: #666 !important;
}
/* Hero */
.hero-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 6rem 1rem 4rem 1rem;
width: 100%;
margin: 0 auto;
}
.hero-title {
font-size: 4.5rem;
font-weight: 800;
margin-bottom: 1.5rem;
color: white;
background: none;
/* Removed gradient for solid white punch */
-webkit-text-fill-color: white;
text-align: center;
width: 100%;
letter-spacing: -0.03em;
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--text-secondary);
max-width: 700px;
margin: 0 auto 2.5rem auto;
text-align: center;
line-height: 1.6;
}
/* Alert Cards */
.alert-card {
background: var(--card-bg);
border: 1px solid var(--border-color);
padding: 16px;
margin-bottom: 12px;
border-radius: 8px;
transition: border-color 0.2s ease;
}
.alert-card:hover {
border-color: #333;
}
/* Market alerts - Red accent */
.alert-market {
border-left: 3px solid #ef4444;
background: linear-gradient(90deg, rgba(239, 68, 68, 0.05) 0%, var(--card-bg) 100%);
}
/* News alerts - Blue accent */
.alert-news {
border-left: 3px solid #3b82f6;
background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, var(--card-bg) 100%);
}
.alert-header {
display: flex;
justify-content: space-between;
color: var(--text-secondary);
font-size: 0.85rem;
margin-bottom: 8px;
font-weight: 500;
}
.alert-body {
color: var(--text-primary);
font-size: 0.95rem;
} |