MediaWiki:Common.css: Difference between revisions

From Dea7hsmiles
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* Force sidebar open on Main_Page in Vector 2022 */
/* Infobox styling like Dolphin Wiki */
body.skin-vector-2022.page-Main_Page .mw-sidebar {
.infobox {
     transform: translateX(0) !important;
    float: right;
     visibility: visible !important;
    clear: right;
     opacity: 1 !important;
    margin: 0 0 1em 1em;
    padding: 0.5em;
    width: 250px;
    background-color: #f9f9f9;
     border: 1px solid #aaa;
     font-size: 90%;
     line-height: 1.5em;
}
}


body.skin-vector-2022.page-Main_Page .vector-feature-language-in-header-enabled .mw-sidebar-container {
/* Table of contents styling */
     margin-left: 15.5rem !important;
.toc {
    border: 1px solid #aaa;
    background-color: #f8f9fa;
    padding: 10px;
    font-size: 95%;
     margin-bottom: 1em;
}
}


body.skin-vector-2022.page-Main_Page .vector-sitenotice-container {
/* Headings */
     margin-left: 15.5rem !important;
h1, h2, h3 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
    margin-bottom: 10px;
}
 
/* Improve line spacing */
body, .mw-body-content {
    line-height: 1.6;
}
 
/* Optional: remove sidebar collapse icon */
.vector-menu-heading .mw-ui-icon {
     display: none;
}
}

Revision as of 03:37, 19 May 2025

/* Infobox styling like Dolphin Wiki */
.infobox {
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    padding: 0.5em;
    width: 250px;
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    font-size: 90%;
    line-height: 1.5em;
}

/* Table of contents styling */
.toc {
    border: 1px solid #aaa;
    background-color: #f8f9fa;
    padding: 10px;
    font-size: 95%;
    margin-bottom: 1em;
}

/* Headings */
h1, h2, h3 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
    margin-bottom: 10px;
}

/* Improve line spacing */
body, .mw-body-content {
    line-height: 1.6;
}

/* Optional: remove sidebar collapse icon */
.vector-menu-heading .mw-ui-icon {
    display: none;
}