Module:Navbar/styles.css: Difference between revisions

move text-decoration:inherit to TemplateStyles
m 1 revision imported: template update
 
(5 intermediate revisions by 2 users not shown)
Line 57: Line 57:
}
}


/* Navbar styling when nested in infobox and navbox
/* not the usual @media screen, we simply remove navbar in @media print */
Should consider having a separate TemplateStyles for those specific places
html.skin-theme-clientpref-night .navbar li a abbr {
using an infobox/navbox and a navbar, or possibly override from using template */
color: var(--color-base) !important;
.infobox .navbar {
font-size: 100%;
}
}


.navbox .navbar {
@media (prefers-color-scheme: dark) {
display: block;
html.skin-theme-clientpref-os .navbar li a abbr {
font-size: 100%;
color: var(--color-base) !important;
}
}
}


.navbox-title .navbar {
@media print {
/* @noflip */
.navbar {
float: left;
display: none !important;
/* @noflip */
}
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
}