mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 02:37:05 +00:00
Fix: style printed math formulas with serif font
When printed, math formulas appear best rendered in the same font as the body, serif. Override dl and other sans-serif styling rules for all printed images. e.g.: https://en.wikipedia.org/wiki/Frame-dragging. Bug: T181138 Change-Id: I9755a23cbec8388964c27d938a7aea8e25fe2f7f
This commit is contained in:
parent
4885722aaf
commit
08e68d600a
|
@ -51,6 +51,11 @@
|
||||||
font-family: @font-family-sans-serif;
|
font-family: @font-family-sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Images, such as formulas, render best in serif.
|
||||||
|
img {
|
||||||
|
font-family: @font-family-serif;
|
||||||
|
}
|
||||||
|
|
||||||
// Normalize Blue links in the article
|
// Normalize Blue links in the article
|
||||||
a {
|
a {
|
||||||
border-bottom: 1px solid #aaa;
|
border-bottom: 1px solid #aaa;
|
||||||
|
|
Loading…
Reference in a new issue