about summary refs log tree commit diff
path: root/static/style.css
blob: a44310fe5a5c66a838b7a0299d6f3213385a8016 (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
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');

:root {
  --bg: #F3FFF0;
  --fg: #1E221B;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Roboto Slab', serif;
}

body {
  max-width: 700px;
  padding: 1ex;
  margin: auto;
}

header {
  display: flex;
  align-items: center;
  text-align: center;
}

footer {
  margin-bottom: 2em;
}

.list {
  padding: 1ex;
  border: 1px solid gray;
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
  }
}

main img {
	width: 100%;
	margin-bottom: 2em;
}

main {
	padding-bottom: 2em;
}

.container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
}

.item {
	box-sizing: border-box;
	border: 5px solid var(--fg);
	border-radius: 15px;
	padding: 5px;
	margin: 7px;
	width: 100%;
	max-width: 300px;
	max-height: 400px;
}

.item a {
	display: grid;
	grid-template-rows: 2fr 75px;
}

.item img,
.name img {
	margin: 0;
	border-radius: 10px;
	object-fit: cover;
	max-height: 300px;
}

.item img {
}

.item .name {
	display: grid;
	grid-template-columns: 50px auto;
	grid-template-rows: 1fr;
	align-items: center;
}