Compare commits

...

12 Commits

Author SHA1 Message Date
Atlas Cove 082e863908 Add Gemfile, Update Makefile 2023-02-19 14:53:44 +00:00
Atlas Cove 7d03407d8b Added apostrophe. 2023-02-19 14:27:21 +00:00
Atlas Cove d5b420be61 Merge branch 'tech' 2023-02-19 01:45:36 +00:00
Atlas Cove 8d744da0d3 CSS fixes and site work 2023-02-19 01:42:07 +00:00
Atlas Cove 27ee806f3a Added sitemap gen to render.sh 2023-02-19 01:18:26 +00:00
Atlas Cove 2741ebcc3b Merge branch 'tech' 2023-02-18 23:46:38 +00:00
Atlas Cove a3178adea0 Merge branch 'tech' 2023-02-17 18:33:41 +00:00
Atlas Cove b353d076fa Merge branch 'tech' 2023-02-17 18:18:39 +00:00
Atlas Cove 47b2eaea51 Update README.md 2023-02-17 16:22:25 +00:00
Atlas Cove 6c0d526787 added mgh/intro.md 2023-02-17 13:15:26 +00:00
Atlas Cove 0d76204081 pagework 2023-02-12 18:25:07 +00:00
Atlas Cove e62b94ddc7 Small file update. 2023-02-12 18:06:40 +00:00
33 changed files with 179 additions and 81 deletions

5
Gemfile Normal file
View File

@ -0,0 +1,5 @@
# frozen_string_literal: true
source "https://rubygems.org"
gem "org-ruby", "~> 0.9.12"
gem "RedCloth", "~> 4.3"

17
Gemfile.lock Normal file
View File

@ -0,0 +1,17 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.3.2)
org-ruby (0.9.12)
rubypants (~> 0.2)
rubypants (0.7.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
RedCloth (~> 4.3)
org-ruby (~> 0.9.12)
BUNDLED WITH
2.4.1

View File

@ -1,4 +1,4 @@
.PHONY: all list-doc list-sass list-rest list-dir list clean build push
.PHONY: all list-doc list-sass list-rest list-dir list clean push
list: list-doc list-sass list-rest list-dir
list-doc:
@echo "====DOCUMENT FILES===="
@ -16,5 +16,7 @@ clean:
rm -rf out
build:
./render.sh
./gensimap.sh
out: build
push: build
rclone sync -v out/ neo:/

View File

@ -8,12 +8,12 @@ Any runnable computer code or Sass/CSS definitions are licensed under the [GNU G
# Specification
## Dependencies
You will need the following tools to render and upload the site
- [neo-cli](https://neo-cli.neocities.org/)
- [Neocities CLI](https://neocities.org/cli)
- [RedCloth](http://redcloth.org/)
- [org-ruby](http://github.com/bdewey/org-ruby)
- [comrak](https://github.com/kivikakk/comrak)
## `Makefile`
Wraps `render.sh` as well as either `neo` or `rclone`.
Wraps `render.sh` for the most part.
### Makefile Options
#### `list`
Lists all components in a heading-annotated list
@ -21,7 +21,5 @@ Lists all components in a heading-annotated list
Lists markup files, sass files, directories, and other files respectively.
#### `clean`
Removes the `out/` directory that is generated on running of `render.sh`.
#### `push`
Uploads the site to neocities.org.
## `render.sh`
The primary worker script, sets up the directory structure, transpiles the markup, then the Sass, then copies the contents of `in/` to `out/`

View File

@ -1 +1,2 @@
/,Home
https://atlas48.sdf.org/,Blog

1 / Home
2 https://atlas48.sdf.org/ Blog

View File

@ -1,2 +1,3 @@
index.txti,"Atlas48's Archives"
not_found.html,"404 - Page Not Found"
doc.html,"Atlas48's Archives: Git Readme"
ee/index.txti,"Elysium's Edge Index"

1 index.txti not_found.html Atlas48's Archives 404 - Page Not Found
index.txti Atlas48's Archives
1 not_found.html not_found.html 404 - Page Not Found 404 - Page Not Found
2 doc.html Atlas48's Archives: Git Readme
3 ee/index.txti Elysium's Edge Index

View File

@ -1,8 +1,13 @@
#!/bin/bash
# gensimap.sh: Generate a sitemap for my website.
# v2.0p1
function inf { 1>&2 echo -e "\x1B[1;32mINF\x1B[0m: $*"; }
function r { echo $@ >> out/sitemap.xml; }
test -d out/sitemap.xml && sed -i d sitemap.xml
inf "Generating Sitemap..."
if test -f out/sitemap.xml; then
inf "Overwriting current sitemap..."
sed -i d sitemap.xml
fi
r '<?xml version="1.0" encoding="UTF-8"?>'
r '<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'
for i in `find in -type f -name '*.html'`; do

View File

@ -1,2 +1,7 @@
@import "extra.scss"
body
@include font("sans")
.header
border: 1px solid black
margin-left: 2em
.content
margin-left: 4em

35
in/css/ee.sass Normal file
View File

@ -0,0 +1,35 @@
@import "extra.scss"
@import url("all.css")
@import url("font/ibm-plex.css")
$bg: #00103D
$fg: #EAE8E3
$link: #189E86
$cont: #C7532B
@font-face
font-family: 'Science Gothic', monospace
src: url('font/science-gothic.ttf') format('truetype')
body
background-color: $bg
color: $fg
.header
@include font("mono")
border: 2px solid $fg
background-color: scale-color($bg,$lightness:-25%)
a
text-decoration: underline
color: #B8B991
.content
font-family: 'IBM Plex Sans', sans-serif
h1
font-family: 'Science Gothic', monospace
@include font-settings(345,100,116,0)
::before
content: '#'
a
color: $link
::visited
color: #CDA75C
text-decoration: none
blockquote
border-left: 6px solid $cont
color: scale-color($fg,$lightness:25%)

View File

@ -1,3 +1,4 @@
//Mixin definitions and global variables.
@mixin font($font) {
//no support for case so gonna have to YandereDev this.
@if($font=="sans") {

33
in/css/font/ibm-plex.css Normal file
View File

@ -0,0 +1,33 @@
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on February 18, 2023 */
@font-face {
font-family: 'IBM Plex Sans';
src: url('ibmplexsans-regular.woff2') format('woff2'),
url('ibmplexsans-regular.woff') format('woff'),
url('ibmplexsans-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'IBM Plex Sans';
src: url('ibmplexsans-bold.woff2') format('woff2'),
url('ibmplexsans-bold.woff') format('woff'),
url('ibmplexsans-bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'IBM Plex Sans';
src: url('ibmplexsans-italic.woff2') format('woff2'),
url('ibmplexsans-italic.woff') format('woff'),
url('ibmplexsans-italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'IBM Plex Sans';
src: url('ibmplexsans-bolditalic.woff2') format('woff2'),
url('ibmplexsans-bolditalic.woff') format('woff'),
url('ibmplexsans-bolditalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,3 @@
@import "extra.scss";
@import url("all.css");
.content {
@include font('sans');
margin-left: 2em;
}

View File

@ -1,20 +0,0 @@
@import "extra.scss"
@import url("all.css")
$bg: #00103D
@font-face
font-family: 'Science Gothic', monospace
src: url('font/science-gothic.ttf') format('truetype')
body
background-color: $bg
color: #EAE8E3
.header
border: 4px solid scale-color($bg,$lightness:-25%)
background-color: scale-color($bg,$lightness:-25%)
a
text-decoration: underline
.content
h1
font-family: 'Science Gothic', monospace
@include font-settings(345,100,116,0)
::before
content: '#'

View File

@ -1,27 +0,0 @@
# Atlas48's Neocites Archives
Welcome to the technical documentation for my [Neocities](https://neocities.org) page, which also contains a rudimentary static site generator cobbled together out of unix tools
and Ruby scripts
# License
All markup is licensed under the Creative Commons [Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/) license.
Any runnable computer code or Sass/CSS definitions are licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html)
# Specification
## Dependencies
You will need the following tools to render and upload the site
- [neo-cli](https://neo-cli.neocities.org/)
- [RedCloth](http://redcloth.org/)
- [org-ruby](http://github.com/bdewey/org-ruby)
- [comrak](https://github.com/kivikakk/comrak)
## `Makefile`
Wraps `render.sh` as well as either `neo` or `rclone`.
### Makefile Options
#### `list`
Lists all components in a heading-annotated list
#### `list-{doc,sass,dir,rest}`
Lists markup files, sass files, directories, and other files respectively.
#### `clean`
Removes the `out/` directory that is generated on running of `render.sh`.
#### `push`
Uploads the site to neocities.org.
## `render.sh`
The primary worker script, sets up the directory structure, transpiles the markup, then the Sass, then copies the contents of `in/` to `out/`

1
in/doc.md Symbolic link
View File

@ -0,0 +1 @@
../README.md

56
in/ee/mgh_intro.md Normal file
View File

@ -0,0 +1,56 @@
<span style="text-decoration:underline">見ぬが花:人類がファンタジーに陥りかけている宇宙</span>
# Intro
> The year is 2721, Mankind has established colonies on the Moon and Mars, and plan to expand to other planets, as well. Hyperspace
> technology has been developed with the use of a newly discovered force called "Thauma", which allows seemingly magical effects that
> defy the laws of physics with minimal effort. Biological engineering and nanotechnology have evolved to the point where people can
> rewrite their DNA and appearances on the fly, and humans have evolved and genewarped into separate species over the last few centuries.
> Megacorperations and nations jostle for control of a new force and planetary territory, while something dark since awakened stirs
> from an ancient sleep in a realm beyond the stars.
This campaign takes place in the custom *Elysium's Edge* setting for Starfinder 1<sup>st</sup> edition, as this setting was initially kludged
around the mechanics and setting of Dungeons and Dragons 5<sup>th</sup> edition, a lot of concepts and races are heavily inspired, or are
directly taken from setting typical of that system, as a result, only 4 of the 7 core races are actually playable, with nearly all
of the legacy core races being playable. This setting also adds or reskins certain races
# Playable Races
- Aasimar
- Android
- Android
- Dwarf
- Elf
- Endiffian *(Reskinned to Shiftling)*&dagger;
- Ganzi
- Half-Elf
- Half-Orc
- Human
- Ifrit
- Ikesht&dagger;
- Kayal
- Kitsune&lowast;
- Kobold
- Orc
- Oread
- Prismeni&dagger;
- Reptoid&lowast;
- Sylph
- Tiefling
- Undine
- Vesk
- Vesk&dagger;
- Vlaka
- Ysoki
&lowast; = Play with caution
&dagger; = Significantly altered lore.
# Initial Plot
> You will be starting on Moonbase 1, dubbed *Crisey* by the locals. Due to reasons outside of your control, you have somehow found
> yourself stranded on the moon, and wish to get off of it. The moon is a dangerous place, full of sin, debauchery and crime, ruled
> over by a belligerent, constantly-bickering & loosely-connected oligarchy that has a habit of vying for eachother's territory, who
> are known to them as the "Barons". True to the old tradition, you've all found eachother sitting at the same table
> in a local pub, and are starting to talk about how you've all fallen on hard times.

View File

@ -12,9 +12,9 @@ h1. Links.
h2. D&D
- "Antagonist Ideas":dnd/villains.html := Different Antagonist ideas to use in your games.
- "Antagonist Ideas":dnd/villains.html !img/ucbug.gif! := Different Antagonist ideas to use in your games.
h2. Starfinder
- "Elysium's Edge":mgh := Custom, homebrew Starfinder setting.
- "Elysium's Edge":ee := Homebrew Starfinder setting.

View File

@ -1,21 +1,3 @@
<!DOCTYPE html>
<html>
<head>
<style>
@include "/css/main.css";
</style>
<title>Atlas48's Archives</title>
</head>
<body>
<div class="header">
<a href="/">/</a>
</div>
<p><a href="https://atlas48.neocities.org// ">Home</a><a href="https://atlas48.sdf.org/">Blog</a></p>
<hr />
<h1>404</h1>
<p><strong>Page not found.</strong></p>
<p>The requested page could not be found.</p>
<hr />
</body>
</html>

View File

@ -2,7 +2,9 @@ dnl template.m4.html v2.0-p1
dnl Part of the tape-and-string suite used to construct the website
ifdef(`DEBUG',`traceon')dnl
ifdef(`_INFILE',`dnl',`errprint(`Macro _INFILE is not defined')m4exit(1)')
ifdef(`TITLE',`dnl',`define(`TITLE',`Atlas48 Archives')dnl)')
changequote(`[',`]')dnl
ifdef([TITLE],[dnl],[define([TITLE], [Atlas48's Archives])dnl)])
changequote([`],['])dnl
include(`m4/lib.m4')dnl
<!DOCTYPE html>
<html>

View File

@ -1,6 +1,6 @@
#!/bin/bash
# render.sh: part of the tape-and-string framework.
# v3.4-p5
# v3.4-p6
#B: Load
enable -f /usr/lib/bash/csv csv
declare -A title
@ -71,6 +71,9 @@ function other {
inf "Copying other files..."
cp -rv 'in'/* out/
}
function sitemap {
./gensimap.sh
}
function all {
load_title
dirs
@ -124,6 +127,7 @@ case $1 in
other) other;;
rest) other;;
info) info;;
sitemap) sitemap;;
vall) info; all;;
all) all;;
*) all;;