MediaWiki:Vector.css
MediaWiki interface page
More languages
More actions
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"); background-repeat: no-repeat; background-size: contain; /* This scales the image down if it's too large, without stretching */ background-position: center center; /* This centers the image within the logo area */ margin: 0; /* Remove any default margins that might push the logo */ padding: 0; /* Remove any default padding */ } #p-logo a { text-indent: -9999px; /* Hides the default text link */ display: block; /* Makes the entire area clickable */ height: 160px; /* **Adjust this based on your image's actual height** */ width: 160px; /* **Adjust this based on your image's actual width** */ background-color: transparent; /* Ensure no background color from the link itself */ }