Difference between revisions of "User:Pangaea/Compare changes"
(meh, import and cross fingers) |
(Navbox) |
||
Line 1: | Line 1: | ||
− | /* | + | /* Navbox template style */ |
+ | /* Navbox container style */ | ||
+ | .navbox { | ||
+ | border: 1px solid #9F6A00; | ||
+ | font-size: 88%; | ||
+ | text-align: center; | ||
+ | width: 100%; | ||
+ | margin: auto; | ||
+ | padding: 1px; | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | .navbox-inner, | ||
+ | .navbox-subgroup { | ||
+ | width: 100%; | ||
+ | } | ||
− | + | /* Title, group and above/below styles */ | |
− | + | .navbox-group, | |
− | + | .navbox-title, | |
− | + | .navbox-abovebelow { | |
− | + | text-align: center; | |
− | + | padding: 0.25em 1em; | |
− | + | line-height: 1.5em; | |
− | |||
− | |||
− | |||
− | padding: 0; | ||
− | |||
} | } | ||
− | + | /* Group style */ | |
− | + | th.navbox-group { | |
+ | white-space: nowrap; | ||
+ | /* @noflip */ | ||
+ | text-align: right; | ||
+ | } | ||
− | + | .navbox, | |
− | + | .navbox-subgroup { | |
− | |||
− | |||
− | |||
− | |||
− | |||
background-color: transparent; | background-color: transparent; | ||
− | |||
} | } | ||
− | + | .navbox-list { | |
− | + | line-height: 1.8em; | |
− | + | border-color: transparent; /* Must match background color */ | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | border: | ||
} | } | ||
+ | /* Level 1 color */ | ||
+ | .navbox th, | ||
+ | .navbox-title { | ||
+ | background-color: #282828; | ||
+ | border: 0 solid #9F6A00; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
− | + | /* Level 2 color */ | |
− | + | .navbox-abovebelow, | |
− | + | th.navbox-group, | |
− | + | .navbox-subgroup .navbox-title { | |
− | background | + | background: #282828; |
} | } | ||
− | + | /* Level 3 color */ | |
− | background: | + | .navbox-subgroup .navbox-group, |
+ | .navbox-subgroup .navbox-abovebelow { | ||
+ | background: #444444; | ||
} | } | ||
− | + | ||
− | background: transparent; | + | /* Odd row striping */ |
+ | .navbox-odd { | ||
+ | background: transparent; | ||
} | } | ||
− | + | /* Even row striping */ | |
− | background: rgba( | + | .navbox-even { |
+ | background-color: rgba(128,128,128,0.3); | ||
} | } | ||
− | table. | + | |
− | + | /* Single pixel border between adjacent navboxes */ | |
+ | table.navbox + table.navbox { | ||
+ | margin-top: -1px; | ||
} | } | ||
− | . | + | /* Default styling for Navbar template */ |
− | + | .navbar { | |
+ | font-size: 88%; | ||
+ | font-weight: normal; | ||
} | } | ||
+ | /* Navbar styling when nested in infobox and navbox */ | ||
+ | .navbox .navbar { | ||
+ | display: block; | ||
+ | font-size: 100%; | ||
+ | } | ||
− | + | .navbox-title .navbar { | |
+ | float: left; | ||
+ | text-align: left; | ||
+ | margin-right: 0.5em; | ||
+ | width: 6em; | ||
+ | } | ||
− | + | /* Styling for JQuery makeCollapsible, matching that of collapseButton */ | |
− | + | .mw-collapsible-toggle { | |
− | + | font-weight: normal; | |
− | + | /* @noflip */ | |
− | + | text-align: right; | |
− | |||
− | font- | ||
− | |||
− | |||
} | } | ||
− | + | .navbox .mw-collapsible-toggle { | |
− | + | width: 6em; | |
− | |||
} | } | ||
− | + | /* .navbox .mw-collapsible-toggle a, */ | |
− | + | .wikitable .mw-collapsible-toggle a { | |
− | + | color: #F58120 !important; | |
− | |||
− | |||
− | |||
− | |||
− | color:# | ||
} | } |
Revision as of 20:05, 13 July 2019
/* Navbox template style */ /* Navbox container style */ .navbox {
border: 1px solid #9F6A00; font-size: 88%; text-align: center; width: 100%; margin: auto; padding: 1px; clear: both;
}
.navbox-inner, .navbox-subgroup {
width: 100%;
}
/* Title, group and above/below styles */ .navbox-group, .navbox-title, .navbox-abovebelow {
text-align: center; padding: 0.25em 1em; line-height: 1.5em;
}
/* Group style */ th.navbox-group {
white-space: nowrap; /* @noflip */ text-align: right;
}
.navbox, .navbox-subgroup {
background-color: transparent;
}
.navbox-list {
line-height: 1.8em; border-color: transparent; /* Must match background color */
}
/* Level 1 color */ .navbox th, .navbox-title {
background-color: #282828; border: 0 solid #9F6A00; color: #FFFFFF;
}
/* Level 2 color */ .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {
background: #282828;
}
/* Level 3 color */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #444444;
}
/* Odd row striping */ .navbox-odd {
background: transparent;
}
/* Even row striping */ .navbox-even {
background-color: rgba(128,128,128,0.3);
}
/* Single pixel border between adjacent navboxes */ table.navbox + table.navbox {
margin-top: -1px;
}
/* Default styling for Navbar template */ .navbar {
font-size: 88%; font-weight: normal;
}
/* Navbar styling when nested in infobox and navbox */ .navbox .navbar {
display: block; font-size: 100%;
}
.navbox-title .navbar {
float: left; text-align: left; margin-right: 0.5em; width: 6em;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle {
font-weight: normal; /* @noflip */ text-align: right;
}
.navbox .mw-collapsible-toggle {
width: 6em;
}
/* .navbox .mw-collapsible-toggle a, */ .wikitable .mw-collapsible-toggle a {
color: #F58120 !important;
}