CephasAldrich's picture
Update index.css
c454dbe verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
body {
background-color: #f5f5f5;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.title {
font-size: 24px;
font-weight: bold;
color: #1a1a1a;
}
.live-badge {
background-color: #e5e7eb;
padding: 8px 12px;
border-radius: 9999px;
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 20px;
}
.stat-card {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.stat-title {
font-size: 14px;
color: #6b7280;
margin-bottom: 8px;
}
.stat-value {
font-size: 24px;
font-weight: bold;
color: #1a1a1a;
}
.feed-container {
background: white;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
padding: 20px;
}
.feed-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 20px;
font-size: 18px;
font-weight: bold;
}
.tweet {
border: 1px solid #e5e7eb;
border-radius: 6px;
padding: 16px;
margin-bottom: 16px;
}
.tweet-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.sentiment-badge {
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
}
.sentiment-urgent {
background-color: #fee2e2;
color: #991b1b;
}
.sentiment-neutral {
background-color: #dbeafe;
color: #1e40af;
}
.sentiment-not-urgent {
background-color: #dcfce7;
color: #166534;
}
.tweet-content {
margin-bottom: 12px;
font-size: 14px;
}
.tweet-footer {
display: flex;
align-items: center;
gap: 8px;
color: #6b7280;
font-size: 12px;
}
.location {
display: flex;
align-items: center;
gap: 4px;
}
@media (max-width: 768px) {
.stats-grid {
grid-template-columns: 1fr;
}
}