「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(要出典テンプレート向けCSS) |
(横リスト用CSSの追加。折り畳みボックスCSSの修正) |
||
41行目: | 41行目: | ||
/*折り畳みボックス*/ | /*折り畳みボックス*/ | ||
.collapsible-navbox { | |||
clear: both; | |||
width: 100%; | |||
border: 1px solid #aaa; | |||
margin-top: -1px; | |||
padding: 3px; | |||
font-size: 90%; | |||
} | |||
.navbox-title, | .navbox-title, | ||
.navbox-group { | .navbox-group { | ||
text-align: center; | |||
font-weight: bold; | |||
background-color: #ddd; | |||
color: #333; | |||
} | } | ||
.navbox-title a, | .navbox-title a, | ||
.navbox-group a { | .navbox-group a { | ||
color: #333; | |||
} | |||
.collapseButton { | |||
float: right; | |||
margin-right: 0.2em; | |||
font-weight: normal; | |||
text-align: right; | |||
} | |||
.navbox-group { | |||
padding: 1px 10px; | |||
white-space: nowrap; | |||
} | |||
.navbox-list p { | |||
margin: 0; | |||
} | } | ||
. | /*横リスト用CSS*/ | ||
.hlist dl, | |||
. | .hlist ol, | ||
.hlist ul { | |||
display: inline; | |||
margin: 0; | |||
} | |||
.hlist dd, | |||
.hlist dt, | |||
.hlist li { | |||
margin: 0; | |||
display: inline; | |||
/*white-space: nowrap;*/ | |||
} | |||
.hlist dt:before, | |||
.hlist li:before { | |||
content: '・ '; | |||
font-weight: normal; | |||
} | |||
.hlist-pipe dt:before, | |||
.hlist-pipe li:before { | |||
content: '| '; | |||
} | |||
.hlist dl:first-child dt:first-child:before, | |||
.hlist li:first-child:before { | |||
content: none; | |||
} | |||
.hlist dd + dt:before { | |||
display: block; | |||
content: ' '; | |||
} | |||
.hlist dt:after { | |||
content: ':'; | |||
} | |||
/*入れ子*/ | |||
.hlist li ul { | |||
font-size: 90%; | |||
} | |||
.hlist li ul:before { | |||
content: '('; | |||
} | |||
.hlist li ul:after { | |||
content: ')'; | |||
} | |||
/*数字付きリスト*/ | |||
.hlist ol { | |||
counter-reset: hlist-item; | |||
} | |||
.hlist ol > li { | |||
counter-increment: hlist-item; | |||
} | |||
.hlist ol > li:before { | |||
content: "・ " counter(hlist-item) ". "; | |||
} | |||
.hlist-pipe ol > li:before { | |||
content: "| " counter(hlist-item) ". "; | |||
} | |||
.hlist ol > li:first-child:before { | |||
content: counter(hlist-item) ". "; | |||
} | } | ||
/*ここまで、横リスト用CSS*/ | |||
/*セットリスト用CSS*/ | /*セットリスト用CSS*/ |
2014年1月4日 (土) 10:08時点における版
/* ここに記述したCSSはすべての外装に反映されます */
#bodyContent {
font-size: 94.4%;
}
/*メインページタイトル*/
body.page-メインページ h1.firstHeading {display:none;}
/*印刷不可*/
@media print{
.printing_none{ display: none !important; }
}
/*[[テンプレート:要出典]]*/
@media screen {
.fix-domain { border-bottom: dashed 1px; }
}
/*ルビ*/
.ruby {
display: inline-table;
vertical-align: bottom;
white-space: nowrap;
}
.ruby .rb {
display: table-row-group;
text-align: center;
}
.ruby .rp { display: none; }
.ruby .rt {
display: table-header-group;
line-height: 100%;
font-size: 0.7em;
text-align: center;
}
/*情報ボックス*/
.infobox-title {
background-color: #999;
color: #fff;
}
/*折り畳みボックス*/
.collapsible-navbox {
clear: both;
width: 100%;
border: 1px solid #aaa;
margin-top: -1px;
padding: 3px;
font-size: 90%;
}
.navbox-title,
.navbox-group {
text-align: center;
font-weight: bold;
background-color: #ddd;
color: #333;
}
.navbox-title a,
.navbox-group a {
color: #333;
}
.collapseButton {
float: right;
margin-right: 0.2em;
font-weight: normal;
text-align: right;
}
.navbox-group {
padding: 1px 10px;
white-space: nowrap;
}
.navbox-list p {
margin: 0;
}
/*横リスト用CSS*/
.hlist dl,
.hlist ol,
.hlist ul {
display: inline;
margin: 0;
}
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
/*white-space: nowrap;*/
}
.hlist dt:before,
.hlist li:before {
content: '・ ';
font-weight: normal;
}
.hlist-pipe dt:before,
.hlist-pipe li:before {
content: '| ';
}
.hlist dl:first-child dt:first-child:before,
.hlist li:first-child:before {
content: none;
}
.hlist dd + dt:before {
display: block;
content: ' ';
}
.hlist dt:after {
content: ':';
}
/*入れ子*/
.hlist li ul {
font-size: 90%;
}
.hlist li ul:before {
content: '(';
}
.hlist li ul:after {
content: ')';
}
/*数字付きリスト*/
.hlist ol {
counter-reset: hlist-item;
}
.hlist ol > li {
counter-increment: hlist-item;
}
.hlist ol > li:before {
content: "・ " counter(hlist-item) ". ";
}
.hlist-pipe ol > li:before {
content: "| " counter(hlist-item) ". ";
}
.hlist ol > li:first-child:before {
content: counter(hlist-item) ". ";
}
/*ここまで、横リスト用CSS*/
/*セットリスト用CSS*/
.setlist {
counter-reset: setlist-item;
}
.setlist ol, .setlist p {
margin: 0;
padding: 0;
}
.setlist li {
list-style-type: none;
counter-increment: setlist-item;
}
.setlist li:before {
content: "M" counters(setlist-item, "", decimal-leading-zero) ".";
margin-right: 0.3em;
}
.encore li:before {
content: "EN" counters(setlist-item, "") ".";
}
.with-overture {
counter-reset: setlist-item -1;
}
/*ここまで、セットリスト用CSS*/
/*チームカラー背景CSS*/
.bgcolor { background-color: #555; }
.bgcolor, .bgcolor a { color: #fff; }
.bgcolor-AKB48, .bgcolor-AKB { background-color: #fc60aa; }
.bgcolor-チームA, .bgcolor-A { background-color: #f576a3; }
.bgcolor-チームK, .bgcolor-K { background-color: #77b800; }
.bgcolor-チームB, .bgcolor-B { background-color: #34b6e4; }
.bgcolor-チーム4, .bgcolor-4 { background-color: #fcd116; }
.bgcolor-研究生, .bgcolor-研 { background-color: #ff0000; }
.bgcolor-SKE48, .bgcolor-SKE,
.bgcolor-チームS, .bgcolor-S { background-color: #f8b600; }
.bgcolor-チームKII, .bgcolor-KII { background-color: #e70142; }
.bgcolor-チームE, .bgcolor-E { background-color: #016b67; }
.bgcolor-SKE48研究生, .bgcolor-S研 { background-color: #5cc4e9; }
.bgcolor-NMB48, .bgcolor-NMB { background: url(/images/a/ae/Leopard.jpg) #219ddd; }
.bgcolor-チームN, .bgcolor-N { background-color: #f0c018; }
.bgcolor-チームM, .bgcolor-M { background-color: #d04088; }
.bgcolor-チームBII, .bgcolor-BII { background-color: #169ece; }
.bgcolor-NMB48研究生, .bgcolor-N研 { background-color: #c781bf; }
.bgcolor-HKT48, .bgcolor-HKT { background-color: #000000; }
.bgcolor-チームH, .bgcolor-H { background-color: #000000; }
.bgcolor-HKT48研究生, .bgcolor-H研 { background-color: #3f3f3f; }
.bgcolor-JKT48, .bgcolor-JKT { background-color: #e70012; }
.bgcolor-チームJ, .bgcolor-J { background-color: #e70012; }
.bgcolor-チームKIII, .bgcolor-KIII { background-color: #bd000e; }
.bgcolor-JKT48研究生, .bgcolor-J研 { background-color: #93000b; }
.bgcolor-SNH48, .bgcolor-SNH { background-color: #8fd3f6; }
.bgcolor-チームSII, .bgcolor-SII { background-color: #9ed9f7; }
.bgcolor-チームNII, .bgcolor-NII { background-color: #ae86ba; }
.bgcolor-SNH48研究生, .bgcolor-SNH研 { background-color: #68c2f2; }
.bgcolor-乃木坂46, .bgcolor-乃木坂 { background-color: #7e0f85; }
.bgcolor-乃木坂46研究生, .bgcolor-乃研 { background-color: #5b0b60; }
.bgcolor-SDN48, .bgcolor-SDN { background-color: #bfbfbf; }
/*ここまで、チームカラー背景CSS*/