Added coloration for selections and contrasting (#476)

color for anchor elements when selected
This commit is contained in:
Kenneth Steimel 2019-03-13 16:54:48 -04:00 committed by Baptiste Gelez
parent 42dca3daae
commit 4ff56c6407
2 changed files with 13 additions and 2 deletions

View File

@ -4,13 +4,24 @@ html, body {
background: $background; background: $background;
color: $black; color: $black;
font-family: $route159; font-family: $route159;
::selection {
background: $lightpurple;
}
::-moz-selection {
background: $lightpurple;
}
} }
a, a:visited { a, a:visited {
color: $purple; color: $purple;
text-decoration: none; text-decoration: none;
} }
a::selection {
color: $white;
}
a::-moz-selection {
color: $white;
}
small { small {
margin-left: 1em; margin-left: 1em;
color: transparentize($black, 0.6); color: transparentize($black, 0.6);

View File

@ -1,5 +1,4 @@
// Colors // Colors
$background: #F4F4F4; $background: #F4F4F4;
$form-input-background: #FFFFFF; $form-input-background: #FFFFFF;
$gray: #E3E3E3; $gray: #E3E3E3;
@ -7,6 +6,7 @@ $lightgray: #ECECEC;
$black: #242424; $black: #242424;
$white: #F4F4F4; $white: #F4F4F4;
$purple: #7765E3; $purple: #7765E3;
$lightpurple: #c2bbee;
$red: #E92F2F; $red: #E92F2F;
// Fonts // Fonts