1
0
Fork 0
This repository has been archived on 2023-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
chellaris-galaxy-political-.../app/globals.css

86 lines
1.4 KiB
CSS

:root {
--foreground: #000000;
--background-start: #D6DBDC;
--background-end: #ffffff;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground: #ffffff;
--background: #1a1a1a;
--highlight-1: #2266ee;
}
}
body {
display: flex;
flex-direction: column;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
color: var(--foreground);
background: var(--background);
min-height: 100vh;
padding: 0;
margin: 0;
}
.navbar {
display: flex;
flex-direction: row;
justify-content: center;
color: var(--highlight-1);
}
.navbar a {
color: var(--foreground);
text-decoration-line: none;
padding-left: 4px;
padding-right: 4px;
height: 30px;
}
.active {
color: var(--highlight-1) !important;
}
main {
display: flex;
flex: 1;
flex-direction: column;
flex-wrap: nowrap;
align-items: center;
width: 100%;
}
.charts {
flex-direction: row !important;
max-height: calc(100% - 30px);
max-width: 100%;
}
.chart-container {
display: flex;
flex: 1;
max-width: 100%;
max-height: 100%;
aspect-ratio: 1/1;
padding: 2px;
align-items: center;
justify-content: center;
}
.chart {
height: 100%;
width: 100%;
}
.column {
display: flex;
flex: 1;
flex-direction: column !important;
justify-content: center;
align-items: center;
height: calc(100vh - 30px);
max-height: 100%;
}