MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
Awsome2464 (talk | contribs) No edit summary |
Awsome2464 (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
background-size: cover; | background-size: cover; | ||
} | } | ||
<mobileonly> | |||
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; | |||
} | |||
</mobileonly> | |||
/* set blue right border */ | /* set blue right border */ |
Revision as of 09:42, 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; } <mobileonly> 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; } </mobileonly> /* 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; }