aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorboasting-squirrel <boasting.squirrel@gmail.com>2019-03-02 20:23:42 +0000
committerboasting-squirrel <boasting.squirrel@gmail.com>2019-03-02 20:23:42 +0000
commit9c0a5ad85af57b4646c64cc14102d8dc7a8011bc (patch)
treee53d7c5665637af2f3439a7f720be277751f07c3 /src
parentAdded back to top button + various CSS improvements + re-order functions in r... (diff)
downloadminiserve-9c0a5ad85af57b4646c64cc14102d8dc7a8011bc.tar.gz
miniserve-9c0a5ad85af57b4646c64cc14102d8dc7a8011bc.zip
Reset color of visited link in back to top button
Diffstat (limited to 'src')
-rw-r--r--src/renderer.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index e419cb0..2cb9ae7 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -249,7 +249,9 @@ fn css() -> Markup {
padding: 1rem 1.1rem;
color: #444444;
}
-
+ .back:visited {
+ color: #444444;
+ }
.back:hover {
color: #3498db;
text-decoration: none;