MediaWiki:Vector.css: Difference between revisions

From Another Chance Wiki
Jump to navigation Jump to search
m (Changed max size based on screen percentage rather than pixel amount)
No edit summary
Tag: Reverted
Line 6: Line 6:
     margin-left: auto !important;
     margin-left: auto !important;
     margin-right: auto !important;
     margin-right: auto !important;
     max-width: 81%;
     max-width: 1250px;/*81%;*/
     background-position: top left;
     background-position: top left;
     background-repeat: repeat;
     background-repeat: repeat;

Revision as of 07:16, 12 April 2025

/* All CSS here will be loaded for 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: 1250px;/*81%;*/
    background-position: top left;
    background-repeat: repeat;
    background-size: cover;
    
}

/* 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; }