Aldonu desegnojn por papero de rolulo

This commit is contained in:
Savanni D'Gerinel 2021-12-27 15:53:24 -05:00
parent 4f553fed6e
commit f6f14fadb2
15 changed files with 210 additions and 0 deletions

2
desegnoj/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
resources
public

View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

47
desegnoj/assets/main.scss Normal file
View File

@ -0,0 +1,47 @@
body {
background-color: rgb(200, 190, 180);
}
.columns {
display: flex;
// border: 1px solid red;
margin: auto;
padding: 1em;
> * {
margin: 0 1em 0 1em;
}
& :first-child {
margin: 0 1em 0 0;
}
& :last-child {
margin: 0 0 0 1em;
}
}
.c-2 {
> div {
width: 50%;
}
}
.statpool {
width: 50%;
flex-grow: 0;
flex-shrink: 1;
.pool {
border: 1px solid black;
border-radius: 5px;
padding: 0.5em;
margin: 0.25em;
}
.edge {
border: 1px solid black;
border-radius: 5px;
padding: 0.5em;
margin: 0.25em;
}
}

9
desegnoj/config.toml Normal file
View File

@ -0,0 +1,9 @@
baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

View File

102
desegnoj/content/priat.html Normal file
View File

@ -0,0 +1,102 @@
---
title: Priat
---
<div class="columns c-2">
<div>
<h1 id="name">Priat (Tier 1)</h1>
<p><em>A Intuitive Jack who Explores Yesterday</em></p>
<ul>
<li>Effort: 1</li>
<li>Cypher Limit: 2</li>
</ul>
</div>
<div>
{{< stat name="Might" value="12" edge="0" >}}
{{< stat name="Speed" value="14" edge="0" >}}
{{< stat name="Intellect" value="12" edge="1" >}}
</div>
</div>
<div class="columns c-2">
<div>
<h2>Special Abilities</h2>
<ul>
<li><em>Know what to do</em>: You can act immediately, even if it's not your turn. On your next regular turn, any action you take is hindered. You can do this once, per recovery roll.</li>
<li><em>Flex skill</em>: At the beginning of each day, chose one skill other than attacks or defense. You are trained in that skill for the rest of the day.</li>
<li><em>Fleet of Foot</em> (1+ speed): You can move a short distance as part of another action. You can move a long distance as your entire action for a turn. Applying a level of Effort, you can move a long distance and make an attack os your entire action, but the attack is hindered.</li>
<li><em>Vanish</em> (2 intellect): You become invisible for a short amount of time. While invisible, you have an asset on stealth and Speed defense tasks. Invisibility ends at the end of your next turn, or if you do something ot reveal your presence or position.</li>
</ul>
</div>
<div>
<h2>Skills</h2>
<table>
{{< skill name="Perception" level="Trained" >}}
{{< skill name="Climbing" level="Trained" >}}
{{< skill name="Salvaging Numenera" level="Trained" >}}
{{< skill name="Identifying" level="Trained" >}}
{{< skill name="Crafting Numenera" level="Trained" >}}
</table>
</div>
</div>
<h2 id="attack-and-defense">Attack and Defense</h2>
<div class="columns c-2">
<div>
<table>
<thead>
<tr>
<th>Weapon</th>
<th>Damage</th>
<th>Range</th>
<th>Ammo</th>
</tr>
</thead>
<tbody>
<tr>
<td>Battleaxe</td>
<td>4</td>
<td>Melee</td>
<td></td>
</tr>
<tr>
<td>Dagger</td>
<td>2</td>
<td>Melee</td>
<td></td>
</tr>
</tbody>
</table>
<p>You can use light or medium weapons. Your attacks are hindered with a heavy weapon.</p>
</div>
<div>
<table>
<thead>
<tr>
<th>Armor</th>
<th>Defense</th>
<th>Speed cost</th>
</tr>
</thead>
<tbody>
<tr>
<td>Brigandine</td>
<td>2</td>
<td>2</td>
</tr>
</tbody>
</table>
</div>
</div>
<h2 id="equipment">Equipment</h2>
<ul>
<li>Bag of excavation tools</li>
<li>Clothing</li>
<li>Explorer&rsquo;s Pack</li>
<li>Pack of light tools</li>
<li>A metal ring, wearable on a human finger, that issues a faint ringing noise when rubbed</li>
</ul>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<title> {{ .Page.Title }} </title>
<body>
{{ block "main" . }}
{{ end }}
</body>
</html>

View File

@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View File

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
{{ partial "main_menu.html" . }}
</body>
</html>

View File

@ -0,0 +1,6 @@
<head>
<meta charset="utf-8">
{{ $style := resources.Get "main.scss" | resources.ToCSS }}
<link href={{ $style.RelPermalink }} rel="stylesheet" type="text/css" />
</head>

View File

@ -0,0 +1,7 @@
<ul>
<li> Campaign settings </li>
<li> Combat tracker </li>
<li> <a href="index_character.html">Character sheets</a> </li>
<li> Combat designer </li>
</ul>

View File

@ -0,0 +1,4 @@
<tr>
<th> {{ .Get "name" }} </td>
<td> {{ .Get "level" }} </td>
</tr>

View File

@ -0,0 +1,7 @@
<div class="statpool">
<h2> {{ .Get "name" }} </h2>
<div class="columns">
<div class="pool"> {{ .Get "value" }} / {{ .Get "value" }} </div>
<div class="edge"> {{ .Get "edge" }} </div>
</div>
</div>

View File

@ -13,6 +13,7 @@ in pkgs.mkShell {
rust
unstable.rust-analyzer
pkgs.nodejs
pkgs.hugo
];
shellHook = ''