Hide "New Users" box when no users are in database

- Also improved CSS organization
- Use space-around flex to center stats box
- Capitalized 'runnerspace'
This commit is contained in:
Xevion
2022-03-29 23:40:02 -05:00
parent 6b4d5acfb9
commit 2a443979b9
4 changed files with 41 additions and 32 deletions

View File

@@ -309,20 +309,23 @@ nav .links li:not(:last-child)::after, footer .links li:not(:last-child)::after
text-decoration: none;
}
.new-users, .statistics {
.index-flex {
display: flex;
justify-content: space-around;
}
.index-flex .new-users, .index-flex .statistics {
margin-top: 0 !important;
}
.new-users > div, .statistics > div {
.index-flex .new-users > div, .index-flex .statistics > div {
border: 1px solid grey;
padding: 0.2em;
width: fit-content;
padding-right: 1.5em;
}
.new-users > div a, .statistics > div a {
.index-flex .new-users > div a, .index-flex .statistics > div a {
text-decoration: none;
}
.statistics > div {
.index-flex .statistics > div {
min-height: 235px;
margin: 1em;
}