“模板:Navbox”的版本间的差异
[未复核版本] | [未复核版本] |
Jacky Jnirvana(讨论 | 贡献) |
Jacky Jnirvana(讨论 | 贡献) |
||
第1行: | 第1行: | ||
<style> | <style>.navbar{display:inline;font-size:88%;font-weight:400}.navbar ul{display:inline;white-space:nowrap}.navbar li{word-spacing:-.125em}.navbox .navbar{display:block;font-size:100%}.navbox-title .navbar{float:left;text-align:left;margin-right:.5em;width:6em}.hlist dl,.hlist ol,.hlist ul{margin:0;padding:0}.hlist dd,.hlist dt,.hlist li{margin:0;display:inline}.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}.hlist .mw-empty-li,.hlist .mw-empty-elt{display:none}.hlist dt:after{content:": "}.hlist dd:after,.hlist li:after{content:" · ";font-weight:700}.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after{content:none}.hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before{content:" (";font-weight:400}.hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after{content:")";font-weight:400}.hlist ol{counter-reset:listitem}.hlist ol > li{counter-increment:listitem}.hlist ol > li:before{content:" " counter(listitem) "\a0"}.hlist dd ol > li:first-child:before,.hlist dt ol > li:first-child:before,.hlist li ol > li:first-child:before{content:" (" counter(listitem) "\a0"}.navbox{border:1px solid #aaa;box-sizing:border-box;width:100%;margin:auto;clear:both;font-size:88%;text-align:center;padding:1px}.navbox-inner,.navbox-subgroup{width:100%}.navbox + .navbox-styles + .navbox{margin-top:-1px}.navbox th,.navbox-title,.navbox-abovebelow{text-align:center;padding-left:1em;padding-right:1em}th.navbox-group{white-space:nowrap;text-align:right}.navbox,.navbox-subgroup{background:#fdfdfd}.navbox-list{border-color:#fdfdfd}.navbox th,.navbox-title{background:#eaeeff}.navbox-abovebelow,th.navbox-group,.navbox-subgroup .navbox-title{background:#ddf}.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow{background:#e6e6ff}.navbox-even{background:#f7f7f7}.navbox-odd{background:transparent}th.navbox-title1{border-left:2px solid #fdfdfd;width:100%}td.navbox-list1{text-align:left;border-left-width:2px;border-left-style:solid}.navbox .hlist td dl,.navbox .hlist td ol,.navbox .hlist td ul,.navbox td.hlist dl,.navbox td.hlist ol,.navbox td.hlist ul{padding:.125em 0}.navbox .hlist dd,.navbox .hlist dt,.navbox .hlist li{white-space:nowrap}.navbox .hlist dd dl,.navbox .hlist dt dl,.navbox .hlist li ol,.navbox .hlist li ul{white-space:normal}ol + .navbox-styles + .navbox,ul + .navbox-styles + .navbox{margin-top:.5em}</style><includeonly>{{#invoke:Navbox|navbox}}</includeonly> | ||
.navbar { | |||
} | |||
.navbar ul { | |||
} | |||
.navbar li { | |||
} | |||
.navbox .navbar { | |||
} | |||
.navbox-title .navbar { | |||
} | |||
.hlist dl, | |||
.hlist ol, | |||
.hlist ul { | |||
} | |||
.hlist dd, | |||
.hlist dt, | |||
.hlist li { | |||
} | |||
.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 { | |||
} | |||
.hlist .mw-empty-li, | |||
.hlist .mw-empty-elt { | |||
} | |||
.hlist dt:after { | |||
} | |||
.hlist dd:after, | |||
.hlist li:after { | |||
} | |||
.hlist dd:last-child:after, | |||
.hlist dt:last-child:after, | |||
.hlist li:last-child:after { | |||
} | |||
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, | |||
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, | |||
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { | |||
} | |||
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, | |||
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | |||
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { | |||
} | |||
.hlist ol { | |||
} | |||
.hlist ol > li { | |||
} | |||
.hlist ol > li:before { | |||
} | |||
.hlist dd ol > li:first-child:before, | |||
.hlist dt ol > li:first-child:before, | |||
.hlist li ol > li:first-child:before { | |||
} | |||
.navbox { | |||
} | |||
.navbox-inner, | |||
.navbox-subgroup { | |||
} | |||
.navbox + .navbox-styles + .navbox { | |||
} | |||
.navbox th, | |||
.navbox-title, | |||
.navbox-abovebelow { | |||
} | |||
th.navbox-group { | |||
} | |||
.navbox, | |||
.navbox-subgroup { | |||
} | |||
.navbox-list { | |||
} | |||
.navbox th, | |||
.navbox-title { | |||
} | |||
.navbox-abovebelow, | |||
th.navbox-group, | |||
.navbox-subgroup .navbox-title { | |||
} | |||
.navbox-subgroup .navbox-group, | |||
.navbox-subgroup .navbox-abovebelow { | |||
} | |||
.navbox-even { | |||
} | |||
.navbox-odd { | |||
} | |||
th.navbox-title1 { | |||
} | |||
td.navbox-list1 { | |||
} | |||
.navbox .hlist td dl, | |||
.navbox .hlist td ol, | |||
.navbox .hlist td ul, | |||
.navbox td.hlist dl, | |||
.navbox td.hlist ol, | |||
.navbox td.hlist ul { | |||
} | |||
.navbox .hlist dd, | |||
.navbox .hlist dt, | |||
.navbox .hlist li { | |||
} | |||
.navbox .hlist dd dl, | |||
.navbox .hlist dt dl, | |||
.navbox .hlist li ol, | |||
.navbox .hlist li ul { | |||
} | |||
ol + .navbox-styles + .navbox, | |||
ul + .navbox-styles + .navbox { | |||
} | |||
</style><includeonly>{{#invoke:Navbox|navbox}}</includeonly> |
2022年12月6日 (二) 05:45的版本
<style>.navbar{display:inline;font-size:88%;font-weight:400}.navbar ul{display:inline;white-space:nowrap}.navbar li{word-spacing:-.125em}.navbox .navbar{display:block;font-size:100%}.navbox-title .navbar{float:left;text-align:left;margin-right:.5em;width:6em}.hlist dl,.hlist ol,.hlist ul{margin:0;padding:0}.hlist dd,.hlist dt,.hlist li{margin:0;display:inline}.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}.hlist .mw-empty-li,.hlist .mw-empty-elt{display:none}.hlist dt:after{content:": "}.hlist dd:after,.hlist li:after{content:" · ";font-weight:700}.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after{content:none}.hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before{content:" (";font-weight:400}.hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after{content:")";font-weight:400}.hlist ol{counter-reset:listitem}.hlist ol > li{counter-increment:listitem}.hlist ol > li:before{content:" " counter(listitem) "\a0"}.hlist dd ol > li:first-child:before,.hlist dt ol > li:first-child:before,.hlist li ol > li:first-child:before{content:" (" counter(listitem) "\a0"}.navbox{border:1px solid #aaa;box-sizing:border-box;width:100%;margin:auto;clear:both;font-size:88%;text-align:center;padding:1px}.navbox-inner,.navbox-subgroup{width:100%}.navbox + .navbox-styles + .navbox{margin-top:-1px}.navbox th,.navbox-title,.navbox-abovebelow{text-align:center;padding-left:1em;padding-right:1em}th.navbox-group{white-space:nowrap;text-align:right}.navbox,.navbox-subgroup{background:#fdfdfd}.navbox-list{border-color:#fdfdfd}.navbox th,.navbox-title{background:#eaeeff}.navbox-abovebelow,th.navbox-group,.navbox-subgroup .navbox-title{background:#ddf}.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow{background:#e6e6ff}.navbox-even{background:#f7f7f7}.navbox-odd{background:transparent}th.navbox-title1{border-left:2px solid #fdfdfd;width:100%}td.navbox-list1{text-align:left;border-left-width:2px;border-left-style:solid}.navbox .hlist td dl,.navbox .hlist td ol,.navbox .hlist td ul,.navbox td.hlist dl,.navbox td.hlist ol,.navbox td.hlist ul{padding:.125em 0}.navbox .hlist dd,.navbox .hlist dt,.navbox .hlist li{white-space:nowrap}.navbox .hlist dd dl,.navbox .hlist dt dl,.navbox .hlist li ol,.navbox .hlist li ul{white-space:normal}ol + .navbox-styles + .navbox,ul + .navbox-styles + .navbox{margin-top:.5em}</style>