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

MediaWiki:Vector.css

MediaWiki interface page
Revision as of 00:00, 17 July 2025 by IulianArian (talk | contribs) (Created page with "All CSS here will be loaded for users of the Vector skin: Custom logo for Vector 2010 skin: #p-logo { background-image: url("https://static.wikioasis.org/iulianarianwiki/6/68/IulianArian.jpg"); Replace with the actual path: background-repeat: no-repeat; Optional: Adjust size if your image is larger/smaller than default: background-size: 135px 135px;: Optional: Adjust padding to center or position logo if needed: /* p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* All CSS here will be loaded for users of the Vector skin */

/* Custom logo for Vector 2010 skin */
#p-logo {
    background-image: url("https://static.wikioasis.org/iulianarianwiki/6/68/IulianArian.jpg"); /* Replace with the actual path */
    background-repeat: no-repeat;
    /* Optional: Adjust size if your image is larger/smaller than default */
    /* background-size: 135px 135px; */
    /* Optional: Adjust padding to center or position logo if needed */
    /* padding-top: 135px; */
}

/* Hide the default site name text if you only want the logo image */
#p-logo a {
    text-indent: -9999px; /* Hides text off-screen */
    display: block; /* Ensures the link area still covers the logo */
    height: 135px; /* Match your logo's height */
    width: 135px; /* Match your logo's width */
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.