MediaWiki talk:Common.css: Difference between revisions
Jump to navigation
Jump to search
Cyberwillis (talk | contribs) No edit summary |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
//to: | //to: | ||
#home-cat .cat-base { background-image: url( | #home-cat .cat-base { background-image: url( images/a/ac/Ban2_base.jpg ) } | ||
//sources: | |||
// https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS | |||
// https://www.mediawiki.org/wiki/MediaWiki:Common.css | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 20: | Line 25: | ||
#home-cat .cat-chips { background-image: url("/images/a/a5/Ban2_chips.jpg") } | #home-cat .cat-chips { background-image: url("/images/a/a5/Ban2_chips.jpg") } | ||
#home-cat .cat-games { background-image: url("/images/0/07/Ban2_games.jpg") } | #home-cat .cat-games { background-image: url("/images/0/07/Ban2_games.jpg") } | ||
Thanks for the investigation and finding the cause. I can't edit Common.css because I don't have the appropriate rights anymore. Tried reaching Elbarto. [[User:Furrtek|Furrtek]] ([[User talk:Furrtek|talk]]) 10:47, 10 May 2025 (UTC) |
Latest revision as of 10:47, 10 May 2025
Latest load.php from Mediawiki 1.40 doesn't like the "url" directive. It compiles it to an empty url... It needs some investigation.
//In order to work again:
//change from:
#home-cat .cat-base { background-image: url("/images/a/ac/Ban2_base.jpg") }
//to:
#home-cat .cat-base { background-image: url( images/a/ac/Ban2_base.jpg ) }
//sources:
// https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS
// https://www.mediawiki.org/wiki/MediaWiki:Common.css
- home-cat .cat-base { background-image: url("/images/a/ac/Ban2_base.jpg") }
- home-cat .cat-video { background-image: url("/images/6/6a/Ban2_video.jpg") }
- home-cat .cat-audio { background-image: url("/images/f/f3/Ban2_audio.jpg") }
- home-cat .cat-repair { background-image: url("/images/4/46/Ban2_repair.jpg") }
- home-cat .cat-cart { background-image: url("/images/b/b5/Ban2_cart.jpg") }
- home-cat .cat-cd { background-image: url("/images/d/df/Ban2_cd.jpg") }
- home-cat .cat-code { background-image: url("/images/3/3a/Ban2_code.jpg") }
- home-cat .cat-chips { background-image: url("/images/a/a5/Ban2_chips.jpg") }
- home-cat .cat-games { background-image: url("/images/0/07/Ban2_games.jpg") }
Thanks for the investigation and finding the cause. I can't edit Common.css because I don't have the appropriate rights anymore. Tried reaching Elbarto. Furrtek (talk) 10:47, 10 May 2025 (UTC)