The old Pelican theme I used to use for mcol.xyz
git clone https://mcol.xyz/code/rice-theme
Log | Files | Refs | README

commit dbb072b91edff68cd6b5f3ee1abdf22387d568aa
parent 8be9a85519c7c72d8ede31634fa7e5faae2e4c80
Author: mcol <mcol@posteo.net>
Date:   Sun,  9 Aug 2020 21:49:25 +0100

take page content out of its own div and use page scrolling

Diffstat:
Mstatic/css/main.css | 17++++++++---------
Mtemplates/withnav.html | 6++----
2 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/static/css/main.css b/static/css/main.css @@ -40,7 +40,6 @@ html { } .body { - height: 96vh; display: flex; justify-content: space-evenly; flex-direction: row; @@ -214,9 +213,8 @@ h1 a:hover { } #page { - height: 100%; - overflow: auto; - width: calc(85% - 428px); + width: calc(74% - 428px); + padding-bottom: 3%; } .art-info { @@ -255,6 +253,12 @@ table { display: block; } +#page h1 a, +#ar a +{ + color: var(--text); +} + .cats { font-family: var(--mono); } @@ -282,11 +286,6 @@ table { grid-column: 1 / 2; } -#ar a, -#page h1 a { - color: var(--text); -} - .ar-art { padding-top: 10px; grid-column: 1; diff --git a/templates/withnav.html b/templates/withnav.html @@ -10,10 +10,8 @@ </div> <div id=page> - <div> - {% block content %} - {% endblock %} - </div> + {% block content %} + {% endblock %} </div> {% endblock %}