1
0
Fork 0

[SITE CSS] add style for visited links

This commit is contained in:
Jannik Beyerstedt 2016-04-27 21:52:55 +02:00
parent e6b11f4585
commit d22adf0f81
7 changed files with 24 additions and 0 deletions

View file

@ -26,6 +26,12 @@ a {
a:active, a:hover, a:focus { a:active, a:hover, a:focus {
color: #1f7001; } color: #1f7001; }
main p a {
text-decoration: underline; }
main p a:visited {
color: #999999; }
blockquote { blockquote {
font-size: 1.4em; font-size: 1.4em;
border-left: 4px solid #dddddd; border-left: 4px solid #dddddd;

Binary file not shown.

View file

@ -10,6 +10,9 @@ a {
a:active, a:hover { a:active, a:hover {
color: #42ef01; } color: #42ef01; }
main p a:visited {
color: #cccccc; }
@media (min-width: 544px) { @media (min-width: 544px) {
nav ul.nav.main { nav ul.nav.main {
color: #fff; } } color: #fff; } }

Binary file not shown.

View file

@ -5,6 +5,7 @@ $color_accent: #2da301;
$link_color: $color_accent; $link_color: $color_accent;
$link_active: darken($color_accent, 10%); $link_active: darken($color_accent, 10%);
$link_visited: lighten($color_font, 60%);
$col_xxs_bp: 543px; $col_xxs_bp: 543px;
@ -21,3 +22,4 @@ $color_bg_inv: #424242;
$color_font_inv: #fff; $color_font_inv: #fff;
$link_color_inv: lighten($color_accent, 5%); $link_color_inv: lighten($color_accent, 5%);
$link_active_inv: lighten($color_accent, 15%); $link_active_inv: lighten($color_accent, 15%);
$link_visited_inv: darken($color_font_inv, 20%);

View file

@ -33,6 +33,14 @@ a {
color: $link_active; color: $link_active;
} }
} }
main p {
a {
text-decoration: underline;
}
a:visited {
color: $link_visited;
}
}
blockquote { blockquote {
font-size: 1.4em; font-size: 1.4em;
border-left: 4px solid #dddddd; border-left: 4px solid #dddddd;

View file

@ -18,6 +18,11 @@ a {
color: $link_active_inv; color: $link_active_inv;
} }
} }
main p {
a:visited {
color: $link_visited_inv;
}
}
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
nav { nav {
ul.nav.main { ul.nav.main {