MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
Awsome2464 (talk | contribs) No edit summary Tag: Manual revert |
Awsome2464 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Vector skin */ | /* All CSS here will be loaded for users of the Vector skin */ | ||
/* set max width and fix the background */ | /* set max width and fix the background */ | ||
<nomobile> | |||
html, | html, | ||
body { | body { | ||
Line 6: | Line 7: | ||
margin-left: auto !important; | margin-left: auto !important; | ||
margin-right: auto !important; | margin-right: auto !important; | ||
max-width: | max-width: 66%; | ||
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 08:56, 12 April 2025
/* All CSS here will be loaded for users of the Vector skin */ /* set max width and fix the background */ <nomobile> html, body { position: relative; margin-left: auto !important; margin-right: auto !important; max-width: 66%; background-position: top left; background-repeat: repeat; 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 */ .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; }