From 9fab9b955e61f8bfc8a67f684c6a656de222f31c Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Wed, 5 Jun 2019 09:55:01 +0200 Subject: Fix selection color in Chrome --- css/main.scss | 2 +- style.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css/main.scss b/css/main.scss index 993cb9c..75a6609 100644 --- a/css/main.scss +++ b/css/main.scss @@ -6,7 +6,7 @@ $text-faint: mix(hsl(210, 100%, 95%), $background, 40%); $text-plus: #fff; $link-idle: $text-plus; $link-visited: $text; -$sel-background: $accent; +$sel-background: rgba($accent, .996); $sel-text: #000; body { diff --git a/style.go b/style.go index 05b7c7f..94ef4c7 100644 --- a/style.go +++ b/style.go @@ -1,3 +1,3 @@ package gopherproxy -var styletext = `body{margin:0;padding:0;background-color:#14171a;color:#cad1d8}.wrap{text-align:center}.content{display:inline-block;min-width:50em;min-width:85ch;margin:0;padding:2em 1em;text-align:left;font-family:'IBM Plex Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Droid Sans Mono', Monaco, Consolas, Courier, monospace;font-size:1em;line-height:1.5}::selection{color:#000;background-color:#efc68a}:link{color:#fff}:visited{color:#cad1d8}.link-type{color:#929ba3}` +var styletext = `body{margin:0;padding:0;background-color:#14171a;color:#cad1d8}.wrap{text-align:center}.content{display:inline-block;min-width:50em;min-width:85ch;margin:0;padding:2em 1em;text-align:left;font-family:'IBM Plex Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Droid Sans Mono', Monaco, Consolas, Courier, monospace;font-size:1em;line-height:1.5}::selection{color:#000;background-color:rgba(239,198,138,0.996)}:link{color:#fff}:visited{color:#cad1d8}.link-type{color:#929ba3}` -- cgit v1.2.3-70-g09d2