From 2e08cdb595196b76b46b5bda0c2d27e3c9b1f1ca Mon Sep 17 00:00:00 2001 From: Hazel Rae Aranda Date: Fri, 26 Feb 2021 14:02:34 -0500 Subject: [PATCH] Some stuff, idk --- content/tabletop/_index.md | 4 +--- content/tabletop/new-system.md | 22 +++++++++++++++++++++- content/tabletop/testo.md | 8 -------- deploy.sh | 4 ++-- static/style.css | 34 +++++++++++++++++++++++++++++++++- templates/page.html | 8 ++++---- templates/section.html | 11 ++++++++--- 7 files changed, 69 insertions(+), 22 deletions(-) delete mode 100644 content/tabletop/testo.md diff --git a/content/tabletop/_index.md b/content/tabletop/_index.md index df956b3..88fa8e6 100644 --- a/content/tabletop/_index.md +++ b/content/tabletop/_index.md @@ -1,5 +1,3 @@ +++ -title = "Tabletop Experiments and Stuff" +title = "Tabletop Shit" +++ - -HEWWO diff --git a/content/tabletop/new-system.md b/content/tabletop/new-system.md index 4904edd..96e4dc9 100644 --- a/content/tabletop/new-system.md +++ b/content/tabletop/new-system.md @@ -3,6 +3,26 @@ title = "New Tabletop RPG System (WIP)" description = "Bored and restless, so time it is to design a tabletop system..." date = 2020-12-21 draft = true +[extra] +toc = true +++ -GAAAA +# Core Gameplay + +## Skill Checks + +A player attempting something that could be subject to failure will perform a +skill check to determine whether they succeed or fail. + +A skill check is performed by rolling `1d20`, adding the relevant skill, and +comparing the result to 20. If the result is equal to or greater than `20` then +the action succeeds. If the result is less than `20` then the action fails. + +### Critical Rolls + +If the number rolled on the dice, before adding any other numbers, is exactly +`20`, the character succeeds at their action no matter what. +If exactly `1` is rolled, then the character fails their action no matter what. + +Further consequences, either good or bad, could occur on critical successes or +fails, at the discretion of the GM. diff --git a/content/tabletop/testo.md b/content/tabletop/testo.md deleted file mode 100644 index 791bdb3..0000000 --- a/content/tabletop/testo.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -title = "New Tabletop RPG System NOT REAL" -description = "Bored and restless, so time it is to design a tabletop system..." -date = 2020-12-21 -draft = true -+++ - -GAAAA diff --git a/deploy.sh b/deploy.sh index c5b142a..fcf1861 100755 --- a/deploy.sh +++ b/deploy.sh @@ -13,14 +13,14 @@ git worktree prune rm -rf .git/worktrees/-deploy/ echo "Checking out gh-pages branch into public" -git worktree add -B gh-pages .deploy origin/gh-pages +git worktree add -B rendered .deploy origin/rendered echo "Generating site" zola build cp -r public/* .deploy/ echo "Updating gh-pages branch" -cd .deploy && git add --all && git commit -m "Publishing to gh-pages (deploy.sh)" +cd .deploy && git add --all && git commit -m "Publishing to rendered (deploy.sh)" echo "Pushing to github" git push --all diff --git a/static/style.css b/static/style.css index a1077f7..24e1ab1 100644 --- a/static/style.css +++ b/static/style.css @@ -24,7 +24,9 @@ body { padding: 1rem; } -header { +code { + background-color: #454545; + padding: 0 0.25ch; } h1, @@ -32,6 +34,7 @@ h2, h3 { font-weight: bold; font-size: 1em; + margin-bottom: 0; } h1.site-title { @@ -148,6 +151,21 @@ div.table-wrapper tr:nth-child(even) { cursor: pointer; } +#toc ol { + counter-reset: item; + list-style-type: none; +} + +#toc li { + display: block; + color: var(--decoration); +} + +#toc li:before { + content: counters(item, ".") " "; + counter-increment: item; +} + h1.post-title { font-size: 1.5em; border: none; @@ -159,3 +177,17 @@ p.post-date { color: var(--decoration); margin: 0; } + +p.post-desc { + margin-top: 0; +} + +.flex { + display: flex; + flex-wrap: wrap; +} + +.flex * { + margin-left: 1em; + margin-right: 1em; +} diff --git a/templates/page.html b/templates/page.html index 28cb752..2c537e2 100644 --- a/templates/page.html +++ b/templates/page.html @@ -10,22 +10,22 @@ {% if page.extra.toc %}

Table of Contents [-]

- +