MediaWiki:Vector.css: Difference between revisions

From Another Chance Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
/* set max width and fix the background */
/* set max width and fix the background */


<nomobile>html,
html,
body {
body {
     position: relative;
     position: relative;
     margin-left: auto !important;
     margin-left: auto !important;
     margin-right: auto !important;
     margin-right: auto !important;
     max-width: 66%;
     max-width: 81%;
     background-position: top left;
     background-position: top left;
     background-repeat: repeat;
     background-repeat: repeat;
     background-size: cover;
     background-size: cover;
}</nomobile>
}
 
<mobileonly>html,
body {
    position: relative;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
    background-position: top left;
    background-repeat: repeat;
    background-size: cover;
}</mobileonly>


/* set blue right border */
/* set blue right border */

Revision as of 09:47, 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: 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; }