MediaWiki:Vector.css: Difference between revisions

From GersteinInfo
Jump to navigationJump to search
No edit summary
No edit summary
Line 24: Line 24:
h5 { font-size: 100%; }
h5 { font-size: 100%; }
h6 { font-size: 80%; }
h6 { font-size: 80%; }
/* --- Vector sidebar & logo stay normal --- */
#mw-panel, #mw-panel .portlet, #mw-panel .pBody,
#p-logo, #p-logo a {
    font-size: 100% !important;    /* keep default Vector font size */
    height: auto !important;        /* prevent logo squishing */
    line-height: normal !important; /* prevent*

Revision as of 15:47, 18 December 2025

/* All CSS here will be loaded for users of the Vector skin */
/* --- Main content only --- */
.mw-body {
    font-family: sans-serif !important;  /* Monobook-like sans-serif */
    font-size: x-small;                   /* Monobook body text size */
}

/* --- Headings in content --- */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
    font-family: sans-serif !important;
    color: black;
    font-weight: normal;
}

h1 { font-size: 188%; }
h2 { font-size: 150%; }
h3 { font-size: 132%; }
h4 { font-size: 116%; }
h5 { font-size: 100%; }
h6 { font-size: 80%; }