Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
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 #p-logo a {
/* Full background image for the login page */
   background-image: url(/resources/assets/soh_logo.png) !important;
body.page-Special_UserLogin {
   width: 200px;
   background: url('/archives/images/e/ed/Login-background.jpg') no-repeat center center fixed;
   height: 100px;
  background-size: cover;
   background-size: contain;
   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;
}