Module:NavboxUpgraded/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
width: 100%; | width: 100%; | ||
/* Ensure subgroups are contained properly */ | |||
clear: both; | |||
} | } | ||
Line 20: | Line 22: | ||
line-height: 1.5em; | line-height: 1.5em; | ||
text-align: right; | text-align: right; | ||
background-color: #ddf; | background-color: #ddf; /* Parent shade */ | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
Line 42: | Line 44: | ||
.navbox-upgraded .navbox-list-with-group { | .navbox-upgraded .navbox-list-with-group { | ||
text-align: left; | text-align: left; | ||
border-left: 2px solid | border-left-width: 2px; | ||
border-left-style: solid; | |||
} | } | ||
Line 83: | Line 86: | ||
@media print { | @media print { | ||
.navbox-upgraded { | .navbox-upgraded { | ||
display: none | display: none; | ||
} | } | ||
} | } |
Latest revision as of 07:15, 22 November 2024
.navbox-upgraded {
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0;
}
.navbox-upgraded .navbox-subgroup {
background-color: #fdfdfd;
border: 1px solid #a2a9b1;
width: 100%;
/* Ensure subgroups are contained properly */
clear: both;
}
.navbox-upgraded .navbox-group {
padding: 0.25em 1em;
line-height: 1.5em;
text-align: right;
background-color: #ddf; /* Parent shade */
font-weight: bold;
}
.navbox-upgraded .navbox-title {
background-color: #ccf;
padding: 0.25em 1em;
}
.navbox-upgraded .navbox-abovebelow {
background-color: #ddf;
padding: 0.25em 1em;
}
.navbox-upgraded .navbox-list {
line-height: 1.5em;
list-style-type: disc;
padding-left: 1.5em;
}
.navbox-upgraded .navbox-list-with-group {
text-align: left;
border-left-width: 2px;
border-left-style: solid;
}
.navbox-upgraded .navbox-odd {
background-color: #f7f7f7;
}
.navbox-upgraded .navbox-even {
background-color: transparent;
}
.navbox-upgraded .hlist {
display: flex;
flex-wrap: wrap;
list-style: none;
padding-left: 0;
}
.navbox-upgraded .hlist li {
margin-right: 1em;
}
.navbox-upgraded .plainlist {
list-style-type: none;
padding-left: 0;
}
/* Additional styles to match original Navbox */
.navbox-upgraded .navbar {
display: block;
font-size: 100%;
}
.navbox-upgraded .navbox-title .navbar {
float: left;
text-align: left;
margin-right: 0.5em;
}
@media print {
.navbox-upgraded {
display: none;
}
}