summaryrefslogtreecommitdiff
path: root/sass/style.scss
blob: efb494dd0d4abf8a88f0b93f73085ea8d90d5f05 (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
html {
  font-family: sans-serif;
}

header,
main,
footer {
  max-width: 40em;
  margin: 0 auto;
}

footer {
  text-align: center;
}

time.right {
  float: right;
}

// blockquotes modified, from spacetchi (spacetchi.net)
blockquote,
blockquote a,
q {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  color: #79740e;
  @media (prefers-color-scheme: dark) {
    color: #98971a;
  }
}

blockquote > *:before,
q:before {
  content: ">";
  display: inline;
}

ol,
ul {
  white-space: nowrap;
  padding-left: 16px;
}

li {
  margin-bottom: 8px;
}

a {
  text-decoration: underline;
  padding: 5px;
}

body,
a {
  background-color: #fbf1c7;
  color: #3c3836;
  // a:visited {
  //   color: #076678;
  // }
  @media (prefers-color-scheme: dark) {
    background-color: #282828;
    color: #ebdbb2;
  }
}

// syntax highlighting
.giallo-l {
  display: inline-block;
  min-height: 1lh;
  width: 100%;
}
.giallo-ln {
  display: inline-block;
  user-select: none;
  margin-right: 0.4em;
  padding: 0.4em;
  min-width: 3ch;
  text-align: right;
  opacity: 0.8;
}

header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-height: 2em;
}