MediaWiki:Gadget-ohc-version-switcher.css: Difference between revisions
MediaWiki interface page
More languages
More actions
Content deleted Content added
Style the version dropdown as a teal pill (via create-page on MediaWiki MCP Server) |
Bot: careui — stub out; superseded by the token-based rules in MediaWiki:Common.css. Removes a stale copy of the retired teal palette - Claude |
||
| Line 1: | Line 1: | ||
/* ohc-version-switcher |
/* MediaWiki:Gadget-ohc-version-switcher.css |
||
SUPERSEDED -- do not restore the rules that used to live here. |
|||
.docs-version-switcher select { |
|||
border: none; |
|||
background: transparent; |
|||
color: #0f8b6c; |
|||
font-family: 'Switzer', 'Figtree', system-ui, sans-serif; |
|||
font-size: 0.92em; |
|||
font-weight: 700; |
|||
cursor: pointer; |
|||
padding: 0; |
|||
outline: none; |
|||
} |
|||
These styles are now in MediaWiki:Common.css section 5, built on the careui |
|||
.docs-version-switcher:hover { |
|||
--ohc-* token layer. That file is part of `site.styles`, which MediaWiki |
|||
background: rgba(15, 139, 108, 0.1); |
|||
loads on every page for every skin, so the styling applies whether or not |
|||
} |
|||
the Gadgets extension is ever enabled. |
|||
The previous contents hardcoded the retired ohc.network palette (teal |
|||
#0f8b6c, ink #173d34, lime #b8f36f, sage #d8e1db) and had no dark-mode |
|||
handling. Kept as an empty stub rather than deleted so that |
|||
MediaWiki:Gadgets-definition keeps resolving if Gadgets is installed later. |
|||
Reference: [[OHC Network Wiki:Design/careui]] */ |
|||