Minor styling and tooling tweaks

This commit is contained in:
Juno Takano 2025-12-23 21:40:47 -03:00
commit a33d9cb1e1
2 changed files with 23 additions and 2 deletions

View file

@ -6,12 +6,21 @@ _default:
# Build on changes # Build on changes
[group('dev')] [group('dev')]
serve-watch: serve-watch:
bacon --job run-long -- -- --hostname localhost --port 3003 watchexec -q -c -e rs,toml,html -r cargo run -- -p 3003 -h localhost
alias sw := serve-watch alias sw := serve-watch
alias dev := serve-watch alias dev := serve-watch
alias d := serve-watch alias d := serve-watch
[group('dev')]
serve-watch-interface:
watchexec -qr -c -w . -w ../interface -e rs,toml,html cargo run \
-- -h localhost -p 3001 -g ../interface/graph.toml
alias swi := serve-watch-interface
alias dev-interface := serve-watch-interface
alias di := serve-watch-interface
# Run tests on changes # Run tests on changes
[group('dev')] [group('dev')]
test-watch: test-watch:

View file

@ -1,6 +1,7 @@
html { html {
height: 100%; height: 100%;
font-family: sans-serif; font-family: sans-serif;
line-height: 1.5;
} }
body { body {
@ -102,9 +103,20 @@ nav li {
color: #1bc8c8; color: #1bc8c8;
text-decoration-color: #159b9b; text-decoration-color: #159b9b;
} }
span.id-label {
background-color: #444;
border-color: #666;
}
span.hidden-label {
background-color: #000;
border-color: #555;
color: #969696;
}
} }
@media (max-width: 650px) { @media (max-width: 600px) {
nav li { nav li {
margin-right: 3px; margin-right: 3px;
} }