about summary refs log tree commit diff
path: root/static/css/custom.css
blob: 066803e1ca6d9c59e09f13418fe5e20a0ad201ef (plain) (blame)
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
---
---

body {
  font-family: serif;
}

.webring {
  margin-top: 2rem;
}

.webring h2 {
  font-size: 1.2rem;
}

.webring .articles {
  width: 100%;
  display: flex;
}

.webring .title {
  margin: 0;
}

.webring .article {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  border: 1px solid #333;
  margin: 0 0.5rem;
}

@media(max-width: 640px) {
  .webring .articles {
    flex-direction: column;
  } 
  .webring .article {
    margin: 0.5rem 0;
  }
}

.webring .article:first-child {
  margin-left: 0;
}

.webring .article:last-child {
  margin-right: 0;
}

.webring .summary {
  font-size: 0.8rem;
  flex: 1 1 0;
}

.webring .attribution {
  float: right;
  font-size: 0.8rem;
  color: #555;
  line-height: 3;
}

dl dt {
  font-weight: bold;
}
dl dd {
  text-indent: 1em;
}