Difference between revisions of "MediaWiki:Common.css"

From Mustachian Hacks
Jump to navigation Jump to search
(removing height and width dimensions)
(add myicon tag)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
$wgFooterIcons = [
+
$wgFooterIcons['myicon'] = [
 
"src" => "$wgResourceBasePath/resources/assets/personal-images/become_a_patron_button@2x.png",
 
"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"
 
     // you may also use a direct path to the source, e.g. "http://example.com/my/custom/path/to/MyCustomLogo.png"

Revision as of 19:23, 29 September 2019

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

$wgFooterIcons['myicon'] = [
	"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",
];