250 lines
5.1 KiB
CSS
250 lines
5.1 KiB
CSS
/* --- Base & Variables --- */
|
|
:root {
|
|
--bg-primary: #fefefe;
|
|
--bg-secondary: #f8f9fa;
|
|
--bg-accent: #e9ecef;
|
|
--text-primary: #212529;
|
|
--text-secondary: #495057;
|
|
--text-muted: #6c757d;
|
|
--accent-blue: #0066cc;
|
|
--accent-green: #059669;
|
|
--accent-orange: #ea580c;
|
|
--accent-purple: #7c3aed;
|
|
--border-color: #dee2e6;
|
|
--shadow: rgba(0, 0, 0, 0.07);
|
|
--gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
}
|
|
|
|
.dark {
|
|
/* Dark mode variables if needed */
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Work Sans', sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.mono {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
/* --- Layout & Header --- */
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
.header {
|
|
background: var(--bg-secondary);
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding: 1.5rem 1rem;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
box-shadow: 0 2px 10px var(--shadow);
|
|
}
|
|
|
|
.header-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
background: var(--gradient-1);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.tagline {
|
|
color: var(--text-muted);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* --- Hero & Search --- */
|
|
.hero {
|
|
text-align: center;
|
|
padding: 3rem 1rem;
|
|
background: var(--bg-secondary);
|
|
border-radius: 16px;
|
|
margin-bottom: 2rem;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1.1rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 2rem;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.search-wrapper {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
padding: 1rem 1.5rem;
|
|
border: 2px solid var(--border-color);
|
|
background: var(--bg-primary);
|
|
border-radius: 12px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.search-btn {
|
|
padding: 1rem 2.5rem;
|
|
background: var(--gradient-1);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 12px;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.search-btn:hover { transform: translateY(-2px); }
|
|
|
|
.examples { margin-top: 1rem; color: var(--text-muted); }
|
|
.example-link { color: var(--accent-blue); text-decoration: none; margin: 0 0.5rem; }
|
|
|
|
/* --- Results --- */
|
|
.results-container {
|
|
display: none;
|
|
animation: fadeIn 0.5s ease;
|
|
}
|
|
|
|
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
|
|
|
|
.results-header {
|
|
padding: 2rem;
|
|
border-radius: 16px;
|
|
margin-bottom: 2rem;
|
|
border: 1px solid var(--border-color);
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.address-title { font-size: 2rem; font-weight: 800; }
|
|
.address-subtitle { font-size: 1.1rem; color: var(--text-secondary); }
|
|
|
|
/* --- Info Grid & Cards --- */
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.info-card {
|
|
background: var(--bg-secondary);
|
|
padding: 1.5rem;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border-color);
|
|
grid-column: span 1;
|
|
}
|
|
|
|
.card-large {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.card-large {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.5rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.card-icon { font-size: 1.5rem; }
|
|
.card-title { font-size: 1.2rem; font-weight: 700; }
|
|
|
|
.info-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.75rem 0;
|
|
border-bottom: 1px solid var(--bg-accent);
|
|
}
|
|
.info-row:last-child { border-bottom: none; }
|
|
|
|
.info-label { color: var(--text-muted); }
|
|
.info-value { font-weight: 600; text-align: right; }
|
|
|
|
/* --- Specific Cards --- */
|
|
.woz-main {
|
|
text-align: center;
|
|
padding: 1rem 0 2rem;
|
|
}
|
|
|
|
.woz-label { color: var(--text-muted); margin-bottom: 0.5rem; }
|
|
.woz-value { font-size: 2.5rem; font-weight: 800; color: var(--accent-blue); }
|
|
|
|
.chart-container {
|
|
position: relative;
|
|
height: 250px;
|
|
}
|
|
|
|
.history-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.history-table th, .history-table td {
|
|
padding: 0.75rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.history-table th {
|
|
background-color: var(--bg-accent);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.history-table td:last-child {
|
|
text-align: right;
|
|
font-weight: 600;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
/* --- Loader --- */
|
|
.loader {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid #FFF;
|
|
border-bottom-color: transparent;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
animation: rotation 1s linear infinite;
|
|
}
|
|
|
|
@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } |