Module:Navbar/styles.css: Difference between revisions

From ALT Linux Wiki
(Created page with "→‎* {{Shared Template Warning}} * 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; } .navbar ul { display: inline; white-space: nowrap; } .navbar li { word-spacing: -0.125em; } →‎Navbar styling when nested in navbox: .navbox .navbar { display: block; font-si...")
 
No edit summary
Line 1: Line 1:
{{d}}
/** {{Shared Template Warning}}
/** {{Shared Template Warning}}
  * This TemplateStyles page is separately used for [[Template:Navbar]]
  * This TemplateStyles page is separately used for [[Template:Navbar]]

Revision as of 21:17, 25 January 2024

Template:D /** Template:Shared Template Warning

* 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; }

.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; }