summaryrefslogtreecommitdiffstats
path: root/sass/style.scss
blob: 1645ee263924a5f9b730d676c2e5ad59becc1678 (plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
@import "colors", "code", "syntax";

html {
  background: var(--bg_s);
  color: var(--fg);
  font-size: 14pt;
  font-family: monospace;

  display: flex;
  flex-direction: column;
  height: 100%;
}

::selection {
  color: var(--bg);
  background-color: var(--fg);
}

body {
  height: 100%;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  margin: 0 auto 1;
  line-height: 1.4;
  align-self: center;
}

body > header > nav {
  display: flex;

  h1 {
    display: flex;
  }

  ul {
    display: flex;
    margin-left: auto;
    column-gap: 1rem;

    list-style: none;

    li {
      display: flex;
      align-items: center;
    }
  }

  a,
  a:visited {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: bold;
    text-decoration: none;
  }

  a.active {
    color: var(--orange-dim);
  }

  a:hover {
    text-decoration: underline;
  }
}

article,
aside,
main,
nav,
section {
  header {
    h1 {
      color: var(--orange);
      margin-bottom: 0;
      + * {
        color: var(--gray-dim);
        margin-top: 0;
      }
    }

    nav {
      text-align: left;
      font-size: 0.9rem;
      margin-bottom: 2rem;
    }
  }
}

footer {
  text-align: center;
  font-size: 0.8rem;
  margin-top: auto;
}

a {
  color: var(--aqua);
}

a:visited {
  color: var(--aqua-dim);
}

a:hover {
  text-decoration: none;
}

a:active {
  background: var(--orange-dim);
}