|
175 | 175 |
|
176 | 176 | .pub-info { |
177 | 177 | font-size: $fs-base; |
178 | | - color: $color-text-secondary; |
179 | 178 |
|
180 | 179 | span { |
181 | 180 | &::after, &:first-child::after { |
|
194 | 193 | } |
195 | 194 |
|
196 | 195 | .result-subjects, .result-summary { |
197 | | - font-size: 1.6rem; |
| 196 | + font-size: 1.4rem; |
198 | 197 | margin-bottom: 8px; |
| 198 | + color: $color-text-secondary; |
199 | 199 | } |
200 | 200 |
|
201 | 201 | .result-subjects { |
202 | 202 | color: $color-text-secondary; |
203 | 203 |
|
204 | | - li { |
205 | | - margin-bottom: 0; |
| 204 | + ul { |
| 205 | + line-clamp: 1; |
| 206 | + -webkit-line-clamp: 1; |
206 | 207 |
|
207 | | - &::after { |
208 | | - content: " • "; |
209 | | - color: $color-text-disabled; |
210 | | - } |
| 208 | + li { |
| 209 | + margin-bottom: 0; |
211 | 210 |
|
212 | | - &:last-child::after { |
213 | | - content: " "; |
214 | | - } |
| 211 | + &::after { |
| 212 | + content: " • "; |
| 213 | + color: $color-text-disabled; |
| 214 | + } |
| 215 | + |
| 216 | + &:last-child::after { |
| 217 | + content: " "; |
| 218 | + } |
215 | 219 |
|
| 220 | + } |
216 | 221 | } |
217 | 222 |
|
218 | 223 | } |
219 | 224 |
|
220 | 225 | .result-highlights.use { |
221 | 226 | margin-top: 0; |
222 | 227 |
|
223 | | - h4, strong {font-weight: $fw-semibold;} |
| 228 | + h4, strong {font-weight: $fw-medium;} |
224 | 229 |
|
225 | 230 | ul { |
226 | 231 | list-style: disc outside; |
|
229 | 234 |
|
230 | 235 | li { |
231 | 236 | margin-left: 0.6rem; |
232 | | - font-size: 1.6rem; |
| 237 | + font-size: 1.4rem; |
233 | 238 | } |
234 | 239 | } |
235 | 240 | } |
|
238 | 243 | background-color: $color-highlight; |
239 | 244 | } |
240 | 245 |
|
241 | | - &.use, &.primo { |
242 | | - .result-metadata { |
243 | | - margin-bottom: 16px; |
244 | | - } |
| 246 | + .result-metadata { |
| 247 | + margin-bottom: 16px; |
| 248 | + } |
245 | 249 |
|
246 | | - .pub-info { |
247 | | - margin-bottom: 4px; |
248 | | - } |
| 250 | + .pub-info { |
| 251 | + margin-bottom: 4px; |
| 252 | + } |
249 | 253 |
|
250 | | - ul.contributors { |
251 | | - li { |
252 | | - font-weight: $fw-normal; |
| 254 | + ul.contributors { |
| 255 | + line-clamp: 1; |
| 256 | + -webkit-line-clamp: 1; |
| 257 | + margin-bottom: 12px; |
| 258 | + |
| 259 | + li { |
| 260 | + font-weight: $fw-normal; |
253 | 261 |
|
254 | | - a { |
255 | | - color: $color-text-secondary; |
256 | | - text-decoration: none; |
| 262 | + a { |
| 263 | + text-decoration: none; |
257 | 264 |
|
258 | | - &:hover { |
259 | | - text-decoration: underline; |
260 | | - } |
| 265 | + &:hover { |
| 266 | + text-decoration: underline; |
261 | 267 | } |
262 | 268 | } |
263 | 269 | } |
| 270 | + } |
264 | 271 |
|
265 | | - .inner-heading { |
266 | | - font-size: 1.6rem; |
267 | | - font-family: $base-font; // Since we're using 16px, override to use body font |
268 | | - } |
269 | | - |
270 | | - .result-get { |
271 | | - display: flex; |
272 | | - align-items: center; |
273 | | - gap: 24px; |
274 | | - } |
275 | | - |
276 | | - // Make result buttons present as underlined links |
277 | | - a.button { |
278 | | - @include underlinedLinks; |
279 | | - font-weight: $fw-medium; |
280 | | - font-size: 1.6rem; |
281 | | - } |
| 272 | + .inner-heading { |
| 273 | + font-size: 1.6rem; |
| 274 | + font-family: $base-font; // Since we're using 16px, override to use body font |
| 275 | + } |
282 | 276 |
|
283 | | - // Except the first button, which should present as a secondary button |
284 | | - .result-get > a.button:first-child { |
285 | | - @include buttonSecondary; |
286 | | - } |
| 277 | + .result-get { |
| 278 | + display: flex; |
| 279 | + align-items: center; |
| 280 | + gap: 24px; |
| 281 | + } |
287 | 282 |
|
288 | | - // Loading skeleton when a button isn't available |
289 | | - span.skeleton-loader { |
290 | | - @include skeleton-loader(112px); |
291 | | - } |
| 283 | + // Make result buttons present as underlined links |
| 284 | + a.button { |
| 285 | + @include underlinedLinks; |
| 286 | + font-weight: $fw-medium; |
| 287 | + font-size: 1.6rem; |
| 288 | + } |
292 | 289 |
|
293 | | - .truncate-list li:last-child {margin-bottom: 0;} |
| 290 | + // Except the first button, which should present as a secondary button |
| 291 | + .result-get > a.button:first-child { |
| 292 | + @include buttonSecondary; |
| 293 | + } |
294 | 294 |
|
| 295 | + // Loading skeleton when a button isn't available |
| 296 | + span.skeleton-loader { |
| 297 | + @include skeleton-loader(112px); |
295 | 298 | } |
296 | 299 |
|
| 300 | + .truncate-list li:last-child {margin-bottom: 0;} |
| 301 | + |
297 | 302 | .availability { |
298 | 303 | color: $color-text-secondary; |
299 | 304 |
|
|
0 commit comments