MediaWiki:Vector.css: Difference between revisions

From IulianArian's Encyclopedia
Jump to navigationJump to search
IulianArian (talk | contribs)
No edit summary
IulianArian (talk | contribs)
Tag: Replaced
 
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* 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 */
}

Latest revision as of 16:56, 11 August 2025

/* All CSS here will be loaded for users of the Vector skin */