MediaWiki:Common.css: Difference between revisions

From InPlaLabs
No edit summary
No edit summary
Line 1: Line 1:
/* Categories (single star) - Make them bold and slightly larger */
/* Categories (single star) - Bold and slightly larger */
#mw-panel .portal ul > li,
#vector-main-menu-pinned-container .vector-pinnable-header > h3 {
#p-navigation .vector-menu-content ul > li,
#p-tb .vector-menu-content ul > li,
#n-mainpage-description ul > li {
     font-weight: bold;
     font-weight: bold;
     font-size: 110%; /* Slightly larger font size than subcategories */
     font-size: 110%; /* Adjust the size as needed */
     color: #000000; /* Default color (black), change if needed */
     color: #000000; /* Change color if needed */
}
}


/* Subcategories (double star) - Keep normal size */
/* Subcategories (double star) - Normal size and weight */
#mw-panel .portal ul ul li,
#vector-main-menu-pinned-container ul ul li {
#p-navigation .vector-menu-content ul ul li,
#p-tb .vector-menu-content ul ul li,
#n-mainpage-description 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: #555555; /* Adjust the color as needed */
}
}

Revision as of 16:09, 13 September 2024

/* Categories (single star) - Bold and slightly larger */
#vector-main-menu-pinned-container .vector-pinnable-header > h3 {
    font-weight: bold;
    font-size: 110%; /* Adjust the size as needed */
    color: #000000; /* Change color if needed */
}

/* Subcategories (double star) - Normal size and weight */
#vector-main-menu-pinned-container ul ul li {
    font-weight: normal;
    font-size: 100%; /* Normal font size */
    color: #555555; /* Adjust the color as needed */
}