summaryrefslogtreecommitdiff
path: root/src/scss/people.scss
blob: 8d07f4a6fc3350017789d559cb13cdf233a10e37 (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
@import "./variables";
@import "./mixins";

$profile-width: 16em;

main#main {
	.title {
		margin-top: $outer-gap;
		font-size: 3em;
		margin-bottom: 0;
	}

	> hr {
		margin-bottom: $outer-gap;
	}
}

#people-container {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(auto-fill, minmax($profile-width, 1fr) );
	grid-auto-rows: max-content;
	grid-gap: 2em;
	padding-left: $outer-gap;
	padding-right: $outer-gap;

	.profile {
		width: $profile-width;
		text-decoration: none;
		margin-left: auto;
		margin-right: auto;

		&:hover {
			outline: 1px solid $blue;
		}

		.name {
			font-weight: bold;
			font-size: 1.5em;
		}

		.pfp {
			border-radius: $inner-gap / 4;
			width: 100%;
			height: 100%;
			margin-bottom: $inner-gap;
		}
	}
}

#no-people {
	font-weight: bold;
	font-size: 1.2em;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}