244 lines
3.5 KiB
CSS
244 lines
3.5 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-color: #f5f5f5;
|
|
color: #333;
|
|
}
|
|
|
|
.container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Navbar */
|
|
.navbar {
|
|
background-color: #333;
|
|
color: white;
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.logo a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: white;
|
|
text-decoration: none;
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
/* Main content */
|
|
main {
|
|
flex: 1;
|
|
padding: 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.title {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
color: #333;
|
|
}
|
|
|
|
.description {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 2rem;
|
|
color: #666;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.card {
|
|
background-color: white;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.card h2 {
|
|
margin-bottom: 0.5rem;
|
|
color: #333;
|
|
}
|
|
|
|
.card p {
|
|
color: #666;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background-color: #333;
|
|
color: white;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.footer-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Data page layout */
|
|
.data-layout {
|
|
display: flex;
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.data-sidebar {
|
|
width: 250px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.data-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.indicator-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.group-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 0.75rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 2px solid #ddd;
|
|
}
|
|
|
|
.indicator-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.indicator-item {
|
|
padding: 0.75rem 1rem;
|
|
margin-bottom: 0.5rem;
|
|
background-color: white;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.indicator-item:hover {
|
|
background-color: #f0f0f0;
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.indicator-item.active {
|
|
background-color: #333;
|
|
color: white;
|
|
}
|
|
|
|
.indicator-detail {
|
|
background-color: white;
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.indicator-title {
|
|
font-size: 1.8rem;
|
|
color: #333;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.indicator-description {
|
|
color: #666;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.chart-container {
|
|
margin-bottom: 3rem;
|
|
padding: 1rem;
|
|
background-color: #fafafa;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.data-table-container {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.table-title {
|
|
font-size: 1.3rem;
|
|
color: #333;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.data-table th,
|
|
.data-table td {
|
|
padding: 0.75rem 1rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.data-table th {
|
|
background-color: #f5f5f5;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.data-table tbody tr:hover {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.data-layout {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.data-sidebar {
|
|
width: 100%;
|
|
}
|
|
}
|