Difference between revisions of "MediaWiki:Common.css"

From Mustachian Hacks
Jump to navigation Jump to search
(trying to follow this page https://www.mediawiki.org/wiki/Manual:$wgFooterIcons)
(removing HiDPI as I don't have additional images)
Line 6: Line 6:
 
"url" => "https://www.patreon.com/mustachianhacks",
 
"url" => "https://www.patreon.com/mustachianhacks",
 
"alt" => "Patreon page for donations",
 
"alt" => "Patreon page for donations",
// For HiDPI support, you can specify paths to larger versions of the icon.
+
"height" => "31",
"srcset" =>
 
"/path/to/1.5x_version.png 1.5x, " .
 
"/path/to/2x_version.png 2x",
 
// If you have a non-default sized icon you can specify the size yourself.
 
"height" => "31",
 
 
"width" => "88",
 
"width" => "88",
 
];
 
];

Revision as of 19:20, 29 September 2019

/* CSS placed here will be applied to all skins */

$wgFooterIcons = [
	"src" => "$wgResourceBasePath/resources/assets/personal-images/become_a_patron_button@2x.png",
    // you may also use a direct path to the source, e.g. "http://example.com/my/custom/path/to/MyCustomLogo.png"
	"url" => "https://www.patreon.com/mustachianhacks",
	"alt" => "Patreon page for donations",
		"height" => "31",
	"width" => "88",
];