「MediaWiki:Vector.css」の版間の差分
提供: ひつじ小屋別館2代目
細 (1版) |
(Tightening selector) |
||
1行目: | 1行目: | ||
− | /* | + | /* |
− | + | * Typograhy refresh | |
− | + | */ | |
− | |||
− | /* for | + | /* Force lining numbers in headers (for fonts like Georgia) */ |
− | + | h1, | |
− | + | h2, | |
− | + | #firstHeading { | |
− | + | -moz-font-feature-settings: "lnum"; | |
− | + | -webkit-font-feature-settings: "lnum"; | |
− | + | font-feature-settings: "lnum"; | |
} | } | ||
− | /* | + | /* Fixes for Typography refresh, see also [[Bugzilla:64653]] */ |
− | + | ||
− | + | /* Consistent size for sub/sup */ | |
− | + | .mw-body sub, | |
− | + | .mw-body sup, | |
− | font-size: | + | span.reference /* for Parsoid */ { |
− | + | font-size: 80%; | |
} | } | ||
− | /* | + | /* Margin for H1 on pages, excluding #firstHeading */ |
− | + | .mw-body-content h1 { | |
− | + | margin-top: 1em; | |
} | } | ||
− | /* | + | /* lists line-height */ |
− | + | .mw-body dd, | |
− | + | .mw-body ol, | |
+ | .mw-body ul { | ||
+ | line-height: 1.6; | ||
} | } | ||
− | /* | + | /* Fix for changelist legend due to above fix (which will probably be merged at some point, |
− | + | so this should be scoped in mediawiki.special.changeslist.legend.css) */ | |
− | + | .mw-body .mw-changeslist-legend dd { | |
+ | line-height: 1.3em; | ||
} | } | ||
− | /* | + | /* End of Typography Refresh section */ |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
2015年1月13日 (火) 07:06時点における版
/*
* Typograhy refresh
*/
/* Force lining numbers in headers (for fonts like Georgia) */
h1,
h2,
#firstHeading {
-moz-font-feature-settings: "lnum";
-webkit-font-feature-settings: "lnum";
font-feature-settings: "lnum";
}
/* Fixes for Typography refresh, see also [[Bugzilla:64653]] */
/* Consistent size for sub/sup */
.mw-body sub,
.mw-body sup,
span.reference /* for Parsoid */ {
font-size: 80%;
}
/* Margin for H1 on pages, excluding #firstHeading */
.mw-body-content h1 {
margin-top: 1em;
}
/* lists line-height */
.mw-body dd,
.mw-body ol,
.mw-body ul {
line-height: 1.6;
}
/* Fix for changelist legend due to above fix (which will probably be merged at some point,
so this should be scoped in mediawiki.special.changeslist.legend.css) */
.mw-body .mw-changeslist-legend dd {
line-height: 1.3em;
}
/* End of Typography Refresh section */