aboutsummaryrefslogtreecommitdiffstats
path: root/root/static/style/reset/text$x-scss.scss
blob: 7537bd96f2432d73df0932208ba28bd6457c9cd6 (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
* {
  font-weight: inherit;
  font-style: inherit;
  font-family: inherit;
  color: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { font-family: 'Source Sans Pro'; }
body, html, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 { font-weight: bold; }
h1 { font-size: 1.6em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.17em; }
h4, h5, h6 { font-size: 1em; }

input, select, button {
  color: initial;
  &:disabled {
    color: graytext;
  }
}
tt, code, kbd, samp { font-family: 'Source Code Pro', monospace; }
code { font-size: 0.8em; }
b, strong { font-weight: bold; }
em, i { font-style: italic; }
hr { clear: both; }
ul { margin: 0; padding-inline-start: 2em; }

sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub { top: 0.4em; }

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: $gray-bright;
  font-family: sans-serif;

  min-height: 100vh;
}

a {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: transparent;
  cursor: pointer;

  &:hover {
    filter: invert(40%);
    text-decoration-color: currentColor;
  }

  transition: filter 500ms, text-decoration-color 500ms;
}

::selection {
  background: $gray-dark;
  color: $gray-bright;
  padding: 1em;
}