Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Ru;es re-wrtie using Pathfinder Core as a base #146

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
const project = require('./package.json');
const markdownItAnchor = require('markdown-it-anchor');

function byIndex(left, right) {
const a = left.data.index ? Number.parseInt(left.data.index) : 0;
const b = right.data.index ? Number.parseInt(right.data.index) : 0;
return a - b;
}

module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy("assets");

eleventyConfig.addCollection("index", function (collectionApi) {
return collectionApi
.getFilteredByTag("pages")
.sort(byIndex);
});

eleventyConfig.addPassthroughCopy(
{
'node_modules/@lit': 'vendor/@lit',
'node_modules/vellum-doc': 'vendor/vellum-doc'
}
);

eleventyConfig.addGlobalData("project", project);

eleventyConfig.amendLibrary('md', (mdLib) => {
mdLib.use(markdownItAnchor, {
permalink: markdownItAnchor.permalink.headerLink(),
level: [1, 2, 3, 4],
slugify: eleventyConfig.getFilter('slugify')
});
});
};
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
*.log
dist
_site
4 changes: 3 additions & 1 deletion .markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"no-inline-html": false,
"commands-show-output": false,
"ul-indent": false,
"line-length": false
"line-length": false,
"first-line-heading": false,
"heading-increment": false
}
13 changes: 0 additions & 13 deletions .markdownlint/rules/common.js

This file was deleted.

27 changes: 0 additions & 27 deletions .markdownlint/rules/docsify-links-fragments-only.js

This file was deleted.

27 changes: 0 additions & 27 deletions .markdownlint/rules/docsify-markdown-suffix.js

This file was deleted.

27 changes: 0 additions & 27 deletions .markdownlint/rules/docsify-relative-links.js

This file was deleted.

5 changes: 4 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "stylelint-config-standard"
"extends": "stylelint-config-standard",
"rules": {
"media-feature-range-notation": null
}
}
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
---
index: 1
permalink: false
tags: pages
---
# Three Meet

A low-fantasy 5E hack for dark times
A low-fantasy Pathfinder hack for dark times

To start playing:

<section class="summaries">

<section class="summary">

## Prepare
#### Prepare

Step 1

Expand All @@ -21,32 +26,32 @@ Step 1

<section class="summary">

## Create a character
#### Create a character

Step 2

+ Assign one of +2, +1 and -1 to each of your [Attributes](./pages/characters/attributes.md)
+ Choose a [Background](./pages/backgrounds/index.md)
+ You may choose a [Magic Speciality](./pages/backgrounds/magic.md) if your GM allows
+ Choose a [Class](./pages/classes/index.md)
+ Choose your [Allegiances](./pages/characters/allegiances.md)
+ Assign one of +2, +1 and -1 to each of your [Attributes](section/characters/attributes.md)
+ Choose a [Background](section/backgrounds/backgrounds.md)
+ You may choose a [Magic Speciality](section/backgrounds/magic.md) if your GM allows
+ Choose a [Class](section/classes/classes.md)
+ Choose your [Allegiances](section/characters/allegiances.md)

</section>

<section class="summary">

## Learn the rules
#### Learn the rules

Step 3

+ Read the [Basic Rules](./pages/rules/rolling.md)
+ Read the [Combat Rules](./pages/combat/order.md)
+ Read the [Basic Rules](section/rules/rules.md)
+ Read the [Combat Rules](section/combat/combat.md)

</section>

<section class="summary">

## Play
#### Play

Step 4

Expand Down
4 changes: 4 additions & 0 deletions _data/site.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "Three Meet",
"url": "https://three-meet.grislyeye.com"
}
42 changes: 0 additions & 42 deletions _sidebar.md

This file was deleted.

4 changes: 4 additions & 0 deletions assets/styles/_content.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.content {
max-width: 800px;
padding-top: 2em;
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
text-align: center;
}

@media screen and (max-width: 768px) {
@media screen and (width < 768px) {
.content div.example-roll {
display: flex;
align-items: center;
font-size: 2em;
}
}

@media screen and (max-width: 690px) {
@media screen and (width < 690px) {
.content div.example-roll {
font-size: 1em;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

.content h2 {
font-family: Alegreya, serif;
font-size: 36px;
font-size: 72px;
width: 100%;
margin-top: 1.5em;
line-height: 0.5em;
Expand All @@ -16,7 +16,7 @@

.content h3 {
font-family: Alegreya, serif;
font-size: 28px;
font-size: 36px;
margin-top: 1.5em;
margin-bottom: 0.5em;
}
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions themes/cold-tavern/_spells.css → assets/styles/_spells.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
column-gap: 1em;
}

/* .content .spells > .spell {
/*margin: 1em
} */

@media screen and (max-width: 768px) {
.content .spells {
display: inline-block;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.content .summaries {
display: grid;
grid-template-columns: 50% 50%;
column-gap: 2rem;
row-gap: 2rem;
gap: 2rem;
margin-top: 2em;
}

Expand Down
File renamed without changes.
5 changes: 4 additions & 1 deletion themes/cold-tavern/_beta.css → assets/styles/beta.liquid
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
---
permalink: assets/styles/_beta.css
---
.content h1 + p::after {
color: white;
background-color: red;
margin: 0.5em;
padding: 0.3em;
content: " Beta version {{VERSION}}";
content: " Beta version {{ project.version }}";
border-radius: 2px;
font-size: 10pt;
font-weight: bold;
Expand Down
Loading
Loading