MediaWiki talk:Common.css: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
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("images/a/ac/Ban2_base.jpg") }
  #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
  1. home-cat .cat-base { background-image: url("/images/a/ac/Ban2_base.jpg") }
  2. home-cat .cat-video { background-image: url("/images/6/6a/Ban2_video.jpg") }
  3. home-cat .cat-audio { background-image: url("/images/f/f3/Ban2_audio.jpg") }
  4. home-cat .cat-repair { background-image: url("/images/4/46/Ban2_repair.jpg") }
  5. home-cat .cat-cart { background-image: url("/images/b/b5/Ban2_cart.jpg") }
  6. home-cat .cat-cd { background-image: url("/images/d/df/Ban2_cd.jpg") }
  7. home-cat .cat-code { background-image: url("/images/3/3a/Ban2_code.jpg") }
  8. home-cat .cat-chips { background-image: url("/images/a/a5/Ban2_chips.jpg") }
  9. 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)