From ce19e19efce3139d2c7b4024274b6ed2683e015e Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Tue, 4 Jun 2019 22:28:02 +0200 Subject: Style improvements --- css/main.scss | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'css') diff --git a/css/main.scss b/css/main.scss index dfda503..8ae988e 100644 --- a/css/main.scss +++ b/css/main.scss @@ -1,20 +1,17 @@ +$accent: scale-color(#e8ad58, $lightness: 30%); $background: hsl(210, 14%, 9%); $text: mix(hsl(210, 60%, 95%), $background, 85%); $text-minus: mix(hsl(210, 100%, 95%), $background, 60%); $text-faint: mix(hsl(210, 100%, 95%), $background, 40%); $text-plus: #fff; -$sel-background: $text; +$link-idle: $text-plus; +$link-visited: $text; +$sel-background: $accent; $sel-text: #000; -@font-face { - font-family: 'IBM Plex Mono'; - font-style: normal; - font-weight: normal; - src: url('/assets/IBMPlexMono-Regular.woff2') format('woff2'), - url('/assets/IBMPlexMono-Regular.woff') format('woff'); -} - body { + margin: 0; + padding: 0; background-color: $background; color: $text; } @@ -40,18 +37,18 @@ body { } :link { - color: $text-plus; + color: $link-idle; } :visited { - color: $text; + color: $link-visited; } -:link, :visited { - &:hover { - color: $text-plus; - } -} +// :link, :visited { +// &:hover { +// color: $text-plus; +// } +// } .link-type { color: $text-minus; -- cgit v1.2.3-70-g09d2