Template:Navbox/styles.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
.navbox-container { | .navbox-container { | ||
max-width: | max-width: 900px; | ||
margin: | margin: 1rem auto 0; | ||
} | } | ||
| Line 8: | Line 8: | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 0; | border-spacing: 0; | ||
font-size: 0. | font-size: 0.85rem; | ||
background: #f7faf6; | background: #f7faf6; | ||
border: 1px solid #c5d2c0; | border: 1px solid #c5d2c0; | ||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); | ||
border-radius: 6px; | border-radius: 6px; | ||
| Line 17: | Line 17: | ||
.navbox-title { | .navbox-title { | ||
background: #264b2c; | background: #264b2c; | ||
color: #ffffff; | color: #ffffff; | ||
font-weight: 600; | font-weight: 600; | ||
padding: 0. | padding: 0.35rem 0.6rem; | ||
text-align: center; | text-align: center; | ||
} | } | ||
| Line 34: | Line 34: | ||
.navbox-group { | .navbox-group { | ||
background: #e4eddd; | background: #e4eddd; | ||
color: #243824; | color: #243824; | ||
font-weight: 600; | font-weight: 600; | ||
padding: 0. | padding: 0.3rem 0.55rem; | ||
width: | width: 22%; | ||
vertical-align: top; | vertical-align: top; | ||
border-top: 1px solid #d3dfcd; | border-top: 1px solid #d3dfcd; | ||
text-align: left; | |||
} | } | ||
.navbox-list { | .navbox-list { | ||
background: #f7faf6; | background: #f7faf6; | ||
padding: 0. | padding: 0.25rem 0.55rem; | ||
border-top: 1px solid #d3dfcd; | border-top: 1px solid #d3dfcd; | ||
text-align: left; | |||
line-height: 1.3; | |||
} | } | ||
| Line 62: | Line 55: | ||
.navbox-below { | .navbox-below { | ||
background: #e4eddd; | background: #e4eddd; | ||
padding: 0. | padding: 0.4rem 0.6rem; | ||
} | } | ||
Revision as of 12:08, 20 November 2025
.navbox-container {
max-width: 900px;
margin: 1rem auto 0;
}
.navbox {
width: 100%;
border-collapse: separate;
border-spacing: 0;
font-size: 0.85rem;
background: #f7faf6;
border: 1px solid #c5d2c0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
border-radius: 6px;
overflow: hidden;
}
.navbox-title {
background: #264b2c;
color: #ffffff;
font-weight: 600;
padding: 0.35rem 0.6rem;
text-align: center;
}
.navbox-title a {
color: inherit;
text-decoration: none;
}
.navbox-title a:hover {
text-decoration: underline;
}
.navbox-group {
background: #e4eddd;
color: #243824;
font-weight: 600;
padding: 0.3rem 0.55rem;
width: 22%;
vertical-align: top;
border-top: 1px solid #d3dfcd;
text-align: left;
}
.navbox-list {
background: #f7faf6;
padding: 0.25rem 0.55rem;
border-top: 1px solid #d3dfcd;
text-align: left;
line-height: 1.3;
}
.navbox-above,
.navbox-below {
background: #e4eddd;
padding: 0.4rem 0.6rem;
}
/* links inside the navbox */
.navbox a {
text-decoration: none;
}
.navbox a:hover {
text-decoration: underline;
}