aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/style.css
blob: 3ea07c0ef237b4c0c72ed3ad586f44afa559f622 (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
html,
body {
  background: white;
  color: black;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  background: #3b005e;
  color: white;
  padding: 16px;
  margin-bottom: 8px;
  display: flex;
  width: 100vw;
  box-sizing: border-box;

  *:not(:last-child) {
    margin-right: 8px;
  }
}

#siteTitle {
  font-weight: bold;
}

main {
  width: min(800px, 100vw);
}

article.note {
  background: #eee;
  color: black;
  border-radius: 16px;
  margin: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px;

  img.authorAvatar {
    width: 64px;
    aspect-ratio: 1;
  }

  .authorName {
    font-weight: bold;
  }
}