MediaWiki:Common.css: Difference between revisions
From Glue3D Wiki, the free encygluepedia
Jump to navigationJump to search
Deniskincses (talk | contribs) No edit summary |
Deniskincses (talk | contribs) 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 { | |||
max-width: 100%; | |||
overflow-x: hidden; | |||
} | } | ||
#globalWrapper { | #globalWrapper { | ||
font-family: verdana, sans-serif; | 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 { | .portlet h5, #p-cactions li.selected a { | ||
background-color: #52a1ac !important; | background-color: #52a1ac !important; | ||
| Line 24: | Line 32: | ||
} | } | ||
/* 4. Layered Theme Background */ | |||
body { | body { | ||
background: | background: | ||
| Line 30: | Line 39: | ||
rgba(82, 161, 172, 0.8) | rgba(82, 161, 172, 0.8) | ||
), | ), | ||
lightblue url("resources/assets/skyboxicons.png") repeat !important; | lightblue url("/resources/assets/skyboxicons.png") repeat !important; | ||
} | } | ||
/* 5. Fixed Footer - Adjusted width properties to prevent horizontal scrolling */ | |||
footer { | footer { | ||
position: fixed; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
width: auto; | |||
height: auto; | |||
display: flex; | |||
justify-content: center; | |||
z-index: 100; | |||
} | } | ||
Revision as of 09:10, 29 May 2026
/* 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;
}