-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathstyles.css
More file actions
172 lines (146 loc) · 3.48 KB
/
Copy pathstyles.css
File metadata and controls
172 lines (146 loc) · 3.48 KB
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
/* Project cards */
.project-card {
padding: 0.75rem 0;
border-top: 1px solid var(--bs-border-color, #dee2e6);
}
.project-card h4 {
margin-top: 0;
margin-bottom: 0.5rem;
font-size: 1.1rem;
}
.project-card h4 a {
text-decoration: none;
}
.project-card p {
margin-bottom: 0.5rem;
}
.project-meta {
font-size: 0.85rem;
color: var(--bs-secondary-color, #6c757d);
margin-top: 0.5rem;
}
/* Contributors column on the right - wrapping grid */
.project-contributors {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
align-content: flex-start;
justify-content: flex-start;
}
.project-contributors a {
display: inline-block;
margin: 2px;
}
.project-contributors img {
border-radius: 50%;
display: block;
}
/* Publications list */
.publications-list .pub-item {
padding: 0.75rem 0;
border-top: 1px solid var(--bs-border-color, #dee2e6);
}
.publications-list .pub-item a {
text-decoration: none;
}
.publications-list .pub-item em {
color: var(--bs-secondary-color, #6c757d);
}
/* Package hex logos.
The site ships flatly (white) and darkly (#222), so a sticker whose own tone
matches the current ground loses its edges. The ring follows the alpha channel
and outlines the hex in whichever direction the ground needs; the plate keeps
the logos on a common tile so the column reads as a column. */
:root {
--hex-plate: #eef1f5;
--hex-ring: rgba(28, 37, 48, 0.38);
}
[data-bs-theme="dark"] {
--hex-plate: #2b323a;
--hex-ring: rgba(255, 255, 255, 0.42);
}
.pkg-body {
display: flex;
align-items: flex-start;
gap: 1rem;
}
.pkg-text {
min-width: 0;
}
.pkg-logo {
flex: 0 0 auto;
width: 78px;
display: flex;
align-items: center;
justify-content: center;
padding: 6px;
border-radius: 8px;
background: var(--hex-plate);
}
.pkg-logo img {
display: block;
width: 100%;
height: auto;
filter: drop-shadow(0 0 1.5px var(--hex-ring));
}
@media (max-width: 575px) {
.pkg-logo {
width: 60px;
}
}
/* Honeycomb index above the package list.
The logos are already hex-shaped with transparent surrounds, so they
tessellate on their own: rows overlap vertically by a quarter of the hex
height, and rows of alternating length give the half-width stagger. */
.hex-wall {
--hex-w: clamp(46px, 6.4vw, 82px);
display: flex;
flex-direction: column;
align-items: center;
margin: 0.5rem 0 2.25rem;
}
.hex-row {
display: flex;
justify-content: center;
gap: 3px;
}
.hex-row + .hex-row {
/* pointy-top hexes are 1.1547x as tall as wide; overlap a quarter of that */
margin-top: calc(var(--hex-w) * -0.2887);
}
.hex-wall a {
display: block;
width: var(--hex-w);
line-height: 0;
transition: transform 0.15s ease;
}
.hex-wall a:hover,
.hex-wall a:focus-visible {
transform: translateY(-4px);
}
.hex-wall img {
display: block;
width: 100%;
height: auto;
filter: drop-shadow(0 0 1.5px var(--hex-ring));
}
@media (prefers-reduced-motion: reduce) {
.hex-wall a {
transition: none;
}
}
/* Quarto appends an external-link icon to every off-site link. The hexes are
self-evidently links and the icons break the tessellation, so hide them
inside the wall only. */
.hex-wall a::after,
.hex-wall a .bi {
display: none !important;
content: none !important;
}
/* Marks a package that belongs to a separate community project: listed here
because group members built it, developed and distributed over there. */
.pkg-part-of {
font-size: 0.8rem;
margin-top: 0.35rem;
color: var(--bs-secondary-color, #6c757d);
}