aboutsummaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-06-04 19:58:44 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2019-06-04 19:58:44 +0200
commitadca4d518eea9533e6054666ce6e5681c5a6f196 (patch)
tree4e45cf72f1dbb00f23f94aa65daea99b9c6b0f77 /css
parentUpdate import path (diff)
downloadgopherproxy-adca4d518eea9533e6054666ce6e5681c5a6f196.tar.gz
gopherproxy-adca4d518eea9533e6054666ce6e5681c5a6f196.tar.bz2
gopherproxy-adca4d518eea9533e6054666ce6e5681c5a6f196.zip
Add custom styles
Diffstat (limited to 'css')
-rw-r--r--css/main.scss58
1 files changed, 58 insertions, 0 deletions
diff --git a/css/main.scss b/css/main.scss
new file mode 100644
index 0000000..dfda503
--- /dev/null
+++ b/css/main.scss
@@ -0,0 +1,58 @@
1$background: hsl(210, 14%, 9%);
2$text: mix(hsl(210, 60%, 95%), $background, 85%);
3$text-minus: mix(hsl(210, 100%, 95%), $background, 60%);
4$text-faint: mix(hsl(210, 100%, 95%), $background, 40%);
5$text-plus: #fff;
6$sel-background: $text;
7$sel-text: #000;
8
9@font-face {
10 font-family: 'IBM Plex Mono';
11 font-style: normal;
12 font-weight: normal;
13 src: url('/assets/IBMPlexMono-Regular.woff2') format('woff2'),
14 url('/assets/IBMPlexMono-Regular.woff') format('woff');
15}
16
17body {
18 background-color: $background;
19 color: $text;
20}
21
22.wrap {
23 text-align: center;
24}
25
26.content {
27 display: inline-block;
28 min-width: 50em;
29 margin: 0;
30 padding: 2em 1em;
31 text-align: left;
32 font-family: 'IBM Plex Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Droid Sans Mono', Monaco, Consolas, Courier, monospace;
33 font-size: 1em;
34 line-height: 1.5;
35}
36
37::selection {
38 color: $sel-text;
39 background-color: $sel-background;
40}
41
42:link {
43 color: $text-plus;
44}
45
46:visited {
47 color: $text;
48}
49
50:link, :visited {
51 &:hover {
52 color: $text-plus;
53 }
54}
55
56.link-type {
57 color: $text-minus;
58}