fix: space tile, stat and file row labels

Tiles read "BizHawkWindows, Linux", stats "168/168Coverage" and a
file row "SVI603.ROMbios/Machines/...OK": the stylesheet lays them
out as boxes, the markup had no space between them. A setup without a
logo draws its initials from the stylesheet, so its name is read once.
This commit is contained in:
Abdessamad Derraz committed 2026-11-10 14:12:06 +01:00
1 parent c916503958
commit a4d5c6149b
7 files changed
+30 -15

No files matched your search

+12
View File
@@ -277,6 +277,18 @@
vertical-align: middle;
}
/* A setup with no logo: its initials, drawn by the stylesheet so the page
text holds its name once (sitemarkup._tile_mark). */
.sl-markdown-content .rb-card-initials {
display: inline-grid;
place-items: center;
color: #2b2e5c;
font-size: 10.5px;
font-weight: 700;
line-height: 1;
}
.sl-markdown-content .rb-card-initials::before { content: attr(data-initials); }
/* Device tiles: the whole tile is the link. Logo on the left, name over
what it runs on, so a phone shows a short row per setup. */
.sl-markdown-content .rb-tiles { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.6rem; }