Generate a table of nethack entries from data/nethack/nutmeg.json

This commit is contained in:
Eryn Wells 2022-04-16 08:44:49 -07:00
parent a5a226a5b3
commit 307a02eea1
3 changed files with 79 additions and 0 deletions

View file

@ -1,6 +1,10 @@
---
title: "Nethack"
description: In which I play way too much of a silly command line Rogue-like game.
date: 2022-04-13T08:43:46-07:00
draft: true
---
Herein is a chronological accounting of my descents into the Dungeons of Doom.
{{< nethack_table >}}

32
content/nethack/style.css Normal file
View file

@ -0,0 +1,32 @@
/* Eryn Wells <eryn@erynwells.me> */
.logfile li {
display: block;
margin-block-start: 2rem;
}
.logfile dt {
margin-block-start: 2rem;
}
table.stats {
border: 0;
width: 100%;
-webkit-border-horizontal-spacing: 0;
-webkit-border-vertical-spacing: 0;
}
table.stats td {
color: #aaa;
font-size: 1.75rem;
font-weight: 700;
padding: 0;
text-transform: uppercase;
}
table.stats td.score,
table.stats td.hp,
table.stats td.level {
width: 16rem;
text-align: right;
}