include the sssg boilerplate

This commit is contained in:
stupidcomputer 2024-11-04 02:41:19 -06:00
parent ec2083da2d
commit 6625086173
4 changed files with 95 additions and 0 deletions

3
src/.deploy Normal file
View File

@ -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/"'

0
src/.sssg_generated Normal file
View File

75
src/style.css Normal file
View File

@ -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%;
}

17
src/template.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>$title$ at tfb.beepboop.systems</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<h1>$title$</h1>
$body$
</body>
</html>