MediaWiki:Common.css: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 7: Line 7:


.mw-highlight, .mw-highlight pre {
.mw-highlight, .mw-highlight pre {
     padding: 5;
     padding: 2;
     margin: 5;
     margin: 2;
     border: none;
     border: none;
     /* Additional resets if needed */
     /* Additional resets if needed */

Revision as of 13:18, 29 January 2025

/* CSS placed here will be applied to all skins */

H2 {
font-weight:bold;
border-bottom: 2px solid #AAA;
}

.mw-highlight, .mw-highlight pre {
    padding: 2;
    margin: 2;
    border: none;
    /* Additional resets if needed */
}

.hljs {
    padding: 5px !important; /* Reduce padding */
    margin: 5px 0 !important; /* Adjust margins */
}
pre.hljs {
    margin: 0; /* Internal margin */
}