MediaWiki:Vector.css: Difference between revisions

From Bose Portable PA Knowledge
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 32: Line 32:
     .suggestions { right: 3pt !important; }
     .suggestions { right: 3pt !important; }


#p-logo {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}


 
#p-logo a {
h2, h3, h4 {color:red;background-color:blue}
    background-size: contain !important;
 
    background-position: left center !important;
body {
  background-color: lightgrey;
  color: blue;
}
}


h1 {
/* Force Vector-2022 to show the full logo */
  background-color: black;
.vector-header-logo {
  color: white;
    max-height: 60px !important;
    max-width: none !important;
    width: auto !important;
    overflow: visible !important;
}
}

Latest revision as of 22:05, 1 April 2026

/* CSS placed here will affect users of the Vector skin */
    /* set max width and fix the background */
    html,
    body {
    	position: relative;
    	margin-left: auto !important;
    	margin-right: auto !important;
    	max-width: 1280px;
        background-position: top left;
        background-repeat: repeat-x;
    	background-size: 100% 5em;
        background-image: url(/skins/Vector/images/page-fade.png);
        background-color: #f6f6f6;
        background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#f6f6f6));
        background-image: -webkit-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
        background-image: -moz-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
        background-image: linear-gradient(#ffffff 50%,#f6f6f6 100%);
    }
    
    /* set blue right border */
    .mw-body { border-right: 1px solid #A7D7F9; }
    
    /** fix the position of:
    			personal user menu
    			search bar
    			the pop-up indicator of language selector
    			search suggestions 
    **/
    #p-personal { right: 3pt; }
    #p-search { margin-right: 3pt; }
    .imeselector { position: fixed; }
    .suggestions { right: 3pt !important; }

#p-logo {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

#p-logo a {
    background-size: contain !important;
    background-position: left center !important;
}

/* Force Vector-2022 to show the full logo */
.vector-header-logo {
    max-height: 60px !important;
    max-width: none !important;
    width: auto !important;
    overflow: visible !important;
}