「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(MediaWiki:Gadget-SiteOrigin.cssに移植したコードを削除) |
細編集の要約なし |
||
1行目: | 1行目: | ||
/* ここに記述したCSSはすべての外装に反映されます */ | /* ここに記述したCSSはすべての外装に反映されます */ | ||
/* メインページタイトル */ | /* メインページタイトル */ | ||
body.page-メインページ h1.firstHeading {display:none;} | body.page-メインページ h1.firstHeading {display:none;} |
2014年4月25日 (金) 21:44時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* メインページタイトル */
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;
}