Quiet kicker labels
Tracked small caps behind a short rule, for the line above a headline. Says what kind of piece it is without boxing it in.
Essay12 min read
The last keeper of Skerry Sound light
Field notesNew this issue
Counting swifts from a church roof
RecipeServes six
Barley broth for the first frost
The code
Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.
<div class="ukc-badge-kicker-label">
<ul class="toc">
<li><p class="k"><span>Essay</span><span>12 min read</span></p><h3><a href="#">The last keeper of Skerry Sound light</a></h3></li>
<li><p class="k fresh"><span>Field notes</span><span>New this issue</span></p><h3><a href="#">Counting swifts from a church roof</a></h3></li>
<li><p class="k"><span>Recipe</span><span>Serves six</span></p><h3><a href="#">Barley broth for the first frost</a></h3></li>
</ul>
</div>
.ukc-badge-kicker-label { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-badge-kicker-label *, .ukc-badge-kicker-label *::before, .ukc-badge-kicker-label *::after { box-sizing: border-box; }
.ukc-badge-kicker-label :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-badge-kicker-label :where(ul, ol) { padding: 0; list-style: none; }
.ukc-badge-kicker-label :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-badge-kicker-label :where(a) { color: inherit; }
.ukc-badge-kicker-label svg { flex: none; }
.ukc-badge-kicker-label .toc { max-width: 420px; display: grid; gap: 18px; }
.ukc-badge-kicker-label .k { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 9px; margin-bottom: 4px; font-size: 11px; line-height: 1.5; letter-spacing: 0.15em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-badge-kicker-label .k::before { content: ""; width: 20px; height: 1px; background: var(--line-strong); }
.ukc-badge-kicker-label .k span:first-child { font-weight: 600; color: var(--uk-ink); }
.ukc-badge-kicker-label .k span + span { display: inline-flex; align-items: center; gap: 9px; }
.ukc-badge-kicker-label .k span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.ukc-badge-kicker-label .fresh span + span { font-weight: 600; color: var(--uk-ink); }
.ukc-badge-kicker-label .fresh span + span::before { width: 6px; height: 6px; border-radius: 0; background: var(--uk-accent); rotate: 45deg; }
.ukc-badge-kicker-label h3 { font-family: var(--uk-font-display, inherit); font-size: 20px; font-weight: 400; line-height: 1.25; }
.ukc-badge-kicker-label h3 a { text-decoration: none; }
.ukc-badge-kicker-label h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ukc-badge-kicker-label h3 a:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
More badges and chips
All 25- Delivered
- In transit
- Held at customs
- Running late
- Not found
- Booked
- TRLU 448201 7Gdansk to Hull
- MSKU 907315 2Rotterdam to Leith
- CAIU 220664 0Bilbao to Cork
- Level 1
Top rope
Passed 2 Mar
- Level 2
Lead belay
Passed 19 Jun
- Level 3
Lead climb
4 of 6 sessions
- Level 4, locked
Route setter
After level 3
- Level 1
- drums live room take 14 drums, added twice
Drums is on the list twice. Press Enter or a comma to add a tag.
Used on this album - Completed In progress Not started Cannot start yet
- bug ready for review blocked Open 24 Closed 1,302
- Framing Drywall Electrical Draft