Changeset 5e3be97 in Klonkt
- Timestamp:
- 06/26/2026 01:56:02 PM (2 months ago)
- Branches:
- main
- Children:
- 1ecbf71
- Parents:
- 9e5438e
- File:
-
- 1 edited
-
src/views/partials/fedi-tabs.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/fedi-tabs.ejs
r9e5438e r5e3be97 21 21 <style> 22 22 .fedi-bar { margin: 0 0 1.25rem; } 23 .fedi-bar-back { margin: 0 0 1rem; } 24 .fedi-tabs { display: flex; gap: .1rem; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; 23 /* Big, full-width "back to site" button at the top of the Fediverse section. */ 24 .fedi-bar-back { display: block; width: 100%; box-sizing: border-box; text-align: center; margin: 0 0 1rem; padding: .7rem 1rem; } 25 /* Tabs centered, wrap onto multiple rows on narrow screens (no scrollbar). */ 26 .fedi-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem .25rem; 25 27 border-bottom: 1px solid color-mix(in srgb, var(--ink, #000) 10%, transparent); } 26 .fedi-tabs::-webkit-scrollbar { height: 4px; } 27 .fedi-tab { flex: 0 0 auto; padding: .55rem .85rem; white-space: nowrap; text-decoration: none; 28 .fedi-tab { padding: .55rem .85rem; white-space: nowrap; text-decoration: none; 28 29 color: var(--ink-soft, #888); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; } 29 30 .fedi-tab:hover { color: var(--ink, #000); } … … 31 32 .fedi-tab-badge { display: inline-block; min-width: 1.15em; padding: 0 .3em; border-radius: 999px; 32 33 background: var(--accent, #e8b04b); color: #fff; font-size: .68rem; line-height: 1.5; text-align: center; vertical-align: middle; } 33 @media (max-width: 520px) { .fedi-tab { padding: .55rem . 7rem; font-size: .92rem; } }34 @media (max-width: 520px) { .fedi-tab { padding: .55rem .6rem; font-size: .92rem; } } 34 35 </style>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)