Difference between revisions of "User:Pangaea/Compare changes"
(Navbox) |
|||
Line 1: | Line 1: | ||
− | /* | + | /* ===== Navigation boxes =====*/ |
− | /* | + | /* Default style for navigation boxes */ |
− | .navbox { | + | .navbox { /* Navbox container style */ |
− | |||
− | |||
− | |||
width: 100%; | width: 100%; | ||
margin: auto; | margin: auto; | ||
padding: 1px; | padding: 1px; | ||
clear: both; | clear: both; | ||
+ | font-size: 88%; | ||
+ | text-align: center; | ||
+ | border: 1px solid #404040; | ||
+ | border-radius: 0px; | ||
} | } | ||
Line 16: | Line 17: | ||
} | } | ||
− | |||
.navbox-group, | .navbox-group, | ||
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow { | .navbox-abovebelow { | ||
− | + | padding: 0.25em 1em; /* Title, group and above/below styles */ | |
− | padding: 0.25em 1em; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
+ | text-align: center; | ||
} | } | ||
− | + | th.navbox-group { /* Group style */ | |
− | th.navbox-group { | ||
white-space: nowrap; | white-space: nowrap; | ||
/* @noflip */ | /* @noflip */ | ||
Line 34: | Line 33: | ||
.navbox, | .navbox, | ||
.navbox-subgroup { | .navbox-subgroup { | ||
− | background-color: | + | background-color: rgba(244,236,221,0.1); /* Background color */ |
} | } | ||
Line 42: | Line 41: | ||
} | } | ||
− | |||
.navbox th, | .navbox th, | ||
.navbox-title { | .navbox-title { | ||
− | background-color: # | + | color: #ffffff; |
− | border: | + | background-color: #000000; /* Level 1 color */ |
− | color: # | + | border: 0px solid #7E5900; |
+ | border-radius: 0px; | ||
+ | |||
+ | background-image: -moz-linear-gradient(center top, #0A0B0C 80%, #505050 100%); | ||
+ | background-image: -webkit-gradient(linear, center top, left bottom, color-stop(80%,#0A0B0C), color-stop(100%,#505050)); | ||
+ | background-image: -webkit-linear-gradient(top, #0A0B0C 80%, #505050 100%); | ||
+ | background-image: -o-linear-gradient(top, #0A0B0C 80%, #505050 100%); | ||
+ | background-image: -ms-linear-gradient(top, #0A0B0C 80%, #505050 100%); | ||
+ | background-image: linear-gradient(to bottom, #0A0B0C 80%, #505050 100%); | ||
} | } | ||
− | |||
.navbox-abovebelow, | .navbox-abovebelow, | ||
th.navbox-group, | th.navbox-group, | ||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
− | background: # | + | background: #7E5900; /* Level 2 color */ |
+ | color: #ffffff; | ||
+ | border: none; | ||
+ | border-radius: 0px; | ||
} | } | ||
− | |||
.navbox-subgroup .navbox-group, | .navbox-subgroup .navbox-group, | ||
.navbox-subgroup .navbox-abovebelow { | .navbox-subgroup .navbox-abovebelow { | ||
− | background: # | + | background: #A07816; /* Level 3 color */ |
} | } | ||
− | |||
.navbox-odd { | .navbox-odd { | ||
− | background: transparent; | + | background: transparent; /* Even row striping */ |
} | } | ||
− | |||
.navbox-even { | .navbox-even { | ||
− | background-color: rgba( | + | background-color: rgba(221,196,149,.2); /* Odd row striping */ |
+ | border-radius: 0px; | ||
+ | } | ||
+ | table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | ||
+ | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | ||
} | } | ||
− | + | table.nowraplinks.navbox-subgroup { | |
− | table. | + | border-radius: 0px; |
− | |||
} | } | ||
− | /* Default styling for Navbar template */ | + | .mw-customtoggle a, |
+ | .mw-collapsible-toggle a, | ||
+ | .mw-collapsible-bracket { | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | /* ===== Default styling for Navbar template =====*/ | ||
.navbar { | .navbar { | ||
+ | display: inline; | ||
font-size: 88%; | font-size: 88%; | ||
font-weight: normal; | font-weight: normal; | ||
Line 89: | Line 104: | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
− | |||
.navbox-title .navbar { | .navbox-title .navbar { | ||
float: left; | float: left; | ||
Line 95: | Line 109: | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
width: 6em; | width: 6em; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 20:07, 13 July 2019
/* ===== Navigation boxes =====*/ /* Default style for navigation boxes */ .navbox { /* Navbox container style */
width: 100%; margin: auto; padding: 1px; clear: both; font-size: 88%; text-align: center; border: 1px solid #404040; border-radius: 0px;
}
.navbox-inner, .navbox-subgroup {
width: 100%;
}
.navbox-group, .navbox-title, .navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */ line-height: 1.5em; text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap; /* @noflip */ text-align: right;
}
.navbox, .navbox-subgroup {
background-color: rgba(244,236,221,0.1); /* Background color */
}
.navbox-list {
line-height: 1.8em; border-color: transparent; /* Must match background color */
}
.navbox th, .navbox-title {
color: #ffffff; background-color: #000000; /* Level 1 color */ border: 0px solid #7E5900; border-radius: 0px;
background-image: -moz-linear-gradient(center top, #0A0B0C 80%, #505050 100%); background-image: -webkit-gradient(linear, center top, left bottom, color-stop(80%,#0A0B0C), color-stop(100%,#505050)); background-image: -webkit-linear-gradient(top, #0A0B0C 80%, #505050 100%); background-image: -o-linear-gradient(top, #0A0B0C 80%, #505050 100%); background-image: -ms-linear-gradient(top, #0A0B0C 80%, #505050 100%); background-image: linear-gradient(to bottom, #0A0B0C 80%, #505050 100%);
}
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {
background: #7E5900; /* Level 2 color */ color: #ffffff; border: none; border-radius: 0px;
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #A07816; /* Level 3 color */
}
.navbox-odd {
background: transparent; /* Even row striping */
}
.navbox-even {
background-color: rgba(221,196,149,.2); /* Odd row striping */ border-radius: 0px;
} table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
table.nowraplinks.navbox-subgroup {
border-radius: 0px;
}
.mw-customtoggle a, .mw-collapsible-toggle a, .mw-collapsible-bracket {
font-weight: normal;
}
/* ===== Default styling for Navbar template =====*/ .navbar {
display: inline; 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;
}