diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-20 18:16:12 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-20 18:16:12 +0200 |
commit | 6f07c75f2ae1c3b164b66c2d7ed5fde242f8a744 (patch) | |
tree | 1fab37a8902d9fb0746db6144f1a43d091cd70be /css | |
parent | Make output about ignored robots.txt optional (diff) | |
download | gopherproxy-6f07c75f2ae1c3b164b66c2d7ed5fde242f8a744.tar.gz gopherproxy-6f07c75f2ae1c3b164b66c2d7ed5fde242f8a744.tar.bz2 gopherproxy-6f07c75f2ae1c3b164b66c2d7ed5fde242f8a744.zip |
Add navigation header
Diffstat (limited to 'css')
-rw-r--r-- | css/main.scss | 50 |
1 files changed, 34 insertions, 16 deletions
diff --git a/css/main.scss b/css/main.scss index 367f2d7..61787b5 100644 --- a/css/main.scss +++ b/css/main.scss | |||
@@ -6,6 +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 | $border: mix(hsl(210, 100%, 95%), $background, 16%); | ||
9 | $sel-background: rgba($accent, .996); | 10 | $sel-background: rgba($accent, .996); |
10 | $sel-text: #000; | 11 | $sel-text: #000; |
11 | 12 | ||
@@ -30,22 +31,6 @@ body { | |||
30 | color: $text; | 31 | color: $text; |
31 | } | 32 | } |
32 | 33 | ||
33 | .wrap { | ||
34 | text-align: center; | ||
35 | } | ||
36 | |||
37 | .content { | ||
38 | display: inline-block; | ||
39 | min-width: 50em; | ||
40 | min-width: 5ch + 80; | ||
41 | margin: 0; | ||
42 | padding: 2em 1em; | ||
43 | text-align: left; | ||
44 | font-family: 'Iosevka Term SS03', 'IBM Plex Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Droid Sans Mono', Monaco, Consolas, Courier, monospace; | ||
45 | font-size: 1 / 16 * 17em; | ||
46 | line-height: 1.5; | ||
47 | } | ||
48 | |||
49 | ::selection { | 34 | ::selection { |
50 | color: $sel-text; | 35 | color: $sel-text; |
51 | background-color: $sel-background; | 36 | background-color: $sel-background; |
@@ -65,6 +50,39 @@ body { | |||
65 | // } | 50 | // } |
66 | // } | 51 | // } |
67 | 52 | ||
53 | .header { | ||
54 | padding: 1em; | ||
55 | border-bottom: 1px solid $border; | ||
56 | font-family: 'Iosevka Term SS03', 'IBM Plex Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Droid Sans Mono', Monaco, Consolas, Courier, monospace; | ||
57 | font-size: 1 / 16 * 17em; | ||
58 | line-height: 1.1; | ||
59 | color: $text-faint; | ||
60 | } | ||
61 | |||
62 | .header__uripart { | ||
63 | color: $text-minus; | ||
64 | } | ||
65 | |||
66 | .header__uripart--last { | ||
67 | color: $text-plus; | ||
68 | } | ||
69 | |||
70 | .wrap { | ||
71 | text-align: center; | ||
72 | } | ||
73 | |||
74 | .content { | ||
75 | display: inline-block; | ||
76 | min-width: 50em; | ||
77 | min-width: 5ch + 80; | ||
78 | margin: 0; | ||
79 | padding: 2em 1em; | ||
80 | text-align: left; | ||
81 | font-family: 'Iosevka Term SS03', 'IBM Plex Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Droid Sans Mono', Monaco, Consolas, Courier, monospace; | ||
82 | font-size: 1 / 16 * 17em; | ||
83 | line-height: 1.5; | ||
84 | } | ||
85 | |||
68 | .link-type { | 86 | .link-type { |
69 | color: $text-minus; | 87 | color: $text-minus; |
70 | } | 88 | } |