その他の操作
今川 凌 (MONACA) (トーク | 投稿記録) 編集の要約なし タグ: 差し戻し済み |
今川 凌 (MONACA) (トーク | 投稿記録) 編集の要約なし タグ: 手動差し戻し |
||
1行目: | 1行目: | ||
/* ここに記述したCSSは携帯機器版サイトの利用者に影響します */ | /* ここに記述したCSSは携帯機器版サイトの利用者に影響します */ | ||
.hlist dl, | |||
.hlist ol, | |||
.hlist ul { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* Display list items inline */ | |||
.hlist li { | |||
margin: 0; | |||
display: inline; | |||
} | |||
/* reset hlist margins of Minerva | |||
do not add li here (see T235416) */ | |||
.hlist dd, | |||
.hlist dt { | |||
margin-right: 0 !important; | |||
display: inline; | |||
} | |||
/* Display nested lists inline */ | |||
.hlist.inline, | |||
.hlist.inline dl, | |||
.hlist.inline ol, | |||
.hlist.inline ul, | |||
.hlist dl dl, .hlist dl ol, .hlist dl ul, | |||
.hlist ol dl, .hlist ol ol, .hlist ol ul, | |||
.hlist ul dl, .hlist ul ol, .hlist ul ul { | |||
display: inline; | |||
} | |||
/* Hide empty list items */ | |||
.hlist .mw-empty-li, | |||
.hlist .mw-empty-elt { | |||
display: none; | |||
} | |||
/* Generate interpuncts */ | |||
#bodyContent .hlist dt:after { | |||
content: ":"; | |||
} | |||
#bodyContent .hlist dd:after, | |||
#bodyContent .hlist li:after { | |||
content: " ·"; | |||
font-weight: bold; | |||
} | |||
#bodyContent .hlist dd:last-child:after, | |||
#bodyContent .hlist dt:last-child:after, | |||
#bodyContent .hlist li:last-child:after { | |||
content: none !important; | |||
} | |||
/* Add parentheses around nested lists */ | |||
#bodyContent .hlist dd dd:first-child:before, #bodyContent .hlist dd dt:first-child:before, #bodyContent .hlist dd li:first-child:before, | |||
#bodyContent .hlist dt dd:first-child:before, #bodyContent .hlist dt dt:first-child:before, #bodyContent .hlist dt li:first-child:before, | |||
#bodyContent .hlist li dd:first-child:before, #bodyContent .hlist li dt:first-child:before, #bodyContent .hlist li li:first-child:before { | |||
content: "(" !important; | |||
font-weight: normal; | |||
} | |||
#bodyContent .hlist dd dd:last-child:after, #bodyContent .hlist dd dt:last-child:after, #bodyContent .hlist dd li:last-child:after, | |||
#bodyContent .hlist dt dd:last-child:after, #bodyContent .hlist dt dt:last-child:after, #bodyContent .hlist dt li:last-child:after, | |||
#bodyContent .hlist li dd:last-child:after, #bodyContent .hlist li dt:last-child:after, #bodyContent .hlist li li:last-child:after { | |||
content: ")" !important; | |||
font-weight: normal; | |||
} | |||
/* Put ordinals in front of ordered list items */ | |||
#bodyContent .hlist ol { | |||
counter-reset: listitem; | |||
} | |||
#bodyContent .hlist ol > li { | |||
counter-increment: listitem; | |||
} | |||
#bodyContent .hlist ol > li:before { | |||
content: " " counter(listitem) ".\a0"; | |||
} | |||
#bodyContent .hlist dd ol > li:first-child:before, | |||
#bodyContent .hlist dt ol > li:first-child:before, | |||
#bodyContent .hlist li ol > li:first-child:before { | |||
content: " (" counter(listitem) "\a0"; | |||
} | |||
/* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */ | |||
#bodyContent .hlist-pipe dd:after, | |||
#bodyContent .hlist-pipe li:after { | |||
content: " |" !important; | |||
font-weight: normal; | |||
} | |||
#bodyContent .hlist-hyphen dd:after, | |||
#bodyContent .hlist-hyphen li:after { | |||
content: " -" !important; | |||
font-weight: normal; | |||
} | |||
#bodyContent .hlist-comma dd:after, | |||
#bodyContent .hlist-comma li:after { | |||
content: "、" !important; | |||
font-weight: normal; | |||
} | |||
#bodyContent .hlist-slash dd:after, | |||
#bodyContent .hlist-slash li:after { | |||
content: " /" !important; | |||
font-weight: normal; | |||
} | |||
/* Unbulleted lists */ | |||
.plainlist ol, | |||
.plainlist ul { | |||
list-style: none none; | |||
padding-left: 0; /* Reset Minerva defaults */ | |||
} | |||
.plainlist ol li, | |||
.plainlist ul li { | |||
margin-bottom: 0; | |||
} | |||
/* 表が縦に長くなるのを防ぐ */ | |||
.wikitable, .tracklist { | |||
overflow-wrap: break-word; | |||
word-wrap: break-word; | |||
word-break: keep-all; | |||
} | |||
#ca-talk { display:none!important; } /*議論タブを消す*/ | #ca-talk { display:none!important; } /*議論タブを消す*/ |
2023年5月16日 (火) 15:17時点における版
/* ここに記述したCSSは携帯機器版サイトの利用者に影響します */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist li { margin: 0; display: inline; } /* reset hlist margins of Minerva do not add li here (see T235416) */ .hlist dd, .hlist dt { margin-right: 0 !important; display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; } /* Hide empty list items */ .hlist .mw-empty-li, .hlist .mw-empty-elt { display: none; } /* Generate interpuncts */ #bodyContent .hlist dt:after { content: ":"; } #bodyContent .hlist dd:after, #bodyContent .hlist li:after { content: " ·"; font-weight: bold; } #bodyContent .hlist dd:last-child:after, #bodyContent .hlist dt:last-child:after, #bodyContent .hlist li:last-child:after { content: none !important; } /* Add parentheses around nested lists */ #bodyContent .hlist dd dd:first-child:before, #bodyContent .hlist dd dt:first-child:before, #bodyContent .hlist dd li:first-child:before, #bodyContent .hlist dt dd:first-child:before, #bodyContent .hlist dt dt:first-child:before, #bodyContent .hlist dt li:first-child:before, #bodyContent .hlist li dd:first-child:before, #bodyContent .hlist li dt:first-child:before, #bodyContent .hlist li li:first-child:before { content: "(" !important; font-weight: normal; } #bodyContent .hlist dd dd:last-child:after, #bodyContent .hlist dd dt:last-child:after, #bodyContent .hlist dd li:last-child:after, #bodyContent .hlist dt dd:last-child:after, #bodyContent .hlist dt dt:last-child:after, #bodyContent .hlist dt li:last-child:after, #bodyContent .hlist li dd:last-child:after, #bodyContent .hlist li dt:last-child:after, #bodyContent .hlist li li:last-child:after { content: ")" !important; font-weight: normal; } /* Put ordinals in front of ordered list items */ #bodyContent .hlist ol { counter-reset: listitem; } #bodyContent .hlist ol > li { counter-increment: listitem; } #bodyContent .hlist ol > li:before { content: " " counter(listitem) ".\a0"; } #bodyContent .hlist dd ol > li:first-child:before, #bodyContent .hlist dt ol > li:first-child:before, #bodyContent .hlist li ol > li:first-child:before { content: " (" counter(listitem) "\a0"; } /* 日本語版の独自仕様。-pipe、-hyphen、-comma、-slash */ #bodyContent .hlist-pipe dd:after, #bodyContent .hlist-pipe li:after { content: " |" !important; font-weight: normal; } #bodyContent .hlist-hyphen dd:after, #bodyContent .hlist-hyphen li:after { content: " -" !important; font-weight: normal; } #bodyContent .hlist-comma dd:after, #bodyContent .hlist-comma li:after { content: "、" !important; font-weight: normal; } #bodyContent .hlist-slash dd:after, #bodyContent .hlist-slash li:after { content: " /" !important; font-weight: normal; } /* Unbulleted lists */ .plainlist ol, .plainlist ul { list-style: none none; padding-left: 0; /* Reset Minerva defaults */ } .plainlist ol li, .plainlist ul li { margin-bottom: 0; } /* 表が縦に長くなるのを防ぐ */ .wikitable, .tracklist { overflow-wrap: break-word; word-wrap: break-word; word-break: keep-all; } #ca-talk { display:none!important; } /*議論タブを消す*/ #ca-history { display:none!important; } /*履歴表示タブを消す*/ #ca-viewsource { display:none!important; } /*ソース表示タブを消す*/ #footer { display: none; } #footer-places { display: none; } .wikitable{ overflow-x: auto; } .mw-logo-wordmark { color:#FF9800; } /* [[Template:Infobox Person]]用のスタイル */ .Person { width: auto; font-size: 90%; margin: 0 auto; display: inline-block; border-collapse: collapse; clear: center; } .Person th { white-space: nowrap; } .Person td { text-align: left; } /* </source> */