Updated CSS & moved into repo

This commit is contained in:
Lucia Ceionia 2023-06-26 08:41:37 +00:00
parent e1aa63552e
commit 008c15374c
12 changed files with 109 additions and 13 deletions

View File

@ -1,7 +1,8 @@
# Update this for new files
files = perks.html spelllist.html main.html creatures.html\
magical_items.html calc.html effect.html\
test.html test.js
test.html test.js\
license.html tes.css UESP-Parchment_Background.jpg
OUTDIR=html
@ -11,10 +12,7 @@ LIST=$(addprefix html/, $(files))
$(OUTDIR)/%.html: %.md | $(OUTDIR)
pandoc $< -f markdown -t html -s -o $@
$(OUTDIR)/%.js: %.js | $(OUTDIR)
cp $< $@
$(OUTDIR)/%.html: %.html | $(OUTDIR)
$(OUTDIR)/%: % | $(OUTDIR)
cp $< $@
all: $(LIST)

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

View File

@ -1,5 +1,5 @@
% TES TTRPG
<link href="/css/tes.css" rel="stylesheet">
<link href="tes.css" rel="stylesheet">
<link href="/resources/favicon.png" rel="icon">
@ -61,3 +61,9 @@
<script src="test.js"></script>
---
[License Info](license.html)
---

View File

@ -1,6 +1,6 @@
% Creatures
<link href="/css/tes.css" rel="stylesheet">
<link href="tes.css" rel="stylesheet">
[Main](main.html)
@ -645,3 +645,9 @@
> - 1d20/2d20+2/2d20\*2+4 + 12 pts Slashing, 1d20 + 17 to Hit.
> - Paralysis (4M)
> - Paralyze for 2 Turns on Touch, MinR 2
---
[License Info](license.html)
---

View File

@ -1,5 +1,5 @@
% TES TTRPG
<link href="/css/tes.css" rel="stylesheet">
<link href="tes.css" rel="stylesheet">
<link href="/resources/favicon.png" rel="icon">
@ -200,3 +200,7 @@
| Restore Skill |12 |CREA| This effect removes M points of damage currently affecting the target's skill. |
---
[License Info](license.html)
---

11
license.md Normal file
View File

@ -0,0 +1,11 @@
% TES TTRPG
<link href="tes.css" rel="stylesheet">
<link href="/resources/favicon.png" rel="icon">
---
### Media
The background image, UESP-Parchment_Background, is from UESP from user RobinHood70, licensed under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](https://creativecommons.org/licenses/by-sa/3.0/). You can find the UESP wiki page for the image [here](https://en.uesp.net/wiki/File:UESP-Parchment_Background.jpg).
---

View File

@ -1,6 +1,6 @@
% Magical Items
<link href="/css/tes.css" rel="stylesheet">
<link href="tes.css" rel="stylesheet">
[Main](main.html)
@ -91,3 +91,9 @@
| Stumble Charm | Common Amulet | Damage Agility on Touch
| Thunderfall | Extravagent Sapphire Amulet | Shock Damage on Touch
| Woe Charm | Common Amulet | Damage Willpower on Touch
---
[License Info](license.html)
---

View File

@ -1,5 +1,5 @@
% TES TTRPG
<link href="/css/tes.css" rel="stylesheet">
<link href="tes.css" rel="stylesheet">
<link href="/resources/favicon.png" rel="icon">
@ -1639,3 +1639,7 @@ background: #D0D0F5;
</div></dl>
---
[License Info](license.html)
---

View File

@ -1,4 +1,4 @@
<link href="/css/tes.css" rel="stylesheet">
<link href="tes.css" rel="stylesheet">
[Main](main.html)
@ -455,3 +455,8 @@
> ##### Req. 15 Intelligence
> Allows Spellmaking.
---
[License Info](license.html)
---

View File

@ -1,4 +1,4 @@
<link href="/css/tes.css" rel="stylesheet">
<link href="tes.css" rel="stylesheet">
[Main](main.html)
@ -790,3 +790,9 @@
> ## Restore Skill
> **This effect removes M points of damage currently affecting the target's skill.**
---
[License Info](license.html)
---

44
tes.css Normal file
View File

@ -0,0 +1,44 @@
html {
background: #FAEBD7 url(UESP-Parchment_Background.jpg) 0 0 repeat
}
body {
background-color: rgb(251, 239, 213);
margin:2em auto;
max-width:1350px;
padding:1em;
line-height:1.4;
border:1px solid #aaa;
}
pre {
border: 1px solid #ddd;
background-color: #EFE1BC;
padding: 1em;
white-space: pre-wrap;
}
dt {
font-weight: bold;
}
table, th, td {
background: rgb(253, 245, 230);
border: 1px solid black;
border-collapse: collapse;
border-color: rgb(170, 170, 170);
}
th, td {
padding-left: 1ch;
padding-right: 1ch;
text-align: center;
}
th {
background: rgb(245, 222, 179);
}
blockquote {
border-left: 5px solid rgb(245, 222, 179);
margin: 1.5em 10px;
padding-left: 10px;
}

View File

@ -1,6 +1,6 @@
% Alchemy
<link href="/css/tes.css" rel="stylesheet">
<link href="tes.css" rel="stylesheet">
[Main](main.html)
@ -140,3 +140,9 @@
> |-----------------|------------------|---------------|-----------------|
> | Restore Magicka | Spell Absorption | Damage Health | Fortify Magicka |
---
[License Info](license.html)
---