Template:Infobox: Difference between revisions
m 1 revision imported |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/** | |||
{ | * This TemplateStyles page is separately used for [[Template:Navbar]] | ||
* because of course there are two versions of the same template. | |||
* Be careful when adjusting styles accordingly. | |||
*/ | |||
.navbar { | |||
display: inline; | |||
font-size: 88%; | |||
font-weight: normal; | |||
color: var(--color-base, #202122) !important; | |||
} | |||
.navbar ul { | |||
display: inline; | |||
white-space: nowrap; | |||
} | |||
.navbar li { | |||
word-spacing: -0.125em; | |||
} | |||
/* Navbar styling when nested in navbox */ | |||
.navbox .navbar { | |||
display: block; | |||
font-size: 100%; | |||
} | |||
.navbox-title .navbar { | |||
/* @noflip */ | |||
float: left; | |||
/* @noflip */ | |||
text-align: left; | |||
/* @noflip */ | |||
margin-right: 0.5em; | |||
width: 6em; | |||
} |
Revision as of 21:25, 21 October 2025
/**
* This TemplateStyles page is separately used for Template:Navbar * because of course there are two versions of the same template. * Be careful when adjusting styles accordingly. */
.navbar { display: inline; font-size: 88%; font-weight: normal; color: var(--color-base, #202122) !important; }
.navbar ul { display: inline; white-space: nowrap; }
.navbar li { word-spacing: -0.125em; }
/* Navbar styling when nested in navbox */ .navbox .navbar { display: block; font-size: 100%; }
.navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; width: 6em; }