An arbitrary 120pt (approved by the designer) has been chosen as the minimum width of paragraphs. This is especially useful when a paragraph is surrounded by two floating elements from the left and right. If there is not enough space in the middle, then the change will push the paragraph text until there's enough space to display the text. Bug: T175008 Change-Id: I428f153309162e23606e5187a0e1bd7244253f10 |
||
---|---|---|
components | ||
i18n | ||
images | ||
screenshots | ||
skinStyles | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
COPYING | ||
Gruntfile.js | ||
Hooks.php | ||
README.md | ||
ResourceLoaderLessModule.php | ||
SkinVector.php | ||
Vector.php | ||
VectorTemplate.php | ||
collapsibleTabs.js | ||
composer.json | ||
hooks.txt | ||
jsduck.json | ||
package.json | ||
phpcs.xml | ||
print.less | ||
responsive.less | ||
screen-hd.less | ||
screen.less | ||
skin.json | ||
variables.less | ||
vector.js |
README.md
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.
Example configuration:
$wgVectorPrintLogo = [
'url' => 'https://en.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg',
'width' => 174,
'height' => 27
];
- Type:
Array
- Default:
false