summaryrefslogtreecommitdiff
path: root/static/style.css
blob: 04b29217900f048c2eff7c7c8827c182a9f13263 (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
ul {
	list-style-type: none;
	padding: 0px;
}

li > a > div {
	padding: 20px;
	background: #ccc;
	border: 1px solid black;
	text-align: center;
	transition: background 0.5s;
}

li > a > div:hover {
	background: #bbb;
}

#container {
	display: grid;
	grid-auto-rows: auto;
	align-items: center;
}


@media only screen and (min-width: 1224px) {
	#container {
		grid-template-columns: auto auto auto auto auto;
	}
}

@media only screen and (min-width: 1440px) {
	#container {
		grid-template-columns: auto auto auto auto auto auto auto;
	}
}

@media only screen and (max-width: 1224px) {
	#container {
		display: grid;
		grid-template-columns: auto auto auto;
		grid-auto-rows: auto;
		align-items: center;
	}
}

.img {
	margin: auto;
	display: inline-grid;
	align-content: center;
	height: 100%;
	border: 1px solid black;
	transition: filter 0.5s, background 0.5s;
}

.img:hover {
	background: #ccc;
	filter: brightness(85%);
}

img {
	width: 100%;
}