mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-20 06:40:51 +00: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:
parent
7f90eee822
commit
c212db087c
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue