MediaWiki:Gadget-NavboxStyle.css: Difference between revisions
From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
(New) |
(upd) |
||
Line 1: | Line 1: | ||
/* Navbox |
/* Navbox template CSS */ |
||
/* Site styles */ |
|||
.navbox { |
.navbox { |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
font-size: 11px; |
|||
width: 100%; |
width: 100%; |
||
⚫ | |||
⚫ | |||
background: #fff; |
|||
⚫ | |||
margin-top: 15px; |
margin-top: 15px; |
||
} |
|||
.nav-right { |
|||
color: #000; |
|||
} |
} |
||
.navbox + .navbox, |
.navbox + .navbox, |
||
Line 14: | Line 17: | ||
margin-top: 0; |
margin-top: 0; |
||
} |
} |
||
.navbox . |
.navbox .navbox { |
||
font-size: 100%; |
|||
} |
|||
⚫ | |||
⚫ | |||
padding-right: 0 !important; |
|||
} |
} |
||
.navbox:not(.multi) .mw-collapsible > tbody > tr:first-child > th { |
.navbox:not(.multi) .mw-collapsible > tbody > tr:first-child > th { |
||
padding-left: |
padding-left: 4.1em; |
||
} |
} |
||
.navbox tr:first-child th { |
.navbox tr:first-child th { |
||
color: #fff; |
|||
⚫ | |||
font-size: 108%; |
|||
font-size: 12px; |
|||
font-weight: bold; |
font-weight: bold; |
||
background: #999; |
|||
} |
|||
.navbox tr:first-child th, .navbox tr:first-child th a { |
|||
color: #fff !important; |
|||
} |
} |
||
.navbox tr th { |
.navbox tr th { |
||
background: none repeat scroll 0 0 #CCCCCC; |
|||
text-align: center; |
text-align: center; |
||
background: #ccc; |
|||
} |
} |
||
.navbox tr:not(:first-child) th:not([rowspan]):not([colspan]) { |
.navbox tr:not(:first-child) th:not([rowspan]):not([colspan]) { |
||
background: |
background: #E6E6E6; |
||
} |
|||
.navbox tr th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited { |
|||
color: #000; |
|||
} |
} |
||
.navbox tr:nth-child(2n) td { |
.navbox tr:nth-child(2n) td { |
||
background: |
background: #F6F6F6; |
||
} |
} |
||
.navbox tr td { |
.navbox tr td { |
||
background: |
background: #FCFCFC; |
||
} |
} |
||
.navbox td a { |
|||
color: #0000FF; |
|||
⚫ | |||
} |
|||
⚫ | |||
.navbox td a:visited { |
|||
color: #0000CC; |
|||
} |
|||
.navbox td a.new { |
|||
color: #CC2200; |
|||
} |
|||
.navbox td a.new:visited { |
|||
color: #A55858; |
|||
} |
|||
@media print { |
|||
.navbox { |
|||
display: none; |
|||
} |
|||
} |
} |
||
Line 56: | Line 80: | ||
.navbox.mario tr td { |
.navbox.mario tr td { |
||
background-color: #FFF5EE; |
background-color: #FFF5EE; |
||
} |
|||
/* <h3> kirby </h3> */ |
|||
.navbox.kirby tr:first-child th, .navbox.kirby tr:first-child th a { |
|||
color: #FFF !important; |
|||
} |
|||
.navbox.kirby tr:first-child th { |
|||
background-color:#FF4868; |
|||
} |
|||
.navbox.kirby tr th { |
|||
⚫ | |||
} |
|||
.navbox.kirby tr:not(:first-child) th:not([rowspan]):not([colspan]) { |
|||
⚫ | |||
} |
} |
Revision as of 12:26, March 14, 2022
/* Navbox template CSS */
/* Site styles */
.navbox {
width: 100%;
color: #000;
font-size: 88%;
background: #fff;
border: 1px solid grey;
margin-top: 15px;
}
.nav-right {
color: #000;
}
.navbox + .navbox,
.navbox .navbox {
margin-top: 0;
}
.navbox .navbox {
font-size: 100%;
}
.mobile .navbox tr:nth-of-type(2) > td:first-child {
padding-left: 0 !important;
padding-right: 0 !important;
}
.navbox:not(.multi) .mw-collapsible > tbody > tr:first-child > th {
padding-left: 4.1em;
}
.navbox tr:first-child th {
color: #fff;
font-size: 108%;
font-weight: bold;
background: #999;
}
.navbox tr:first-child th, .navbox tr:first-child th a {
color: #fff !important;
}
.navbox tr th {
text-align: center;
background: #ccc;
}
.navbox tr:not(:first-child) th:not([rowspan]):not([colspan]) {
background: #E6E6E6;
}
.navbox tr th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited {
color: #000;
}
.navbox tr:nth-child(2n) td {
background: #F6F6F6;
}
.navbox tr td {
background: #FCFCFC;
}
.navbox td a {
color: #0000FF;
}
.navbox td a:visited {
color: #0000CC;
}
.navbox td a.new {
color: #CC2200;
}
.navbox td a.new:visited {
color: #A55858;
}
@media print {
.navbox {
display: none;
}
}
.navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a {
color: black !important;
}
/* <h3> Mario </h3> */
.navbox.mario tr:nth-child(2n) td {
background-color: bisque;
}
.navbox.mario tr td {
background-color: #FFF5EE;
}
/* <h3> kirby </h3> */
.navbox.kirby tr:first-child th, .navbox.kirby tr:first-child th a {
color: #FFF !important;
}
.navbox.kirby tr:first-child th {
background-color:#FF4868;
}
.navbox.kirby tr th {
background: none repeat scroll 0 0 #FF96A8;
}
.navbox.kirby tr:not(:first-child) th:not([rowspan]):not([colspan]) {
background: none repeat scroll 0 0 #FFD1D9;
}