Fixed visited links
diff --git a/dev/scss/base.scss b/dev/scss/base.scss
index 13cec6f..2fe143d 100644
--- a/dev/scss/base.scss
+++ b/dev/scss/base.scss
@@ -43,11 +43,6 @@
}
}
- // Visited links
- &:visited {
- color: $darkest-orange;
- }
-
// External links
&[href^="http://"]::after,
&[href^="https://"]::after {
diff --git a/dev/scss/footer/footer.scss b/dev/scss/footer/footer.scss
index a8a5d02..21d79a9 100644
--- a/dev/scss/footer/footer.scss
+++ b/dev/scss/footer/footer.scss
@@ -15,11 +15,10 @@
margin: 0 .5em;
color: $light-grey;
}
- &:hover {
- color: $nearly-white;
+ a:visited {
+ color: $light-grey;
}
- &:active,
- &:visited {
- color: $dark-grey;
+ a:hover {
+ color: $nearly-white;
}
}
diff --git a/dev/scss/main/main.scss b/dev/scss/main/main.scss
index 8f23bbd..f0ff84b 100644
--- a/dev/scss/main/main.scss
+++ b/dev/scss/main/main.scss
@@ -12,6 +12,11 @@
div.intro {
width: 70%;
min-width: 600px;
+
+ // Visited links
+ a:visited {
+ color: $darkest-orange
+ }
}
diff --git a/dev/scss/main/sidebar.scss b/dev/scss/main/sidebar.scss
index c76d67a..ce267fa 100644
--- a/dev/scss/main/sidebar.scss
+++ b/dev/scss/main/sidebar.scss
@@ -64,6 +64,10 @@
padding: 0;
> a {
padding: $item-padding;
+ &:visited {
+ @include choose-item;
+ }
+
}
li.folded {
@@ -87,10 +91,6 @@
}
display: block;
- &:visited {
- @include choose-item;
- // color: inherited;
- }
&:hover {
// color: inherit;
transition: none;