mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
481c90798e
Applying calculation measurments to have full pixel equivalent to `em` based properties that are necessary for user font scaling preference ability. Also: * Changing watchlist icon to `em` based sizing and remodulate positioning by putting it on `:before` elements. * Changing calculation of `.vectorMenu h3` to acommodate down arrow indicator. TODO: * Remove the extra <span> (in separate commit, to make it easier to rest cache compat during code review). Bug: T236410 Change-Id: I8237976e05870378be3430e3e14c3e6993de3dc1 |
||
---|---|---|
.phan | ||
components | ||
i18n | ||
images | ||
includes | ||
screenshots | ||
skinStyles | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
collapsibleTabs.js | ||
composer.json | ||
COPYING | ||
Gruntfile.js | ||
hooks.txt | ||
jsduck.json | ||
package-lock.json | ||
package.json | ||
print.less | ||
README.md | ||
responsive.less | ||
screen-hd.less | ||
screen.less | ||
skin.json | ||
variables.less | ||
vector.js |
Vector Skin
Configuration options
$wgVectorPrintLogo
Logo used in print styles. Keys are url
, width
, and height
(in
pixels). Note that this solution only works correctly if the image
pointed to by url
is an SVG that does not specify width and height
attributes, or its width and height match the corresponding variables
below. Alternatively, a PNG or other type of image can be used, but
its dimensions also need to match the corresponding variable below.
That in turn may result in blurry images, though.
The URL can be absolute or relative.
Example configuration:
$wgVectorPrintLogo = [
'url' => 'https://en.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg',
'width' => 174,
'height' => 27
];
- Type:
Array
- Default:
false