diff --git a/themes/theme/templates/article.html b/themes/theme/templates/article.html index 655ff6c..2cad47b 100644 --- a/themes/theme/templates/article.html +++ b/themes/theme/templates/article.html @@ -25,7 +25,7 @@ {% endblock %} {% block info %} -

Return Home

+

Return Home

{% endblock %} {% block content %} @@ -53,4 +53,6 @@ {{ article.content }} + +

Return Home

{% endblock %} diff --git a/themes/theme/templates/style.css b/themes/theme/templates/style.css index 7e25a77..52c1ab8 100644 --- a/themes/theme/templates/style.css +++ b/themes/theme/templates/style.css @@ -75,7 +75,7 @@ pre { } .content div.summary p { - margin-top: -0.5rem; + margin-top: -0.6rem; margin-left: 1.5rem; } @@ -187,7 +187,7 @@ pre { body { - background-color: #eee; + background-color: #fff; color: #000; } @@ -196,6 +196,16 @@ a { border-bottom: 1px solid #000; } +a:visited { + color: #555; + border-bottom: 1px solid #555; +} + +a.return-home:visited, a.toclink:visited, .toc a:visited { + color: inherit; + border-bottom: inherit; +} + pre { background-color: #ddd; } @@ -215,12 +225,17 @@ pre { @media (prefers-color-scheme: dark) { body { background-color: #000; - color: #eee; + color: #fff; } a { - color: #eee; - border-bottom: 1px solid #eee; + color: #fff; + border-bottom: 1px solid #fff; + } + + a:visited { + color: #aaa; + border-bottom: 1px solid #aaa; } pre {