mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-08 02:15:12 -06:00
style: widen the gap below category page heroes
The jump links sat 17.6px above the hero's bottom edge, tighter than the 20px above the topbar, so the hero looked cut short. Bottom padding goes from 1.1rem to 1.75rem; the comment justifying the smaller bottom no longer applies.
This commit is contained in:
@@ -508,8 +508,7 @@ kbd {
|
||||
z-index: 1;
|
||||
width: min(100%, calc(var(--shell-max) + (var(--shell-pad) * 2)));
|
||||
margin: 0 auto;
|
||||
/* The bottom is a little smaller because the jump links' text sits inside its line box */
|
||||
padding: 1.25rem var(--shell-pad) 1.1rem;
|
||||
padding: 1.25rem var(--shell-pad) 1.75rem;
|
||||
display: grid;
|
||||
gap: clamp(2rem, 5vw, 3rem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user