From 662508617329393c0389319517a78c07acf5369c Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Mon, 4 Nov 2024 02:41:19 -0600 Subject: [PATCH] include the sssg boilerplate --- src/.deploy | 3 ++ src/.sssg_generated | 0 src/style.css | 75 +++++++++++++++++++++++++++++++++++++++++++++ src/template.html | 17 ++++++++++ 4 files changed, 95 insertions(+) create mode 100644 src/.deploy create mode 100644 src/.sssg_generated create mode 100644 src/style.css create mode 100644 src/template.html diff --git a/src/.deploy b/src/.deploy new file mode 100644 index 0000000..b586608 --- /dev/null +++ b/src/.deploy @@ -0,0 +1,3 @@ +ssh netbox 'rm -rf ~/output-tfb' +scp -P 443 -r ./output-tfb ryan@beepboop.systems:~ +ssh netbox 'sudo -S sh -c "rm -rf /var/www/tfb.beepboop.systems; mkdir /var/www/tfb.beepboop.systems; cp -r ./output-tfb/* /var/www/tfb.beepboop.systems/"' diff --git a/src/.sssg_generated b/src/.sssg_generated new file mode 100644 index 0000000..e69de29 diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..ce33773 --- /dev/null +++ b/src/style.css @@ -0,0 +1,75 @@ +@media (prefers-color-scheme: dark) { + body { + background-color: black; + color: white; + } + + a { + color: lightblue; + } + + a:active { + color: orangered; + } + + a:visited { + color: mediumpurple; + } + + ::-moz-selection ::selection { + color: blue; + } +} + +body { + font-family: sans-serif; +} + +div.hero-image > figure > img { + width: 90%; + overflow: hidden; +} + +div.hero-image > figure { + margin: 0; + padding: 0; +} + +div.hero-image-l > figure > img { + width: 25%; + float: left; + overflow: hidden; + margin-right: 10px; +} + +div.hero-image-l > figure { + margin: 0; + padding: 0; +} + +div.hero-image-r > figure > img { + width: 25%; + float: right; + overflow: hidden; + margin-left: 10px; +} + +div.hero-image-r > figure { + margin: 0; + padding: 0; +} + +div.hero-spacer { + height: 20px; + width: 100%; + overflow: hidden; +} + +div.image-container > figure { + margin: 0; + padding: 0; +} + +div.image-container > figure > img { + width: 100%; +} diff --git a/src/template.html b/src/template.html new file mode 100644 index 0000000..1225042 --- /dev/null +++ b/src/template.html @@ -0,0 +1,17 @@ + + + + + + + +$title$ at tfb.beepboop.systems + + + + +

$title$

+$body$ + + +