Difference between revisions of "User:Pangaea/Compare changes"
(Navbox) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | /* | + | /* Navboxes in general */ |
− | /* Navbox | + | /* Lore navboxes */ |
− | .navbox { | + | |
− | border: 1px solid # | + | .navbox_title { |
+ | background: #4A040A; | ||
+ | color: #ffffff; | ||
+ | font-size:90%; | ||
+ | } | ||
+ | |||
+ | /* Newer Navbox template style */ | ||
+ | table.navbox { | ||
+ | border: 1px solid #67676; | ||
+ | clear: both; | ||
font-size: 88%; | font-size: 88%; | ||
− | |||
− | |||
margin: auto; | margin: auto; | ||
padding: 1px; | padding: 1px; | ||
− | + | text-align: center; | |
+ | width: 100%; | ||
} | } | ||
− | .navbox | + | /* Border between adjacent navboxes */ |
− | .navbox | + | table.navbox + table.navbox { |
− | + | margin-top: -1px; | |
} | } | ||
− | |||
− | |||
.navbox-title, | .navbox-title, | ||
− | .navbox-abovebelow { | + | .navbox-abovebelow, |
− | + | table.navbox th { | |
− | padding: | + | padding-left: 1em; |
− | + | padding-right: 1em; | |
+ | text-align: center; | ||
} | } | ||
− | + | .navbox-group { | |
− | + | font-weight: bold; | |
+ | padding-left: 1em; | ||
+ | padding-right: 1em; | ||
white-space: nowrap; | white-space: nowrap; | ||
− | |||
− | |||
} | } | ||
− | .navbox, | + | /* Base background */ |
− | .navbox-subgroup { | + | .navbox, .navbox-subgroup { |
− | background | + | background: #0f0f0f; |
} | } | ||
.navbox-list { | .navbox-list { | ||
− | + | border-color: #0f0f0f; /* Must match background color */ | |
− | border-color: | ||
} | } | ||
/* Level 1 color */ | /* Level 1 color */ | ||
− | .navbox | + | .navbox-title, |
− | .navbox | + | table.navbox th { |
− | background | + | background: #151414; |
− | + | color: #fff; | |
− | color: # | ||
} | } | ||
− | /* Level 2 | + | /* Level 2 styling */ |
.navbox-abovebelow, | .navbox-abovebelow, | ||
− | + | .navbox-group, | |
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
− | background: # | + | background: #1c1b1b; |
+ | color: #fff; | ||
} | } | ||
− | /* Level 3 | + | /* Level 3 styling */ |
.navbox-subgroup .navbox-group, | .navbox-subgroup .navbox-group, | ||
.navbox-subgroup .navbox-abovebelow { | .navbox-subgroup .navbox-abovebelow { | ||
− | background: # | + | background: #242222; |
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | /* Even row striping */ | ||
+ | .navbox-even { | ||
+ | background: #1C1E20; | ||
+ | color: #fff; | ||
} | } | ||
/* Odd row striping */ | /* Odd row striping */ | ||
.navbox-odd { | .navbox-odd { | ||
− | background: transparent; | + | background: transparent; |
} | } | ||
− | + | ||
− | + | .collapseButton { | |
− | . | + | font-weight: normal; |
− | + | width: auto; | |
} | } | ||
− | + | .navbox .collapseButton { | |
− | + | width: 6em; | |
− | |||
} | } | ||
− | + | ||
− | |||
.navbar { | .navbar { | ||
font-size: 88%; | font-size: 88%; | ||
Line 84: | Line 95: | ||
} | } | ||
− | |||
.navbox .navbar { | .navbox .navbar { | ||
− | |||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
− | + | ||
− | . | + | table.collapsed tr.collapsible { |
− | + | display: none; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
+ | /* End of new Navbox styling */ |
Latest revision as of 22:05, 13 July 2019
/* Navboxes in general */ /* Lore navboxes */
.navbox_title {
background: #4A040A; color: #ffffff; font-size:90%;
}
/* Newer Navbox template style */ table.navbox {
border: 1px solid #67676; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%;
}
/* Border between adjacent navboxes */ table.navbox + table.navbox {
margin-top: -1px;
}
.navbox-title, .navbox-abovebelow, table.navbox th {
padding-left: 1em; padding-right: 1em; text-align: center;
}
.navbox-group {
font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap;
}
/* Base background */ .navbox, .navbox-subgroup {
background: #0f0f0f;
}
.navbox-list {
border-color: #0f0f0f; /* Must match background color */
}
/* Level 1 color */ .navbox-title, table.navbox th {
background: #151414; color: #fff;
}
/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background: #1c1b1b; color: #fff;
}
/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #242222; color: #fff;
}
/* Even row striping */ .navbox-even {
background: #1C1E20; color: #fff;
}
/* Odd row striping */ .navbox-odd {
background: transparent;
}
.collapseButton {
font-weight: normal; width: auto;
}
.navbox .collapseButton {
width: 6em;
}
.navbar {
font-size: 88%; font-weight: normal;
}
.navbox .navbar {
font-size: 100%;
}
table.collapsed tr.collapsible {
display: none;
} /* End of new Navbox styling */