MediaWiki:Common.css: Difference between revisions

From Glue3D Wiki, the free encygluepedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* 1. Page Wrap Layout - Replaced margins with absolute safe boundaries to prevent scrolling */
html, body {
html, body {
     max-width: 100%;
     max-width: 100%;
Line 14: Line 13:
}
}


/* 2. Custom Logo */
.mw-wiki-logo {
.mw-wiki-logo {
     background-size: 135px;
     background-size: 135px;
Line 20: Line 18:
}
}


/* 3. Header Tabs & Menu Colors */
.portlet h5, #p-cactions li.selected a {
.portlet h5, #p-cactions li.selected a {
     background-color: #52a1ac !important;
     background-color: #52a1ac !important;
Line 32: Line 29:
}
}


/* 4. Layered Theme Background */
body {
body {
     background:  
     background:  
Line 42: Line 38:
}
}


/* 5. Fixed Footer - Adjusted width properties to prevent horizontal scrolling */
footer {
footer {
     position: fixed;
     position: fixed;
Line 53: Line 48:
     justify-content: center;
     justify-content: center;
     z-index: 100;
     z-index: 100;
}
#p-navigation::after {
    content: "";
    display: block;
    margin-top: 12px;
    height: 140px;
    background-image:
        url('/resources/assets/glue3d.gif'),
        url('/resources/assets/discord.gif'),
        url('/resources/assets/youtube.gif');
    background-repeat: no-repeat;
    background-position:
        center top,
        center 40px,
        center 80px;
}
}

Revision as of 09:26, 29 May 2026

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

#globalWrapper {
    font-family: verdana, sans-serif;
    box-sizing: border-box;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.mw-wiki-logo {
    background-size: 135px;
    background-image: url("/resources/assets/glue3dwikihq.png") !important;
}

.portlet h5, #p-cactions li.selected a {
    background-color: #52a1ac !important;
    color: white !important;
}

#p-cactions li a {
    background-color: #bee8ed !important;
    color: #333 !important;
    border-color: #a7d7df !important;
}

body {
    background: 
        linear-gradient(
            rgba(190, 232, 237, 0.8),
            rgba(82, 161, 172, 0.8)
        ),
        lightblue url("/resources/assets/skyboxicons.png") repeat !important;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    z-index: 100;
}

#p-navigation::after {
    content: "";
    display: block;
    margin-top: 12px;
    height: 140px;
    background-image:
        url('/resources/assets/glue3d.gif'),
        url('/resources/assets/discord.gif'),
        url('/resources/assets/youtube.gif');
    background-repeat: no-repeat;
    background-position:
        center top,
        center 40px,
        center 80px;
}