「テンプレート:Navbox/styles.css」の版間の差分
表示
削除された内容 追加された内容
JAWPより |
|||
150行目: | 150行目: | ||
.hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { |
.hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { |
||
content: none; |
content: none; |
||
} |
|||
/* default skin for navigation boxes */ |
|||
/* navbox container style */ |
|||
.navbox { |
|||
box-sizing: border-box; |
|||
border: 1px solid #a2a9b1; |
|||
width: 100%; |
|||
margin: auto; |
|||
clear: both; |
|||
font-size: 88%; |
|||
text-align: center; |
|||
padding: 1px; |
|||
} |
|||
/* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ |
|||
.navbox + .navbox { |
|||
margin-top: -1px; |
|||
} |
|||
/* title and above/below styles */ |
|||
.navbox-title, |
|||
.navbox-abovebelow, |
|||
.navbox th { |
|||
text-align: center; |
|||
padding-left: 1em; |
|||
padding-right: 1em; |
|||
} |
|||
th.navbox-group { /* Group style */ |
|||
white-space: nowrap; |
|||
/* @noflip */ |
|||
text-align: right; |
|||
} |
|||
/* Background color */ |
|||
.navbox, |
|||
.navbox-subgroup { |
|||
background: #fdfdfd; |
|||
} |
|||
/* Must match background color */ |
|||
.navbox-list { |
|||
border-color: #fdfdfd; |
|||
} |
|||
/* Level 1 color */ |
|||
.navbox-title, |
|||
.navbox th { |
|||
background: #ccccff; |
|||
} |
|||
.navbox-abovebelow, |
|||
th.navbox-group, |
|||
.navbox-subgroup .navbox-title { |
|||
background-color: #ddddff; /* Level 2 color */ |
|||
} |
|||
/* Level 3 color */ |
|||
.navbox-subgroup .navbox-group, |
|||
.navbox-subgroup .navbox-abovebelow { |
|||
background: #e6e6ff; |
|||
} |
|||
/* Even row striping */ |
|||
.navbox-even { |
|||
background: #f7f7f7; |
|||
} |
|||
/* Odd row striping */ |
|||
.navbox-odd { |
|||
background: transparent; |
|||
} |
|||
/* [[MediaWiki:Common.js]] にある createCollapseButtons 関数を参照。 */ |
|||
.collapseButton { |
|||
float: right; |
|||
font-weight: normal; |
|||
text-align: right; |
|||
width: auto; |
|||
} |
|||
/* [[Template:Navbox]] に配置する場合、左に配置されている [[Template:Tnavbar]] とのバランスを取る。 */ |
|||
.navbox .collapseButton { |
|||
width: 6em; |
|||
} |
} |
2021年4月23日 (金) 10:52時点における版
.navbox-group {
font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
font-size: 88%;
color: inherit;
border-spacing: 2px;
border-collapse: separate;
padding-left: 1em;
padding-right: 1em;
white-space: nowrap;
text-align: right;
background: #ccccff;
background-color: #ddddff;
}
.navbox {
font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
color: #000000;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
background: #fdfdfd;
}
.navbox-abovebelow {
font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
font-size: 88%;
color: inherit;
border-spacing: 2px;
border-collapse: separate;
text-align: center;
padding-left: 1em;
padding-right: 1em;
background-color: #ddddff;
}
.navbox-list.navbox-odd.hlist{
font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
font-size: 88%;
color: inherit;
border-spacing: 2px;
border-collapse: separate;
border-color: #fdfdfd;
background: transparent;
}
.noprint.plainlinks.navbar.hlist{
font-family: "Segoe UI","Segoe UI Emoji","Segoe UI Symbol","Lato","Liberation Sans","Noto Sans","Helvetica Neue","Helvetica",sans-serif;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
border-spacing: 2px;
border-collapse: separate;
text-align: left;
}
.navbox-title {
font-family: "Segoe UI","Segoe UI Emoji","Segoe UI Symbol","Lato","Liberation Sans","Noto Sans","Helvetica Neue","Helvetica",sans-serif;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
font-size: 88%;
color: inherit;
border-spacing: 2px;
border-collapse: separate;
text-align:center
}
.nowraplinks.collapsible.uncollapsed {
font-family: "Segoe UI","Segoe UI Emoji","Segoe UI Symbol","Lato","Liberation Sans","Noto Sans","Helvetica Neue","Helvetica",sans-serif;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
font-size: 88%;
text-align: center;
background: transparent;
color: inherit;
min-width: 100%;
border-spacing: 2px;
border-collapse: separate;
}
.external.text {
overflow-wrap: break-word;
direction: ltr;
border-spacing: 2px;
border-collapse: separate;
font-weight: normal;
line-height: 1.1em;
white-space: nowrap;
color: #36b;
background: none;
padding: 0;
}
td.navbox-list.navbox-odd {
font-family: "Segoe UI","Segoe UI Emoji","Segoe UI Symbol","Lato","Liberation Sans","Noto Sans","Helvetica Neue","Helvetica",sans-serif;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
font-size: 88%;
color: inherit;
border-spacing: 2px;
border-collapse: separate;
text-align: left;
width: 100%;
padding: 0;
border-style: inset;
border-width: 2px;
}
.navbox-list{
font-family: "Segoe UI","Segoe UI Emoji","Segoe UI Symbol","Lato","Liberation Sans","Noto Sans","Helvetica Neue","Helvetica",sans-serif;
line-height: 1.5;
overflow-wrap: break-word;
direction: ltr;
font-size: 88%;
color: inherit;
border-spacing: 2px;
border-collapse: separate;
}
/* ウィキペディア日本語版78753988版より */
.hlist-pipe dd:after, .hlist-pipe li:after {
content: " | ";
font-weight: normal;
}
.hlist-hyphen dd:after, .hlist-hyphen li:after {
content: " - ";
font-weight: normal;
}
.hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after {
content: none;
}
/* default skin for navigation boxes */
/* navbox container style */
.navbox {
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
/* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
.navbox + .navbox {
margin-top: -1px;
}
/* title and above/below styles */
.navbox-title,
.navbox-abovebelow,
.navbox th {
text-align: center;
padding-left: 1em;
padding-right: 1em;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
/* Background color */
.navbox,
.navbox-subgroup {
background: #fdfdfd;
}
/* Must match background color */
.navbox-list {
border-color: #fdfdfd;
}
/* Level 1 color */
.navbox-title,
.navbox th {
background: #ccccff;
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddddff; /* Level 2 color */
}
/* Level 3 color */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff;
}
/* Even row striping */
.navbox-even {
background: #f7f7f7;
}
/* Odd row striping */
.navbox-odd {
background: transparent;
}
/* [[MediaWiki:Common.js]] にある createCollapseButtons 関数を参照。 */
.collapseButton {
float: right;
font-weight: normal;
text-align: right;
width: auto;
}
/* [[Template:Navbox]] に配置する場合、左に配置されている [[Template:Tnavbar]] とのバランスを取る。 */
.navbox .collapseButton {
width: 6em;
}