Jump to content

MediaWiki:Common.css: Difference between revisions

From Sundering the Gods
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 5: Line 5:
}
}


body { font-size: 18px; line-height: 1.6; }
.infobox { width: 100%; float: none; margin: 0 auto; }
table { display: block; overflow-x: auto; }
a { padding: 8px; }


/* Base body styles */
/* Base body styles */

Revision as of 18:48, 24 April 2025

/* Clear Vector skin defaults */
.mw-body, .skin-vector .mw-body, .mw-page-container {
    background: none !important;
    background-color: transparent !important;
}


/* Base body styles */
body.skin-vector {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
    font-family: 'Georgia', serif !important;
}

/* Main Page with image and overlay */
body.skin-vector.page-Main_Page {
    background-color: #1a1a1a !important;
    background-image: url('https://sunderingthegodswiki.com/images/e/e4/STG_Wiki_Background.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

body.skin-vector.page-Main_Page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust opacity (0.2 to 0.6) as needed */
    z-index: -1;
}

/* Infobox and content layout */
.infobox {
    float: right;
    width: 22em;
    margin: 0 0 1em 1em;
}
.mw-parser-output {
    color: #FFFFFF !important; /* White text for dark background */
}
.mw-parser-output h2, .mw-parser-output h3, .mw-parser-output h4, .mw-parser-output h5, .mw-parser-output h6 {
    color: #FFFFFF !important; /* White headings for dark background */
}