MediaWiki:Common.css: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 7: Line 7:


.mw-highlight, .mw-highlight pre {
.mw-highlight, .mw-highlight pre {
     padding: 0;
     padding: 2px;
     margin: 0;
     margin: 2px;
     border: none;
     border: none;
    vertical-align: top;
     /* Additional resets if needed */
     /* Additional resets if needed */
}
.wikitable td, .wikitable th {
    vertical-align: top;
}
}


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

Latest revision as of 19:01, 1 February 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: 2px;
    margin: 2px;
    border: none;
    vertical-align: top;
    /* Additional resets if needed */
}

.wikitable td, .wikitable th {
    vertical-align: top;
}

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