From 75c662e7b01e4f85fbe3e500158239bc244f8112 Mon Sep 17 00:00:00 2001 From: s-ol Date: Sun, 8 Mar 2020 18:23:31 +0100 Subject: add internals docs --- docs/.gitignore | 4 +++- docs/style.css | 14 +++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/.gitignore b/docs/.gitignore index 3014dfc..834a17b 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,2 +1,4 @@ *.html -copilot +ldoc.* +internals +reference diff --git a/docs/style.css b/docs/style.css index cc84456..e063e58 100644 --- a/docs/style.css +++ b/docs/style.css @@ -13,6 +13,8 @@ body { font-family: 'Source Sans Pro', sans-serif; color: #222222; + + overflow-y: scroll; } @media (max-width: 699px) { body { @@ -21,7 +23,7 @@ body { } article { - padding: 3rem 2em 1em; + padding: 4rem 2em 1em; } code { @@ -31,7 +33,6 @@ code { padding: 0.03em 0.2em; } - pre { white-space: pre-wrap; padding: 0.5rem 1rem; @@ -59,9 +60,9 @@ a { color: inherit; } -ul { +ul, ol { list-style: '- '; - margin: 0; + margin: 0.5em 0; padding-left: 0.6em; } @@ -90,6 +91,10 @@ nav a { nav > a { margin-left: 1rem; + text-decoration: none; +} +nav > a.active { + text-decoration: underline; } nav span a { @@ -140,5 +145,4 @@ a:hover code, .nest > p { margin: 0; - white-space: pre-wrap; } -- cgit v1.2.3