Skip to content

Commit

Permalink
Add container based layout for markdown pages (#6)
Browse files Browse the repository at this point in the history
<!-- LIST CHANGES HERE -->
  • Loading branch information
norwd authored Oct 9, 2024
2 parents d1e45d4 + e0a0125 commit b8f49b5
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ jobs:
make -f - << \EOF
all: $(patsubst %.md,%.html,$(wildcard *.md */*.md */*/*.md))
rm -f header.html
%.html: %.md
pandoc --from markdown+yaml_metadata_block+backtick_code_blocks+fenced_code_attributes+inline_notes+emoji --to html --standalone $< --output $@
pandoc --include-in-header=header.html --from markdown+yaml_metadata_block+backtick_code_blocks+fenced_code_attributes+inline_notes+emoji --to html --standalone $< --output $@
EOF
Expand Down
19 changes: 15 additions & 4 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.center {
text-align: center;
}

.serif {
font-family: Times, "Times New Roman", Georgia, serif;
}
Expand All @@ -13,3 +9,18 @@
.monospace {
font-family: "Lucida Console", Courier, monospace;
}

* {
font-family: Verdana, Arial, Helvetica, sans-serif;
}

.container {
height: 200px;
display: flex;
align-items: center;
justify-content: center;
}

.item {
width: 10em;
}
3 changes: 3 additions & 0 deletions header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
<link rel="icon" href="favicon.ico">
<link href="css/main.css" rel="stylesheet">
18 changes: 0 additions & 18 deletions index.html

This file was deleted.

6 changes: 6 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
lang: en
title-meta: ThisTimeStamp
---

# Coming Soon!

0 comments on commit b8f49b5

Please sign in to comment.