MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
Awsome2464 (talk | contribs) No edit summary |
Awsome2464 (talk | contribs) m (Changed max size based on screen percentage rather than pixel amount) |
||
| Line 6: | Line 6: | ||
margin-left: auto !important; | margin-left: auto !important; | ||
margin-right: auto !important; | margin-right: auto !important; | ||
max-width: | max-width: 81%; | ||
background-position: top left; | background-position: top left; | ||
background-repeat: repeat; | background-repeat: repeat; | ||
Revision as of 14:08, 11 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; }