fastmcp/docs/css/version-badge.css
nate nowack a0d5779d43
docs: accessibility sweep (#5174)
* docs: accessibility sweep

alt text on app example tiles and two screenshots, decorative brand videos
hidden from assistive tech, banner animation honors reduced motion, version
badge text meets AA contrast in light mode, one code block gets a language
tag, the proxy diagram gets a text description, and a leftover redirect stub
is replaced by a docs.json redirect.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs: empty alt for images inside labeled tiles

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 01:29:07 -05:00

23 lines
661 B
CSS

/* Version badge -- display a badge with the current version of the documentation */
.version-badge {
--color-text: #c2410c !important;
--color-bg: #fef2f2 !important;
color: #c2410c !important;
background: #fef2f2 !important;
border: 1px solid rgba(220, 38, 38, 0.3) !important;
transition: box-shadow 0.2s, transform 0.15s;
}
.version-badge:hover {
box-shadow: 0 2px 8px 0 rgba(160, 132, 252, 0.1);
transform: translateY(-1px) scale(1.03);
}
.dark .version-badge {
--color-text: #f1f5f9 !important;
--color-bg: #334155 !important;
color: #f1f5f9 !important;
background: #334155 !important;
border: 1px solid #64748b !important;
}