drinks-manager/static/css/statistics.css
2022-05-24 20:49:18 +02:00

63 lines
No EOL
1.2 KiB
CSS

.mainContainer {
min-width: 70vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
}
.statsHeading {
min-width: max-content;
margin-top: 0;
}
.tablesContainer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
width: 95%;
margin-top: 2rem;
}
.statisticsTable {
margin-bottom: 2rem;
padding-bottom: 1rem;
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
text-align: center;
}
.statisticsTable h1 {
margin-top: 0;
font-size: 1.2rem;
text-align: left;
min-width: 10rem;
text-align: center;
}
.statisticsTable table {
min-width: 20vw;
width: fit-content;
}
.statisticsTable th:last-child {
text-align: right;
}
.statisticsTable td:last-child {
text-align: right;
}
@media only screen and (max-width: 700px) {
.statisticsTable h1 {
min-width: 90vw;
}
.statisticsTable table {
min-width: 80vw;
}
.statisticsTable {
margin-bottom: 2rem;
padding-bottom: 1rem;
}
.statsHeading {
margin-left: 0;
margin-right: 0;
padding-top: 1rem;
padding-bottom: 2rem;
}
}