MediaWiki:Common.css

From Glue3D Wiki, the free encygluepedia
Revision as of 09:10, 29 May 2026 by Deniskincses (talk | contribs)
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* 1. Page Wrap Layout - Replaced margins with absolute safe boundaries to prevent scrolling */
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;
}

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

/* 3. Header Tabs & Menu Colors */
.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;
}

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

/* 5. Fixed Footer - Adjusted width properties to prevent horizontal scrolling */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    z-index: 100;
}