Mark visited links, switch background to white

master
Tanner Collin 2 years ago
parent 841e45c113
commit 7afea053a2
  1. 4
      themes/theme/templates/article.html
  2. 25
      themes/theme/templates/style.css

@ -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 %}

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

Loading…
Cancel
Save