「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(特定のclass下でlist-styleを確実に無効にする) |
(MediaWiki:Gadget-SiteOrigin.cssに移植したコードを削除) |
||
3行目: | 3行目: | ||
font-size: 94.4%; | font-size: 94.4%; | ||
} | } | ||
/*メインページタイトル*/ | /* メインページタイトル */ | ||
body.page-メインページ h1.firstHeading {display:none;} | body.page-メインページ h1.firstHeading {display:none;} | ||
/*印刷不可*/ | /* 印刷不可 */ | ||
@media print{ | @media print{ | ||
.printing_none{ display: none !important; } | .printing_none{ display: none !important; } | ||
} | } | ||
/*脚注*/ | /* 脚注 */ | ||
sup, sub { | sup, sub { | ||
height: 0; | height: 0; | ||
23行目: | 23行目: | ||
sup.reference a { white-space: nowrap; } | sup.reference a { white-space: nowrap; } | ||
/*目次の深さ制限*/ | /* 目次の深さ制限 */ | ||
.toclimit-2 .toclevel-2 { display: none; } | .toclimit-2 .toclevel-2 { display: none; } | ||
.toclimit-3 .toclevel-3 { display: none; } | .toclimit-3 .toclevel-3 { display: none; } | ||
31行目: | 31行目: | ||
.toclimit-7 .toclevel-7 { display: none; } | .toclimit-7 .toclevel-7 { display: none; } | ||
/*目次のセクション番号を表示しない*/ | /* 目次のセクション番号を表示しない */ | ||
.notocnumber .tocnumber { display: none; } | .notocnumber .tocnumber { display: none; } | ||
/*[[テンプレート:要出典]]*/ | /* [[テンプレート:要出典]] */ | ||
@media screen { | @media screen { | ||
.fix-domain { border-bottom: dashed 1px; } | .fix-domain { border-bottom: dashed 1px; } | ||
} | } | ||
/* タブ */ | |||
/*タブ*/ | |||
.tab-list { | .tab-list { | ||
float: left; | float: left; | ||
277行目: | 64行目: | ||
border-bottom: 1px solid #c0c0c0; | border-bottom: 1px solid #c0c0c0; | ||
} | } | ||
.tab-list li:before { content: none; } | /* .hlistによるcontent指定を無効化 */ | ||
#content .hlist .tab-list li:before { content: none; } | |||
.tab-list li.current-tab { | .tab-list li.current-tab { | ||
background-color: #fff; | background-color: #fff; | ||
291行目: | 79行目: | ||
clear: both; | clear: both; | ||
} | } | ||
2014年4月25日 (金) 18:34時点における版
/* ここに記述した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;
}