MediaWiki:Common.css: Difference between revisions
(Created page with "→CSS placed here will be applied to all skins: →Categories (single star) - Make them bold and slightly larger: #mw-panel .portal ul > li { font-weight: bold; font-size: 110%; →Slightly larger font size than subcategories: color: #000000; →Default color (black), change if needed: } →Subcategories (double star) - Keep normal size: #mw-panel .portal ul ul li { font-weight: normal; font-size: 100%; →Normal font size: color: #3...") |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Categories (single star) - Make them bold and slightly larger */ | /* Categories (single star) - Make them bold and slightly larger */ | ||
# | #p-navigation .vector-menu-content ul > li { | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 110%; /* Slightly larger font size than subcategories */ | font-size: 110%; /* Slightly larger font size than subcategories */ | ||
| Line 8: | Line 8: | ||
/* Subcategories (double star) - Keep normal size */ | /* Subcategories (double star) - Keep normal size */ | ||
# | #p-navigation .vector-menu-content ul ul li { | ||
font-weight: normal; | font-weight: normal; | ||
font-size: 100%; /* Normal font size */ | font-size: 100%; /* Normal font size */ | ||
color: #333333; /* Subcategories color (dark gray), adjust if needed */ | color: #333333; /* Subcategories color (dark gray), adjust if needed */ | ||
} | } | ||
Revision as of 15:54, 13 September 2024
/* CSS placed here will be applied to all skins */
/* Categories (single star) - Make them bold and slightly larger */
#p-navigation .vector-menu-content ul > li {
font-weight: bold;
font-size: 110%; /* Slightly larger font size than subcategories */
color: #000000; /* Default color (black), change if needed */
}
/* Subcategories (double star) - Keep normal size */
#p-navigation .vector-menu-content ul ul li {
font-weight: normal;
font-size: 100%; /* Normal font size */
color: #333333; /* Subcategories color (dark gray), adjust if needed */
}