MediaWiki:Common.css

提供:エケペディア
2014年4月25日 (金) 18:34時点におけるNo.name2 (トーク | 投稿記録)による版 (MediaWiki:Gadget-SiteOrigin.cssに移植したコードを削除)
ナビゲーションに移動 検索に移動

注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。

  • Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
  • Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
  • Internet Explore/Edger: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
  • Opera: Ctrl-F5を押してください
/* ここに記述したCSSはすべての外装に反映されます */
#bodyContent {
font-size: 94.4%;
}
/* メインページタイトル */
body.page-メインページ h1.firstHeading {display:none;}

/* 印刷不可 */
@media print{
  .printing_none{ display: none !important; }
}

/* 脚注 */
sup, sub {
  height: 0;
  line-height: 1;
  vertical-align: baseline;
  _vertical-align: bottom;
  position: relative;
} 
sup { bottom: 1ex; }
sub { top: 0.5ex; }
sup.reference a { white-space: nowrap; }

/* 目次の深さ制限 */
.toclimit-2 .toclevel-2 { display: none; }
.toclimit-3 .toclevel-3 { display: none; }
.toclimit-4 .toclevel-4 { display: none; }
.toclimit-5 .toclevel-5 { display: none; }
.toclimit-6 .toclevel-6 { display: none; }
.toclimit-7 .toclevel-7 { display: none; }

/* 目次のセクション番号を表示しない */
.notocnumber .tocnumber { display: none; }

/* [[テンプレート:要出典]] */
@media screen {
  .fix-domain { border-bottom: dashed 1px; }
}

/* タブ */
.tab-list {
  float: left;
  width: 100%;
  border-bottom: 1px solid #c0c0c0;
}
.tab-list ul {
  float: left;
  margin-left: 4px;
  border-top: 1px solid #c0c0c0;
  border-left: 1px solid #c0c0c0;
  cursor: pointer;
}
.tab-list li {
  float: left;
  position: relative;
  list-style: none;
  bottom: -1px;
  margin: -1px 0 0 0;
  padding: 0.15em 0.75em;
  background-color: #f3f3f3;
  border-right: 1px solid #c0c0c0;
  border-bottom-width: 0;
  border-bottom: 1px solid #c0c0c0;
}
/* .hlistによるcontent指定を無効化 */
#content .hlist .tab-list li:before { content: none; }
.tab-list li.current-tab {
  background-color: #fff;
  border-bottom: 1px solid #fff;
}
.tab-list li:hover {
  text-decoration: underline;
}
.tab-list li.current-tab:hover {
  text-decoration: none;
}
.tab-content {
  clear: both;
}