@@ -1329,6 +1329,7 @@ button.shithub-repo-action { |
| 1329 | 1329 | border-top: 1px solid var(--border-default); |
| 1330 | 1330 | padding-top: 1rem; |
| 1331 | 1331 | font-size: 0.875rem; |
| 1332 | + --language-color-primary: #00add8; |
| 1332 | 1333 | } |
| 1333 | 1334 | @media (min-width: 1025px) { |
| 1334 | 1335 | .shithub-repo-about { |
@@ -1336,68 +1337,150 @@ button.shithub-repo-action { |
| 1336 | 1337 | padding-top: 0; |
| 1337 | 1338 | } |
| 1338 | 1339 | } |
| 1339 | | -.shithub-repo-about-heading { |
| 1340 | | - font-size: 1rem; |
| 1341 | | - font-weight: 600; |
| 1342 | | - margin: 0 0 0.5rem; |
| 1340 | +.shithub-border-grid-row { |
| 1341 | + border-top: 1px solid var(--border-default); |
| 1342 | + padding: 1rem 0; |
| 1343 | +} |
| 1344 | +.shithub-border-grid-row:first-child { |
| 1345 | + border-top: 0; |
| 1346 | + padding-top: 0; |
| 1347 | +} |
| 1348 | +.shithub-repo-about-heading, |
| 1349 | +.shithub-repo-about-section-heading { |
| 1343 | 1350 | display: flex; |
| 1344 | 1351 | align-items: center; |
| 1345 | 1352 | justify-content: space-between; |
| 1346 | | -} |
| 1347 | | -.shithub-repo-about-desc { |
| 1353 | + gap: 0.75rem; |
| 1348 | 1354 | margin: 0 0 0.75rem; |
| 1349 | 1355 | color: var(--fg-default); |
| 1350 | | - line-height: 1.4; |
| 1356 | + font-size: 1rem; |
| 1357 | + font-weight: 600; |
| 1358 | + line-height: 1.5; |
| 1351 | 1359 | } |
| 1352 | | -.shithub-repo-about-empty { |
| 1360 | +.shithub-repo-about-heading h2 { |
| 1361 | + margin: 0; |
| 1362 | + font-size: 1rem; |
| 1363 | +} |
| 1364 | +.shithub-repo-about-heading a { |
| 1353 | 1365 | color: var(--fg-muted); |
| 1354 | | - font-style: italic; |
| 1366 | + display: inline-flex; |
| 1355 | 1367 | } |
| 1356 | | -.shithub-repo-about-topics { |
| 1357 | | - list-style: none; |
| 1368 | +.shithub-repo-about-desc { |
| 1358 | 1369 | margin: 0 0 1rem; |
| 1359 | | - padding: 0; |
| 1370 | + color: var(--fg-default); |
| 1371 | + font-size: 1rem; |
| 1372 | + line-height: 1.5; |
| 1373 | +} |
| 1374 | +.shithub-repo-topics { |
| 1360 | 1375 | display: flex; |
| 1361 | 1376 | flex-wrap: wrap; |
| 1362 | 1377 | gap: 0.4rem; |
| 1378 | + margin: 0 0 1rem; |
| 1363 | 1379 | } |
| 1364 | | -.shithub-pill-topic { |
| 1365 | | - background: var(--accent-subtle, #ddf4ff); |
| 1366 | | - color: var(--accent-fg, #0969da); |
| 1367 | | - text-decoration: none; |
| 1368 | | - padding: 0.15rem 0.6rem; |
| 1369 | | - border-radius: 9999px; |
| 1370 | | - font-size: 0.8rem; |
| 1380 | +.shithub-topic { |
| 1381 | + display: inline-flex; |
| 1382 | + padding: 0.18rem 0.55rem; |
| 1383 | + border-radius: 999px; |
| 1384 | + background: color-mix(in srgb, var(--accent-fg, #4493f8) 12%, transparent); |
| 1385 | + color: var(--accent-fg, #4493f8); |
| 1386 | + font-size: 0.75rem; |
| 1387 | + font-weight: 600; |
| 1371 | 1388 | } |
| 1372 | | -.shithub-pill-topic:hover { text-decoration: underline; } |
| 1373 | | - |
| 1374 | | -.shithub-repo-about-meta { |
| 1389 | +.shithub-repo-about-list, |
| 1390 | +.shithub-repo-about-stats, |
| 1391 | +.shithub-language-list { |
| 1375 | 1392 | list-style: none; |
| 1376 | | - margin: 0 0 1.25rem; |
| 1377 | 1393 | padding: 0; |
| 1394 | + margin: 0; |
| 1378 | 1395 | } |
| 1379 | | -.shithub-repo-about-meta li { |
| 1396 | +.shithub-repo-about-list li, |
| 1397 | +.shithub-repo-about-stats li, |
| 1398 | +.shithub-language-list li { |
| 1380 | 1399 | display: flex; |
| 1381 | 1400 | align-items: center; |
| 1382 | 1401 | gap: 0.5rem; |
| 1383 | | - padding: 0.25rem 0; |
| 1402 | + min-width: 0; |
| 1403 | + margin: 0.5rem 0; |
| 1384 | 1404 | color: var(--fg-muted); |
| 1385 | 1405 | } |
| 1386 | | -.shithub-repo-about-meta li svg { color: var(--fg-muted); flex-shrink: 0; } |
| 1387 | | -.shithub-repo-about-meta li span { color: var(--fg-default); } |
| 1388 | | - |
| 1389 | | -.shithub-repo-about-section { |
| 1390 | | - border-top: 1px solid var(--border-default); |
| 1391 | | - padding-top: 0.75rem; |
| 1406 | +.shithub-repo-about-list svg, |
| 1407 | +.shithub-repo-about-stats svg { |
| 1408 | + color: var(--fg-muted); |
| 1409 | + flex: 0 0 auto; |
| 1410 | +} |
| 1411 | +.shithub-repo-about-list span, |
| 1412 | +.shithub-repo-about-stats strong, |
| 1413 | +.shithub-language-list span:nth-child(2) { |
| 1414 | + color: var(--fg-default); |
| 1415 | +} |
| 1416 | +.shithub-repo-about-stats { |
| 1392 | 1417 | margin-top: 0.75rem; |
| 1393 | 1418 | } |
| 1394 | | -.shithub-repo-about-section h3 { |
| 1395 | | - font-size: 0.85rem; |
| 1419 | +.shithub-repo-about-stats a { |
| 1420 | + color: var(--fg-muted); |
| 1421 | + display: inline-flex; |
| 1422 | + align-items: center; |
| 1423 | + gap: 0.5rem; |
| 1424 | +} |
| 1425 | +.shithub-repo-about-stats a:hover, |
| 1426 | +.shithub-repo-report:hover, |
| 1427 | +.shithub-repo-contributor:hover { |
| 1428 | + color: var(--accent-fg); |
| 1429 | + text-decoration: none; |
| 1430 | +} |
| 1431 | +.shithub-repo-report { |
| 1432 | + display: inline-block; |
| 1433 | + margin-top: 0.5rem; |
| 1434 | + color: var(--fg-muted); |
| 1435 | +} |
| 1436 | +.shithub-repo-about-section-heading { |
| 1437 | + margin-bottom: 0.5rem; |
| 1438 | +} |
| 1439 | +.shithub-repo-contributors { |
| 1440 | + display: flex; |
| 1441 | + flex-direction: column; |
| 1442 | + gap: 0.5rem; |
| 1443 | +} |
| 1444 | +.shithub-repo-contributor { |
| 1445 | + display: inline-flex; |
| 1446 | + align-items: center; |
| 1447 | + gap: 0.5rem; |
| 1448 | + color: var(--fg-default); |
| 1396 | 1449 | font-weight: 600; |
| 1397 | | - margin: 0 0 0.5rem; |
| 1398 | | - text-transform: none; |
| 1399 | 1450 | } |
| 1400 | | -.shithub-repo-about-section p { margin: 0; } |
| 1451 | +.shithub-repo-contributor img { |
| 1452 | + width: 32px; |
| 1453 | + height: 32px; |
| 1454 | + border-radius: 50%; |
| 1455 | +} |
| 1456 | +.shithub-language-bar { |
| 1457 | + display: flex; |
| 1458 | + overflow: hidden; |
| 1459 | + height: 0.5rem; |
| 1460 | + margin: 0.5rem 0 0.75rem; |
| 1461 | + border-radius: 999px; |
| 1462 | + background: var(--border-muted); |
| 1463 | +} |
| 1464 | +.shithub-language-bar span { |
| 1465 | + display: block; |
| 1466 | + min-width: 2px; |
| 1467 | +} |
| 1468 | +.shithub-language-list { |
| 1469 | + display: flex; |
| 1470 | + flex-wrap: wrap; |
| 1471 | + gap: 0.25rem 1rem; |
| 1472 | +} |
| 1473 | +.shithub-language-list li { |
| 1474 | + margin: 0; |
| 1475 | + gap: 0.35rem; |
| 1476 | + font-size: 0.75rem; |
| 1477 | +} |
| 1478 | +.shithub-language-dot { |
| 1479 | + width: 0.75rem; |
| 1480 | + height: 0.75rem; |
| 1481 | + border-radius: 50%; |
| 1482 | + flex: 0 0 auto; |
| 1483 | +} |
| 1401 | 1484 | |
| 1402 | 1485 | .shithub-readme { |
| 1403 | 1486 | margin-top: 1rem; |
@@ -1421,41 +1504,6 @@ button.shithub-repo-action { |
| 1421 | 1504 | .shithub-readme pre code { padding: 0; background: none; } |
| 1422 | 1505 | .shithub-readme-plain { white-space: pre-wrap; } |
| 1423 | 1506 | |
| 1424 | | -.shithub-repo-about { font-size: 0.9rem; } |
| 1425 | | -.shithub-repo-about-heading { |
| 1426 | | - display: flex; |
| 1427 | | - justify-content: space-between; |
| 1428 | | - align-items: center; |
| 1429 | | - gap: 0.75rem; |
| 1430 | | - margin-bottom: 0.75rem; |
| 1431 | | -} |
| 1432 | | -.shithub-repo-about-heading h2 { font-size: 1rem; margin: 0; } |
| 1433 | | -.shithub-repo-about-heading a { color: var(--fg-muted); display: inline-flex; } |
| 1434 | | -.shithub-repo-about-desc { margin: 0 0 0.85rem; font-size: 1rem; line-height: 1.45; } |
| 1435 | | -.shithub-repo-topics { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; } |
| 1436 | | -.shithub-topic { |
| 1437 | | - display: inline-flex; |
| 1438 | | - padding: 0.18rem 0.55rem; |
| 1439 | | - border-radius: 999px; |
| 1440 | | - background: color-mix(in srgb, var(--accent-fg, #4493f8) 12%, transparent); |
| 1441 | | - color: var(--accent-fg, #4493f8); |
| 1442 | | - font-size: 0.8rem; |
| 1443 | | - font-weight: 600; |
| 1444 | | -} |
| 1445 | | -.shithub-repo-about-list { |
| 1446 | | - list-style: none; |
| 1447 | | - padding: 0.85rem 0 0; |
| 1448 | | - margin: 0; |
| 1449 | | - border-top: 1px solid var(--border-default); |
| 1450 | | - color: var(--fg-muted); |
| 1451 | | -} |
| 1452 | | -.shithub-repo-about-list li { |
| 1453 | | - display: flex; |
| 1454 | | - align-items: center; |
| 1455 | | - gap: 0.55rem; |
| 1456 | | - margin: 0.55rem 0; |
| 1457 | | -} |
| 1458 | | -.shithub-repo-about-list svg { flex: 0 0 auto; } |
| 1459 | 1507 | @media (max-width: 900px) { |
| 1460 | 1508 | .shithub-repo-header-inner { align-items: flex-start; flex-direction: column; } |
| 1461 | 1509 | .shithub-repo-content-grid { grid-template-columns: 1fr; } |