aboutsummaryrefslogtreecommitdiffstats
path: root/css/main.scss
blob: dfda50389d8c37f9724d6b9192143bf107c805bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$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;
$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 {
    background-color: $background;
    color:            $text;
}

.wrap {
    text-align: center;
}

.content {
    display:     inline-block;
    min-width:   50em;
    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:            $sel-text;
    background-color: $sel-background;
}

:link {
    color: $text-plus;
}

:visited {
    color: $text;
}

:link, :visited {
    &:hover {
        color: $text-plus;
    }
}

.link-type {
    color: $text-minus;
}