Oh0kaYthen86 (talk | contribs) No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
--[[User:Oh0kaYthen86|Oh0kaYthen86]] ([[User talk:Oh0kaYthen86|talk]]) 23:29, 12 April 2023 (EDT) | --[[User:Oh0kaYthen86|Oh0kaYthen86]] ([[User talk:Oh0kaYthen86|talk]]) 23:29, 12 April 2023 (EDT) | ||
<br><br> | <br><br> | ||
Right; forgot to constrain it according to the namespace. Should be working properly now. | |||
--[[User:YouArentDistorted|YouArentDistorted]] ([[User talk:YouArentDistorted|talk]]) 06:00, 13 April 2023 (EDT) |
Revision as of 10:00, 13 April 2023
Help request with editing Template:Stub
When this template is displayed on a wiki with a darker theme, the text will appear invisible (or almost impossible to read) because it is dark text on a dark background by default. See the Features section of the Blood n' Blood page on the Muma Rope Wiki as an example of this happening.
This is just a minor quirk I realize, but I was wondering if there was a good way to go about having it adapt to the theme of the wiki it's being displayed on, or at least include a parameter within the template itself that lets you toggle the text color accordingly so this doesn't happen with possible future wikis. If this isn't significant enough to warrant a template change, don't worry about it! I'm just not sure how to work with template code myself, so your guidance is greatly appreciated if you feel it's needed.
Thanks!
--Oh0kaYthen86 (talk) 13:09, 12 April 2023 (EDT)
Adjusted the CSS to work with the background color, so we're good.
--YouArentDistorted (talk) 22:00, 12 April 2023 (EDT)
I appreciate the attempt for a fix greatly, but now the color of the span text with the "stub" ID is universally #ffffff across all wikis. Maybe it's because its color is only defined once within the entire Cosmos.css stylesheet as that hex value, so it reads that as the default?
--Oh0kaYthen86 (talk) 23:29, 12 April 2023 (EDT)
Right; forgot to constrain it according to the namespace. Should be working properly now.
--YouArentDistorted (talk) 06:00, 13 April 2023 (EDT)