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

View File

@ -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 {