blob: 78449928d80943abe5414044c785a99299f86cea (
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
|
#bio .emph1 {
font-weight: 600;
color: #467d20;
}
#bio .emph2 {
font-weight: 600;
color: var(--gold);
}
#bio .emph3 {
font-weight: 600;
color: #404040;
}
#photos p.name {
font-weight: 600;
}
#photos p.instrument {
color: #483200;
}
@media (min-width: 50em) {
main {
max-width: 55em;
justify-self: center;
}
main #photos {
display: grid;
grid-template-columns: repeat(4, auto);
justify-content: space-between;
width: 100%;
}
#photos > a.member {
display: block;
height: 100%;
text-decoration: none;
}
#photos img.portrait {
/* Center portraits horizontally within a.member. Alternative: set
* a.member to display: flex, flex-direction: column. */
display: block;
margin-left: auto;
margin-right: auto;
max-height: 60vh;
transition: filter 1s, transform 1s;
}
#photos a:hover img.portrait, #photos a:focus img.portrait {
transform: scale(1.05);
}
#photos p {
margin: 0;
}
}
@media not all and (min-width: 50em) {
#photos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(20%, 50%));
justify-content: space-evenly;
width: 100%;
}
#photos > a.member {
display: block;
text-decoration: none;
}
#photos img.portrait {
display: block;
margin-left: auto;
margin-right: auto;
max-height: 60vh;
}
#photos p {
margin: 0;
text-align: center;
}
}
|