Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
215 lines (183 loc) · 4.46 KB
/
Copy pathstyles.css
File metadata and controls
215 lines (183 loc) · 4.46 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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/* 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);
}
/* Open research marks under each paper */
.pub-open-row {
margin-top: 0.35rem;
}
.pub-open {
display: inline-block;
margin: 0 0.35rem 0.25rem 0;
padding: 0.05rem 0.55rem;
border: 1px solid var(--bs-border-color, #dee2e6);
border-radius: 999px;
font-size: 0.78rem;
line-height: 1.5;
white-space: nowrap;
}
.publications-list .pub-open {
text-decoration: none;
}
/* Package hex logos.
The site has a light and a dark theme, 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);
}
body.quarto-dark {
--hex-plate: #1c2638;
--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);
}
/* The avatars are self-evidently links to GitHub profiles, and the external
link icon Quarto appends sits under each one as a stray mark. */
.project-contributors a::after,
.project-contributors a .bi {
display: none !important;
content: none !important;
}
/* Language marks beside the entries in the Software menu */
.nav-lang-icon {
height: 1em;
width: 1.3em;
object-fit: contain;
vertical-align: -0.125em;
margin-right: 0.35em;
}
/* Packages with a dark-mode logo carry both; show the one for the scheme */
body.quarto-dark .logo-for-light,
body:not(.quarto-dark) .logo-for-dark {
display: none !important;
}