File size: 3,030 Bytes
2409829
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
.call-to-action.call-to-action.call-to-action {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	gap: calc(var(--font-size-link) * 0.8);
	margin: calc(40 * var(--variable-px)) 0;

	span {
		display: flex;
		flex-direction: column;
		justify-content: center;

		em {
			text-align: center;
			margin-top: 0.5em;
		}
	}

	.button {
		margin: 0;
	}
}

.statistics:has(span:empty) {
	visibility: hidden;
}

#supporter-memberships,
#corporate-sponsorships {
	.triptych {
		gap: 10px;
		margin-top: 10px;

		a {
			flex-basis: calc(100% / 3 - 10px - (var(--feature-box-padding) * var(--variable-px)));
		}
	}

	.triptych + .block,
	.feature-box-inner > .block + :is(.block, .triptych) {
		margin-top: calc(var(--feature-box-padding) / 2 * var(--variable-px));
	}

	.triptych + .block {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.action-buttons {
		gap: calc(var(--feature-box-padding) / 4 * var(--variable-px)) calc(var(--feature-box-padding) * var(--variable-px));
		flex-wrap: wrap;

		p {
			text-align: left;
			text-justify: auto;
			white-space: nowrap;
		}
	}

	@media screen and (max-width: 1280px) {
		.triptych a {
			// Half width, minus own padding on both sides, minus the gap
			flex-basis: calc(50% - (var(--feature-box-padding) * var(--variable-px)) - 10px);
		}
	}

	@media screen and (max-width: 640px) {
		.triptych a {
			flex-basis: 100%;
		}
	}

	.feature-box-narrow {
		min-width: 0;
		background-color: var(--color-fog);
		padding: calc(var(--feature-box-padding) / 2 * var(--variable-px));
		text-decoration: none;
		color: var(--color-navy);

		&:hover {
			background-color: var(--color-lemon);
		}

		h1 {
			// Compensates for emoji starting with some left spacing
			text-indent: -0.2em;
		}

		ul {
			padding-left: 1em;
			font-size: calc(7 / 9 * 1em);
		}
	}

	.button {
		background-color: var(--color-fog);
	}
}

#supporter-memberships {
	background-color: var(--color-mustard);
}

#corporate-sponsorships {
	background-color: var(--color-ale);
	margin-top: 0;
}

// .fundraising {
// 	margin-top: 20px;
// 	width: 100%;
//
// 	.fundraising-bar {
// 		width: 100%;
// 		height: 32px;
// 		border-radius: 10000px;
// 		background: var(--color-fog);
// 		overflow: hidden;
//
// 		.fundraising-bar-progress {
// 			width: calc(var(--fundraising-percent) - (4px * 2) - (32px - 4px * 2));
// 			padding-left: calc(32px - 4px * 2);
// 			height: calc(100% - 4px * 2);
// 			margin: 4px;
// 			border-radius: 10000px;
// 			background: linear-gradient(to right, var(--color-navy), var(--color-crimson));
// 			transition: opacity 1s, width 2s;
// 		}
// 	}
//
// 	.goal-metrics {
// 		display: flex;
// 		justify-content: space-between;
// 		font-weight: 800;
// 		margin-top: 8px;
// 		margin-left: 20px;
// 		width: calc(100% - 40px);

// 		> span {
// 			transition: opacity 1s;
// 		}
// 	}
//
// 	&.fundraising.loading {
// 		.goal-metrics > span,
// 		.fundraising-bar .fundraising-bar-progress {
// 			opacity: 0;
// 		}
// 	}
// }