aboutsummaryrefslogtreecommitdiff
path: root/assets/static/css/gallery.css
blob: c72dd80e2d92c28440f0d18f9f712d3940987d43 (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
* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100vh;
	background-color: #faf6e5;
	font-family: Helvetica, Verdana, sans-serif;
}

.header-container,
.gallery-container {
	width: 90vw;
	height: auto;
	margin: 0 auto;
	padding: 1em;
}

.album-container {
	display: flex;
	flex-wrap: wrap;
}

.album-container a {
	text-decoration: none;
	flex-grow: 1;
	height: 150px;
}

.album-container img {
	max-height: 100%;
	min-width: 100%;
	object-fit: cover;
}

.album-container::after {
	content: "";
	flex-grow: 10;
}

.image-container {
	text-align: center;
	background-color: #000;
}

.image-container img {
	display: inline-block;
	max-width: 100vw;
	max-height: 85vh;
}

.control-btn {
	display: inline-block;
	text-decoration: none;
	padding: 0.5em;
	color: #fff !important;
}

.control-btn:hover {
	text-decoration: none;
	background-color: #333;
	color: #fff;
}

.control-btn.hidden {
	visibility: hidden;
}

@media (prefers-color-scheme: dark) {
	html, body {
		background-color: #151517;
		color: #fcf8e2;
	}

	a {
		color: #3f6e90;
	}

	a:visited {
		color: #9c6992;
	}
}