Jump to content

Welcome to the βeta launch of Creatorpedia, make your favorite creator shine.

MediaWiki:Common.css: Difference between revisions

From Creatorpedia, the creator economy encyclopedia
Line 18: Line 18:
}
}


/* Make content text size and line height match Wikipedia */
/* Fix the large gaps between paragraphs */
#mw-content-text {
#mw-content-text p {
     font-size: 0.875rem; /* Standard Wikipedia font size */
     margin-top: 0.5em !important;
     line-height: 1.6;   /* Standard Wikipedia line spacing */
    margin-bottom: 0.5em !important;
    font-family: sans-serif;
     line-height: 1.6 !important; /* This matches Wikipedia's tighter spacing */
}
}


/* Adjust paragraph spacing (the "gap" between blocks of text) */
/* Apply tighter line height to the whole content area */
#mw-content-text p {
.mw-body-content {
     margin-top: 0.5em;
     line-height: 1.6 !important;
    margin-bottom: 0.5em;
}
}


/* Optional: Make headings look more official */
/* Ensure the Site Notice also stays tight */
.firstHeading, h1, h2 {
#siteNotice {
    font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
     margin-bottom: 0.5em !important;
     margin-bottom: 0.25em;
     line-height: 1.4 !important;
    padding-bottom: 0;
     border-bottom: 1px solid #a2a9b1;
}
}

Revision as of 17:47, 10 April 2026

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

/* hide main page title */
body.page-Main_Page h1.firstHeading { display: none; }

/* hide lastmodified date from homepage */
body.page-Main_Page #footer-info-lastmod {
    display: none;
}

/* 1. Hide sitenotice on all pages */
#siteNotice {
    display: none;
}
/* 2. Show sitenotice only on Main Page */
body.page-Main_Page #siteNotice {
    display: block;
}

/* Fix the large gaps between paragraphs */
#mw-content-text p {
    margin-top: 0.5em !important;
    margin-bottom: 0.5em !important;
    line-height: 1.6 !important; /* This matches Wikipedia's tighter spacing */
}

/* Apply tighter line height to the whole content area */
.mw-body-content {
    line-height: 1.6 !important;
}

/* Ensure the Site Notice also stays tight */
#siteNotice {
    margin-bottom: 0.5em !important;
    line-height: 1.4 !important;
}