summaryrefslogtreecommitdiff
path: root/public/global.css
blob: 829d40c25ced565244eb9354c2163c640b42fc25 (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
body {
  margin: 0;
  font-family: sans;
}

header {
  background: #171717;
  color: #fff;
  overflow: hidden;
  padding: 0 1em;
  display: flex;
  align-items: center;
  gap: 2em;
  height: 4rem;
}

header h1 {
  margin: 1rem 0;
  line-height: 1;
}

header nav {
  display: flex;
  height: 4rem;
  align-items: stretch;
}

header nav a {
  display: block;
  height: 100%;
  padding: 0 1rem;
  line-height: 4rem;
  color: #fff;
  text-decoration: none;
}

header nav a:hover {
  background: #272727;
}

.banner {
  text-align: center;
  position: relative;
  background-color: #333;
  color: #fff;
  overflow: hidden;
  padding: 3em 0;
}

.banner .banner-background {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  filter: blur(20px) brightness(50%);
  object-fit: cover;
}

.banner .banner-title {
  font-size: 3em;
  position: relative;
  z-index: 100;
}

main {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 1rem;
}

main img {
  max-width: 100%;
}

footer {
  font-size: 16px;
  font-family: monospace;
  margin: 1rem auto;
  text-align: center;
}

footer div.git-hash {
  color: var(--overlay-1);
  margin: 0.5em;
  font-size: 0.8em;
}