MediaWiki:Gadget-main-navbox.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
--rgwiki-main-navbox-color-hue: 240deg; | --rgwiki-main-navbox-color-hue: 240deg; | ||
--rgwiki-main-navbox-color-saturation: 20%; | --rgwiki-main-navbox-color-saturation: 20%; | ||
--rgwiki-main-navbox-color-lightness-caption: | --rgwiki-main-navbox-color-saturation-caption: 40%; | ||
--rgwiki-main-navbox-color-lightness-header: | --rgwiki-main-navbox-color-lightness-caption: 90%; | ||
--rgwiki-main-navbox-color-lightness-header: 92%; | |||
--rgwiki-main-navbox-color-lightness-row: 95%; | --rgwiki-main-navbox-color-lightness-row: 95%; | ||
--rgwiki-main-navbox-color-lightness-cell: 98%; | --rgwiki-main-navbox-color-lightness-cell: 98%; | ||
Line 25: | Line 26: | ||
width: 100%; /* <- This is optional. Without this, the navboxes work fine and are only as wide as they need to be, which may be desirable in some cases. However, there is a drawback: the "collapse" buttons move after they are clicked. Setting width to 100% makes it so the buttons always stay in the same place. */ | width: 100%; /* <- This is optional. Without this, the navboxes work fine and are only as wide as they need to be, which may be desirable in some cases. However, there is a drawback: the "collapse" buttons move after they are clicked. Setting width to 100% makes it so the buttons always stay in the same place. */ | ||
--rgwiki-main-navbox-color-caption: hsl(var(--rgwiki-main-navbox-color-hue), var(--rgwiki-main-navbox-color-saturation), var(--rgwiki-main-navbox-color-lightness-caption)); | --rgwiki-main-navbox-color-caption: hsl(var(--rgwiki-main-navbox-color-hue), var(--rgwiki-main-navbox-color-saturation-caption), var(--rgwiki-main-navbox-color-lightness-caption)); | ||
} | } | ||