「MediaWiki:Vector.css」の版間の差分

提供: ひつじ小屋別館2代目
移動先: 案内検索
(Tightening selector)
(1版 をインポートしました)
(相違点なし)

2015年2月22日 (日) 03:35時点における版

/*
 * 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 */