Mark visited links, switch background to white

This commit is contained in:
Tanner Collin 2022-05-18 15:33:59 -06:00
parent 841e45c113
commit 7afea053a2
2 changed files with 23 additions and 6 deletions

View File

@ -25,7 +25,7 @@
{% endblock %} {% endblock %}
{% block info %} {% block info %}
<p><a href="/">Return Home</a></p> <p><a class="return-home" href="/">Return Home</a></p>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
@ -53,4 +53,6 @@
{{ article.content }} {{ article.content }}
</article> </article>
</div> </div>
<p><a class="return-home" href="/">Return Home</a></p>
{% endblock %} {% endblock %}

View File

@ -75,7 +75,7 @@ pre {
} }
.content div.summary p { .content div.summary p {
margin-top: -0.5rem; margin-top: -0.6rem;
margin-left: 1.5rem; margin-left: 1.5rem;
} }
@ -187,7 +187,7 @@ pre {
body { body {
background-color: #eee; background-color: #fff;
color: #000; color: #000;
} }
@ -196,6 +196,16 @@ a {
border-bottom: 1px solid #000; 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 { pre {
background-color: #ddd; background-color: #ddd;
} }
@ -215,12 +225,17 @@ pre {
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
background-color: #000; background-color: #000;
color: #eee; color: #fff;
} }
a { a {
color: #eee; color: #fff;
border-bottom: 1px solid #eee; border-bottom: 1px solid #fff;
}
a:visited {
color: #aaa;
border-bottom: 1px solid #aaa;
} }
pre { pre {