MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Created page with "→CSS placed here will be applied to all skins: body.page-Special_UserLogin #p-logo a { background-image: url(/resources/assets/soh_logo.png) !important; width: 200px; height: 100px; background-size: contain; }" |
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 */ | ||
body.page-Special_UserLogin | /* Full background image for the login page */ | ||
background | body.page-Special_UserLogin { | ||
background: url('/archives/images/e/ed/Login-background.jpg') no-repeat center center fixed; | |||
background-size: cover; | |||
background- | margin: 0; | ||
padding: 0; | |||
} | |||
/* Optional: make the login box readable */ | |||
body.page-Special_UserLogin .mw-ui-container, | |||
body.page-Special_UserLogin .mw-htmlform { | |||
background: rgba(0, 0, 0, 0.7); /* translucent black overlay */ | |||
border: 2px solid #d7b566; /* Hogwarts gold border */ | |||
border-radius: 12px; | |||
padding: 20px; | |||
color: #f5f5f5; | |||
} | } |
Revision as of 22:58, 29 August 2025
/* CSS placed here will be applied to all skins */ /* Full background image for the login page */ body.page-Special_UserLogin { background: url('/archives/images/e/ed/Login-background.jpg') no-repeat center center fixed; background-size: cover; margin: 0; padding: 0; } /* Optional: make the login box readable */ body.page-Special_UserLogin .mw-ui-container, body.page-Special_UserLogin .mw-htmlform { background: rgba(0, 0, 0, 0.7); /* translucent black overlay */ border: 2px solid #d7b566; /* Hogwarts gold border */ border-radius: 12px; padding: 20px; color: #f5f5f5; }