MediaWiki:Common.css: Difference between revisions

From Information Revolt
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
         list-style-position: inside !important;
         list-style-position: inside !important;
     }
     }
}
/* Make the site logo use the full image without cropping */
#p-logo {
    width: 252px;  /* match your logo width */
}
#p-logo a {
    width: 252px;  /* match your logo width */
    height: 252px;  /* match your logo height */
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
}

Revision as of 03:26, 27 November 2025

/* CSS placed here will be applied to all skins */
/* Nested bullet styles for Vector skin, scoped to page content */
body.skin-vector .mw-parser-output ul { list-style-image: none !important; }
body.skin-vector .mw-parser-output ul { list-style-type: disc !important; margin-left: 1.2em; }
body.skin-vector .mw-parser-output ul ul { list-style-type: circle !important; margin-left: 1.2em; }
body.skin-vector .mw-parser-output ul ul ul { list-style-type: square !important; margin-left: 1.2em; }
body.skin-vector .mw-parser-output ul ul ul ul { list-style-type: disc !important; margin-left: 1.2em; }
body.skin-vector .mw-parser-output ul ul ul ul ul { list-style-type: circle !important; margin-left: 1.2em; }
body.skin-vector .mw-parser-output ul ul ul ul ul ul { list-style-type: square !important; margin-left: 1.2em; }
body.skin-vector .mw-parser-output ul ul ul ul ul ul ul { list-style-type: disc !important; margin-left: 1.2em; }
body.skin-vector .mw-parser-output ul ul ul ul ul ul ul ul { list-style-type: circle !important; margin-left: 1.2em; }

/* Mobile-friendly: keep bullets visible and inside */
@media (max-width: 768px) {
    body.skin-vector .mw-parser-output ul,
    body.skin-vector .mw-parser-output ul ul,
    body.skin-vector .mw-parser-output ul ul ul,
    body.skin-vector .mw-parser-output ul ul ul ul,
    body.skin-vector .mw-parser-output ul ul ul ul ul,
    body.skin-vector .mw-parser-output ul ul ul ul ul ul,
    body.skin-vector .mw-parser-output ul ul ul ul ul ul ul,
    body.skin-vector .mw-parser-output ul ul ul ul ul ul ul ul {
        list-style-position: inside !important;
    }
}

/* Make the site logo use the full image without cropping */
#p-logo {
    width: 252px;   /* match your logo width */
}

#p-logo a {
    width: 252px;   /* match your logo width */
    height: 252px;  /* match your logo height */
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}