پودمان:Navbar/styles.css: تفاوت میان نسخه‌ها

 
جز ۱ نسخه واردشده
 
(۵ نسخهٔ میانی ویرایش شده توسط ۳ کاربر نشان داده نشد)
خط ۳۳: خط ۳۳:
.navbar li {
.navbar li {
word-spacing: -0.125em;
word-spacing: -0.125em;
}
.navbar a > span,
.navbar a > abbr {
text-decoration: inherit;
}
}


خط ۵۲: خط ۵۷:
}
}


/* 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: right;
display: none !important;
/* @noflip */
}
text-align: right;
/* @noflip */
margin-left: 0.5em;
}
}