Put a row of jump links at the very top of the Places page: States and provinces, Parks, Mountain ranges and Wilderness areas, each with its number of pages
The row shows at every screen size on one compact line that wraps on a phone, and a kind with no pages is left out. The strip of regional groups below the heading no longer repeats the three kinds.
This commit is contained in:
1 parent
a806522ee1
commit
3997c7286e
3 files changed
+33
-15
No files matched your search
@@ -2298,6 +2298,12 @@ td .linklist a { font-weight: 400; }
|
||||
.lists-row li { flex: none; }
|
||||
.lists-row a { min-block-size: 2.75rem; }
|
||||
}
|
||||
/* The Places hub's jump row: one compact line at the very top, States and provinces and each kind of
|
||||
place with its number of pages; it wraps on a phone rather than scrolling. */
|
||||
.places-jump { margin-block-end: var(--space-1); }
|
||||
.places-jump ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); padding: 0; list-style: none; font: 600 0.85rem/1.3 var(--font-sans); }
|
||||
.places-jump a { display: inline-flex; align-items: center; min-block-size: 2.25rem; color: var(--link); }
|
||||
.places-jump__n { margin-inline-start: 0.35em; color: var(--ink-2); font-weight: 400; font-variant-numeric: tabular-nums; }
|
||||
.section--finder { padding-block-start: var(--space-4); }
|
||||
.pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
|
||||
.pills .check { grid-template-columns: auto auto; padding: 0.15rem var(--space-2); border: 1px solid var(--rule-strong); border-radius: 999px; }
|
||||
|
||||
Reference in new issue
Block a user