user-upload
3,547
回編集
(テンプレート:折り畳みボックスのテンプレートリンク集へのスタイル。ついでにタイトルが中央になるよう変更) |
(.bgcolor内でリンクに指定されたのcolorが適応されないようにする。インデントを修正) |
||
116行目: | 116行目: | ||
float: left; | float: left; | ||
width: 6em; | width: 6em; | ||
margin-left: .3em; | margin-left: 0.3em; | ||
text-align: left; | text-align: left; | ||
} | } | ||
124行目: | 124行目: | ||
float: right; | float: right; | ||
width: 6em; | width: 6em; | ||
margin-right: .3em; | margin-right: 0.3em; | ||
font-weight: normal; | font-weight: normal; | ||
text-align: right; | text-align: right; | ||
144行目: | 144行目: | ||
.hlist ol, | .hlist ol, | ||
.hlist ul { | .hlist ul { | ||
display: inline; | |||
margin: 0; | |||
padding: 0; | |||
} | } | ||
.hlist dd, | .hlist dd, | ||
.hlist dt, | .hlist dt, | ||
.hlist li { | .hlist li { | ||
display: inline; | |||
margin: 0; | |||
/*white-space: nowrap;*/ | |||
} | } | ||
.hlist dt:before, | .hlist dt:before, | ||
.hlist li:before { | .hlist li:before { | ||
content: '・ '; | |||
font-weight: normal; | |||
} | } | ||
.hlist-pipe dt:before, | .hlist-pipe dt:before, | ||
.hlist-pipe li:before { | .hlist-pipe li:before { | ||
content: '| '; | |||
} | } | ||
.hlist dl:first-child dt:first-child:before, | .hlist dl:first-child dt:first-child:before, | ||
.hlist li:first-child:before { | .hlist li:first-child:before { | ||
content: none; | |||
} | } | ||
.hlist dd + dt:before { | .hlist dd + dt:before { | ||
display: block; | |||
content: ' '; | |||
} | } | ||
.hlist dt:after { | .hlist dt:after { | ||
content: ':'; | |||
} | } | ||
/*入れ子*/ | /*入れ子*/ | ||
.hlist li ul, | .hlist li ul, | ||
.hlist li ol { | .hlist li ol { | ||
font-size: 90%; | |||
} | } | ||
.hlist li ul:before, | .hlist li ul:before, | ||
.hlist li ol:before { | .hlist li ol:before { | ||
content: '('; | |||
} | } | ||
.hlist li ul:after, | .hlist li ul:after, | ||
.hlist li ol:after { | .hlist li ol:after { | ||
content: ')'; | |||
} | } | ||
/*数字付きリスト*/ | /*数字付きリスト*/ | ||
.hlist ol { | .hlist ol { | ||
counter-reset: hlist-item; | |||
} | } | ||
.hlist ol > li { | .hlist ol > li { | ||
counter-increment: hlist-item; | |||
} | } | ||
.hlist ol > li:before { | .hlist ol > li:before { | ||
content: "・ " counter(hlist-item) ". "; | |||
} | } | ||
.hlist-pipe ol > li:before { | .hlist-pipe ol > li:before { | ||
content: "| " counter(hlist-item) ". "; | |||
} | } | ||
.hlist ol > li:first-child:before { | .hlist ol > li:first-child:before { | ||
content: counter(hlist-item) ". "; | |||
} | } | ||
/*ここまで、横リスト用CSS*/ | /*ここまで、横リスト用CSS*/ | ||
/*セットリスト用CSS*/ | /*セットリスト用CSS*/ | ||
232行目: | 233行目: | ||
} | } | ||
/*ここまで、セットリスト用CSS*/ | /*ここまで、セットリスト用CSS*/ | ||
/*チームカラー・サイリウム背景CSS*/ | /*チームカラー・サイリウム背景CSS*/ | ||
.bgcolor { background-color: #555555; } | .bgcolor { | ||
background-color: #555555; | |||
span.bgcolor { display:inline-block; padding:0 0.5em; } | color: #ffffff; | ||
} | |||
/* リンクに指定されたcolorが適応されないようにする */ | |||
#content .bgcolor a { color: inherit; } | |||
span.bgcolor { | |||
display: inline-block; | |||
padding: 0 0.5em; | |||
} | |||
.bgcolor-AKB48, .bgcolor-AKB { background-color: #fc60aa; } | .bgcolor-AKB48, .bgcolor-AKB { background-color: #fc60aa; } |