Five-a-side lineup
A squad set out on a little pitch by position, with a captain's band, a keeper in a different shape, and a bench underneath that says who is out.
Dockside RoversThursday, 7:30 pm, pitch 2
- Yusuf AdeyemiForward
- Cara MillsLeft
- Leo OkaforRight, captain
- Petra NovakBack
- Sam DoyleKeeper
- Ravi Thakur
Mel Fraserankle, back 11 Dec
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-avatar-five-a-side">
<div class="xi">
<p class="h"><strong>Dockside Rovers</strong><span>Thursday, 7:30 pm, pitch 2</span></p>
<div class="pitch">
<i class="goal" aria-hidden="true"></i>
<ol>
<li class="pl fw"><span class="av a" aria-hidden="true">YA</span><span class="nm">Yusuf Adeyemi</span><span class="ps">Forward</span></li>
<li class="pl lw"><span class="av b" aria-hidden="true">CM</span><span class="nm">Cara Mills</span><span class="ps">Left</span></li>
<li class="pl rw"><span class="av b" aria-hidden="true">LO<i class="band" aria-hidden="true">C</i></span><span class="nm">Leo Okafor</span><span class="ps">Right, captain</span></li>
<li class="pl df"><span class="av a" aria-hidden="true">PN</span><span class="nm">Petra Novak</span><span class="ps">Back</span></li>
<li class="pl gk"><span class="av k" aria-hidden="true">SD</span><span class="nm">Sam Doyle</span><span class="ps">Keeper</span></li>
</ol>
</div>
<ul class="bench" aria-label="Bench">
<li class="lbl" aria-hidden="true">Bench</li>
<li><span class="av s b" aria-hidden="true">RT</span>Ravi Thakur</li>
<li class="out"><span class="av s" aria-hidden="true"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></span><s>Mel Fraser</s><small>ankle, back 11 Dec</small></li>
</ul>
</div>
</div>
.ukc-avatar-five-a-side { 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-avatar-five-a-side *, .ukc-avatar-five-a-side *::before, .ukc-avatar-five-a-side *::after { box-sizing: border-box; }
.ukc-avatar-five-a-side :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-avatar-five-a-side :where(ul, ol) { padding: 0; list-style: none; }
.ukc-avatar-five-a-side :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-avatar-five-a-side :where(a) { color: inherit; }
.ukc-avatar-five-a-side svg { flex: none; }
.ukc-avatar-five-a-side .xi { max-width: 340px; }
.ukc-avatar-five-a-side .h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 10px; }
.ukc-avatar-five-a-side .h strong { font-family: var(--uk-font-display, inherit); font-size: 18px; font-weight: 400; }
.ukc-avatar-five-a-side .h span { font-size: 13px; color: var(--uk-muted); }
.ukc-avatar-five-a-side .pitch { --chalk: color-mix(in srgb, var(--uk-ink) 26%, var(--tint)); position: relative; overflow: hidden; border: 1.5px solid var(--chalk); border-radius: min(var(--uk-radius-lg), 10px); background: var(--tint); }
.ukc-avatar-five-a-side .pitch::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 1.5px solid var(--chalk); }
.ukc-avatar-five-a-side .pitch::after { content: ""; position: absolute; top: 50%; left: 50%; width: 70px; height: 70px; translate: -50% -50%; border: 1.5px solid var(--chalk); border-radius: 50%; }
.ukc-avatar-five-a-side .goal { position: absolute; bottom: -1.5px; left: 50%; width: 54%; height: 40px; translate: -50% 0; border: 1.5px solid var(--chalk); }
.ukc-avatar-five-a-side ol { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 2px; padding: 14px 6px; }
.ukc-avatar-five-a-side .pl { display: grid; justify-items: center; text-align: center; line-height: 1.25; }
.ukc-avatar-five-a-side .fw { grid-area: 1 / 2; }
.ukc-avatar-five-a-side .lw { grid-area: 2 / 1; }
.ukc-avatar-five-a-side .rw { grid-area: 2 / 3; }
.ukc-avatar-five-a-side .df { grid-area: 3 / 2; }
.ukc-avatar-five-a-side .gk { grid-area: 4 / 2; }
.ukc-avatar-five-a-side .av { position: relative; width: 40px; height: 40px; margin-bottom: 4px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; box-shadow: 0 0 0 2px var(--tint); }
.ukc-avatar-five-a-side .a { background: var(--uk-ink); color: var(--uk-paper); }
.ukc-avatar-five-a-side .b { background: var(--uk-paper); box-shadow: 0 0 0 2px var(--tint), inset 0 0 0 1.5px var(--uk-ink); }
.ukc-avatar-five-a-side .k { border-radius: min(var(--uk-radius-md), 28%); background: var(--uk-accent); color: var(--uk-accent-ink); }
.ukc-avatar-five-a-side .band { position: absolute; top: -5px; right: -7px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 3px; background: var(--uk-highlight); color: color-mix(in srgb, var(--uk-ink) 15%, black); font-size: 10px; font-style: normal; font-weight: 800; line-height: 1; box-shadow: 0 0 0 1.5px var(--tint); }
.ukc-avatar-five-a-side .nm { padding: 0 5px; border-radius: 3px; background: var(--tint); font-size: 12.5px; font-weight: 600; }
.ukc-avatar-five-a-side .ps { padding: 0 5px; border-radius: 3px; background: var(--tint); font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-avatar-five-a-side .bench { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 13px; }
.ukc-avatar-five-a-side .bench li { display: inline-flex; align-items: center; gap: 6px; }
.ukc-avatar-five-a-side .lbl { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-avatar-five-a-side .s { width: 24px; height: 24px; margin: 0; font-size: 9px; box-shadow: inset 0 0 0 1.5px var(--uk-ink); }
.ukc-avatar-five-a-side .out { color: var(--uk-muted); }
.ukc-avatar-five-a-side .out .s { box-shadow: none; border: 1.5px dashed var(--uk-danger); color: var(--uk-danger); }
.ukc-avatar-five-a-side .out small { font-size: 12px; }
More avatars
All 29BA Beatrix Aldous
Tea buyer · Aldous & Finch
Tasting notes on the spring Darjeeling go out on Friday.
- Rohan FinchBlender
- Mirela StanWarehouse
- Tobias EkAccounts
- Greta MollSpeaking
- Dev OseiListening
- Hana TakedaMuted
- Finn BarrosDropped, dialing back
Recording take 34 separate tracks
Front desk handoverHarbour Lane Hotel, Friday
-
MBAPDone
Marguerite to Agnes
Late desk, 2:00 pm
-
APKMNow
Agnes to Kofi
Night desk, 10:00 pm. Room 14 checks in late
-
KM
Kofi to nobody yet
Day desk, 6:00 am. Needs cover
-
Working inKiln Road PotterySaturday Clay ClubImre Vass, personal
Who reports to whomSpoke and Sprocket Cycle Works
-
Lena HartmannOwner6 people
-
Ibrahim SesayWorkshop lead3 seats
- Coral WhyteMechanic
- Jun ParkWheel builder
- Apprentice mechanicOpen seat. See the listing
-
Tess RuizShop floor lead1 seat
- Mateus LimaSales, weekends
-
-