Template:Navbox/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
line-height: 1.4em; | line-height: 1.4em; | ||
text-align: center; | text-align: center; | ||
max-width: 14em; | |||
} | } | ||
.navbox .navbox-header { | .navbox .navbox-header { | ||
Line 16: | Line 17: | ||
font-weight: bold; | font-weight: bold; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
} | |||
@media (max-width: 640px) { | |||
.navbox { max-width: 100%; } | |||
} | } |
Revision as of 19:14, 19 February 2025
.navbox {
padding: 2px;
background-color: var(--background-color-neutral-subtle, #f8f9fa);
border: 1px solid var(--border-color-base, #a2a9b1);
line-height: 1.4em;
text-align: center;
max-width: 14em;
}
.navbox .navbox-header {
font-size: 1.35em;
font-weight: bold;
line-height: 1.6em;
}
.navbox .navbox-content .subheading {
font-size: 1.2em;
font-weight: bold;
line-height: 1.5em;
}
@media (max-width: 640px) {
.navbox { max-width: 100%; }
}