Sentinel / style.css
Asish Karthikeya Gogineni
Deploy Sentinel AI from GitHub
3e30d53
@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;
}