better styling

This commit is contained in:
metacryst
2026-03-16 23:55:56 -05:00
parent 8452841460
commit 5903bafee5
9 changed files with 52 additions and 75 deletions

View File

@@ -1,3 +1,4 @@
import "../../components/TopBar.js"
import "./PeopleCard.js"
css(`
@@ -24,18 +25,7 @@ class People extends Shadow {
render() {
VStack(() => {
HStack(() => {
img(`/db/images/${global.currentNetwork.logo}`, "2.5em", "2.5em")
h1("People")
.color("var(--darkaccent)")
.textAlign("center")
.fontFamily("Arial")
})
.verticalAlign("center")
.horizontalAlign("center")
.gap(0.5, em)
.marginTop(0.5, em)
TopBar()
VStack(() => {
if (this.people == "") {
@@ -56,6 +46,7 @@ class People extends Shadow {
.color("var(--darkbrown)")
}
})
.gap(0.8, em)
})
.position("relative")
.boxSizing("border-box")