Skip to content

Commit bf29122

Browse files
committed
Tighten short desktop hub layout
1 parent 9f3a846 commit bf29122

1 file changed

Lines changed: 38 additions & 7 deletions

File tree

‎src/styles/global.css‎

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -467,22 +467,53 @@ h1 {
467467

468468
@media (max-height: 740px) and (min-width: 821px) {
469469
.shell {
470-
padding-top: 1rem;
471-
gap: clamp(1rem, 2.5vw, 2.15rem);
470+
min-height: 100vh;
471+
padding-top: 0;
472+
padding-bottom: 0;
473+
gap: clamp(0.8rem, 2vw, 1.6rem);
474+
}
475+
476+
.cards {
477+
gap: 0.46rem;
472478
}
473479

474480
.socials {
475-
margin-top: 1.4rem;
481+
margin-top: 1.25rem;
476482
}
477483

478484
.site-card {
479-
min-height: 4.95rem;
480-
padding-block: 0.62rem;
485+
min-height: 4.65rem;
486+
padding: 0.5rem 0.74rem 0.5rem 0.78rem;
487+
border-radius: 1rem;
488+
}
489+
490+
.site-mark {
491+
width: 2.64rem;
492+
height: 2.64rem;
493+
}
494+
495+
.site-title {
496+
font-size: 0.96rem;
481497
}
482498

483499
.site-description {
484-
font-size: 0.81rem;
485-
line-height: 1.28;
500+
font-size: 0.76rem;
501+
line-height: 1.22;
502+
}
503+
504+
.site-badge {
505+
min-height: 1.08rem;
506+
padding: 0 0.36rem;
507+
font-size: 0.58rem;
508+
}
509+
510+
.footer {
511+
position: fixed;
512+
left: 50%;
513+
bottom: 0.52rem;
514+
transform: translateX(-50%);
515+
padding: 0;
516+
pointer-events: none;
486517
}
487518
}
488519

0 commit comments

Comments
 (0)