Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: $wgFooterIcons['poweredby']['myicon'] = [ "src" => "/public_html/mw19/resources/assets/images other than logo/become_a_pat...") |
|||
| Line 2: | Line 2: | ||
$wgFooterIcons['poweredby']['myicon'] = [ | $wgFooterIcons['poweredby']['myicon'] = [ | ||
| − | "src" => " | + | "src" => "resources/assets/images other than logo/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" | ||
"url" => "https://www.patreon.com/mustachianhacks", | "url" => "https://www.patreon.com/mustachianhacks", | ||
Revision as of 19:10, 29 September 2019
/* CSS placed here will be applied to all skins */
$wgFooterIcons['poweredby']['myicon'] = [
"src" => "resources/assets/images other than logo/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",
// For HiDPI support, you can specify paths to larger versions of the icon.
"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",
];
