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

提供:saveMLAK
ナビゲーションに移動 検索に移動
(小文字始まり)
(メインページのh1要素のmarginの調整)
22行目: 22行目:
 
  font-size:2.5em !important;
 
  font-size:2.5em !important;
 
  font-family:'Arial Black';
 
  font-family:'Arial Black';
  margin:0.2em 0.2em 0.1em 0.2em !important;;
+
  margin:0.2em 0.1em 0.1em 0.1em !important;;
 
  padding:0.2em 0.3em !important;;
 
  padding:0.2em 0.3em !important;;
 
  border:solid #aaaaaa;
 
  border:solid #aaaaaa;

2011年4月26日 (火) 22:02時点における版

/* ここに書いたCSSはすべての外装に反映されます */

pre {
  overflow: auto;
}

/* メインページのh1見出しを消去 */
body.page-saveMLAK #siteSub,
body.page-saveMLAK_en #siteSub,
body.page-saveMLAK #contentSub,
body.page-saveMLAK_en #contentSub,
body.page-saveMLAK .subtitle,
body.page-saveMLAK_en .subtitle,
body.page-saveMLAK h1.pagetitle,
body.page-saveMLAK_en h1.pagetitle {
    display: none;
}

/* メインページのh1見出しを再設定 */
body.page-saveMLAK h1.firstHeading,
body.page-saveMLAK_en h1.firstHeading {
 font-size:2.5em !important;
 font-family:'Arial Black';
 margin:0.2em 0.1em 0.1em 0.1em !important;;
 padding:0.2em 0.3em !important;;
 border:solid #aaaaaa;
 border-width:0 0 10px 0;
 text-align:left;
}