diff options
| author | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-05 09:55:01 +0200 |
|---|---|---|
| committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-05 09:55:01 +0200 |
| commit | 9fab9b955e61f8bfc8a67f684c6a656de222f31c (patch) | |
| tree | 3a940ec54b4c84c62601d3031bef6ab650ecb419 | |
| parent | Remove interlacing effect again (diff) | |
| download | gopherproxy-9fab9b955e61f8bfc8a67f684c6a656de222f31c.tar.gz gopherproxy-9fab9b955e61f8bfc8a67f684c6a656de222f31c.tar.bz2 gopherproxy-9fab9b955e61f8bfc8a67f684c6a656de222f31c.zip | |
Fix selection color in Chrome
| -rw-r--r-- | css/main.scss | 2 | ||||
| -rw-r--r-- | 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%); | |||
| 6 | $text-plus: #fff; | 6 | $text-plus: #fff; |
| 7 | $link-idle: $text-plus; | 7 | $link-idle: $text-plus; |
| 8 | $link-visited: $text; | 8 | $link-visited: $text; |
| 9 | $sel-background: $accent; | 9 | $sel-background: rgba($accent, .996); |
| 10 | $sel-text: #000; | 10 | $sel-text: #000; |
| 11 | 11 | ||
| 12 | body { | 12 | body { |
| @@ -1,3 +1,3 @@ | |||
| 1 | package gopherproxy | 1 | package gopherproxy |
| 2 | 2 | ||
| 3 | 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}` | 3 | 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}` |
