Skip to content

Commit 9f3a846

Browse files
committed
Fit Equinox hub on desktop viewports
1 parent 2c92d3a commit 9f3a846

1 file changed

Lines changed: 69 additions & 2 deletions

File tree

‎src/styles/global.css‎

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ h1 {
226226
grid-template-columns: auto 1fr auto;
227227
align-items: center;
228228
gap: 1rem;
229-
min-height: 6.45rem;
230-
padding: 1rem 1.02rem 1rem 1.05rem;
229+
min-height: 6.15rem;
230+
padding: 0.92rem 1.02rem 0.92rem 1.05rem;
231231
border: 1px solid var(--line);
232232
border-radius: 1.38rem;
233233
background:
@@ -419,6 +419,73 @@ h1 {
419419
font-size: 0.82rem;
420420
}
421421

422+
@media (max-height: 860px) and (min-width: 821px) {
423+
.shell {
424+
min-height: calc(100vh - 46px);
425+
padding-top: clamp(1.65rem, 4.2vw, 3.15rem);
426+
padding-bottom: 0.8rem;
427+
}
428+
429+
.cards {
430+
gap: 0.62rem;
431+
}
432+
433+
.site-card {
434+
min-height: 5.25rem;
435+
padding: 0.72rem 0.88rem 0.72rem 0.92rem;
436+
border-radius: 1.15rem;
437+
}
438+
439+
.site-mark {
440+
width: 2.92rem;
441+
height: 2.92rem;
442+
border-radius: 0.82rem;
443+
}
444+
445+
.site-mark svg {
446+
width: 1.34rem;
447+
height: 1.34rem;
448+
}
449+
450+
.site-title {
451+
font-size: 1.02rem;
452+
}
453+
454+
.site-description {
455+
font-size: 0.84rem;
456+
line-height: 1.34;
457+
}
458+
459+
.site-eyebrow {
460+
font-size: 0.7rem;
461+
}
462+
463+
.footer {
464+
padding-bottom: 0.72rem;
465+
}
466+
}
467+
468+
@media (max-height: 740px) and (min-width: 821px) {
469+
.shell {
470+
padding-top: 1rem;
471+
gap: clamp(1rem, 2.5vw, 2.15rem);
472+
}
473+
474+
.socials {
475+
margin-top: 1.4rem;
476+
}
477+
478+
.site-card {
479+
min-height: 4.95rem;
480+
padding-block: 0.62rem;
481+
}
482+
483+
.site-description {
484+
font-size: 0.81rem;
485+
line-height: 1.28;
486+
}
487+
}
488+
422489
@media (max-width: 820px) {
423490
.shell {
424491
grid-template-columns: 1fr;

0 commit comments

Comments
 (0)