summaryrefslogtreecommitdiff
path: root/sass/_base.scss
blob: 5546dece0de6a62a21baf1e5795c04ab1c7459ff (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
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

main,
article,
section,
div {
  min-width: 0;
}

a {
  color: var(--color-link);
  text-decoration-line: underline;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-link-hover);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

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

.external-link::after {
  display: inline-block;
  margin-left: 0.2em;
  content: "↗";
  font-size: 0.78em;
  text-decoration: none;
}