From 4f611b954470225363fa3e0da12873ea42f0255a Mon Sep 17 00:00:00 2001 From: Robert Perce Date: Mon, 1 Dec 2025 22:10:28 -0600 Subject: [PATCH] set up forgejo actions --- .forgejo/workflows/test.yaml | 6 ++++++ Taskfile | 4 ++-- static/contact.css | 40 +++++++++++++++++++++++++++++++++++- 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 .forgejo/workflows/test.yaml diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml new file mode 100644 index 0000000..9edc517 --- /dev/null +++ b/.forgejo/workflows/test.yaml @@ -0,0 +1,6 @@ +on: [push, workflow_dispatch] +jobs: + test: + runs-on: playwright-latest + steps: + - run: echo All good! diff --git a/Taskfile b/Taskfile index 52cd3a5..5ddbe28 100755 --- a/Taskfile +++ b/Taskfile @@ -35,8 +35,8 @@ deploy_to_server() { where="$1" _cargo build --release rsync -v -essh ./target/release/mascarpone "$where:~" \ - && rsync -rav -essh ./hashed_static "$where:~/static" \ - && ssh -t "$where" "sudo mv -f mascarpone /usr/bin/ && sudo rm -rf /var/local/mascarpone/static && sudo mv -f static /var/local/mascarpone/ && sudo systemctl restart mascarpone" + && rsync -rav -essh ./hashed_static "$where:~/" \ + && ssh -t "$where" "sudo mv -f mascarpone /usr/bin/ && sudo rm -rf /var/local/mascarpone/hashed_static && sudo mv -f hashed_static /var/local/mascarpone/ && sudo systemctl restart mascarpone" } dev() { diff --git a/static/contact.css b/static/contact.css index ee1ce4d..2cc6ce0 100644 --- a/static/contact.css +++ b/static/contact.css @@ -47,10 +47,14 @@ main { #text_body { margin-top: 1em; - p+p { + p { margin-top: 0.5em; } + p:first-child { + margin-top: 0; + } + em { font-style: italic; } @@ -58,6 +62,40 @@ main { strong { font-weight: bold; } + + li { + list-style: disc inside; + } + + h1 { + margin-block: 0.83em; + font-size: 1.50em; + } + + h2 { + margin-block: 1.00em; + font-size: 1.17em; + } + + h3 { + margin-block: 1.33em; + font-size: 1.00em; + } + + h4 { + margin-block: 1.67em; + font-size: 0.83em; + } + + h5 { + margin-block: 2.33em; + font-size: 0.67em; + } + + blockquote { + padding: 0.1em 0 0.1em 0.5em; + border-left: 2px solid var(--line-color); + } } .grow-wrap {