Give it it's own CSS file.

It's good enough for now.
This commit is contained in:
sforman 2023-09-28 18:35:54 -07:00
parent aeb1eee646
commit c3054377a6
6 changed files with 1050 additions and 1148 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
body {
background: #fff;
color: black;
font-family: 'EB Garamond 12';
}
footer {
margin-top: 2em;
font-family: 'EB Garamond SC 08';
font-size: x-small;
text-align: center;
}
code {
background: #eee;
}
pre {
background: #eee;
margin-left: 2em;
margin-right: 2em;
margin-bottom: 1em;
font-family: 'Inconsolata';
padding: 0.5em;
}
blockquote {
font-family: monospace, 'Inconsolata';
background: #eee;
border-left: 0.2em solid black;
padding: 0.5em;
}

View File

@ -13,6 +13,8 @@
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
</style>
<link rel="stylesheet" href="/css/fonts.css" />
<link rel="stylesheet" href="/css/func_ref.css" />
</head>
<body>
<header id="title-block-header">
@ -211,6 +213,7 @@
<li><a href="#zip">zip</a></li>
</ul>
</nav>
<p><a href="/">Home</a></p>
<p>Version -10.0.0</p>
<p>Each function, combinator, or definition should be documented here.</p>
<hr />

View File

@ -1,4 +1,5 @@
# Thun Function Reference
[Home](/)
Version -10.0.0

View File

@ -1,5 +0,0 @@
Version -10.0.0
Each function, combinator, or definition should be documented here.

View File

@ -1,17 +1,11 @@
FUNCDOCS = $(wildcard ../*.md)
TITLE = --metadata title="Thun Function Reference"
TOC = --toc --toc-depth=2
CSS = --css=/css/fonts.css --css=/css/func_ref.css
all: mov
FuncRef.html: Function-Reference.md
pandoc -s $(TOC) $(TITLE) --ascii Function-Reference.md -o FuncRef.html
Function-Reference.md: HEADER.md $(FUNCDOCS)
awk 'FNR==1 && NR > 1 {print ""}1' HEADER.md $(FUNCDOCS) > Function-Reference.md
# https://stackoverflow.com/questions/8183191/concatenating-files-and-insert-new-line-in-between-files
# WTF would we do w/o the Internet? Know our tools well?
pandoc -s $(TOC) $(TITLE) $(CSS) --ascii Function-Reference.md -o FuncRef.html
mov: FuncRef.html
cp -v $? ../../html/
cp -v $? ../html/