From ServantPedia™, the paid (but reliable) encyclopedia
Jump to navigation
Jump to search
|
|
| 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 */ |
| /* Create a central wrapper */
| |
| #mw-page-base, #mw-head-base, #content, #mw-head, #mw-panel, #footer {
| |
| max-width: 1200px;
| |
| margin-left: auto;
| |
| margin-right: auto;
| |
| }
| |
|
| |
| /* Optional: Slight padding to keep text from hugging the edge */
| |
| #content { | | #content { |
| | max-width: 900px; |
| | margin: 0 auto; /* center it */ |
| padding: 0 20px; | | padding: 0 20px; |
| } | | } |
|
| |
|
| /* Make sure the sidebar doesn't stay way off to the side */ | | /* Optional: also constrain header and footer */ |
| #mw-panel { | | #mw-head, #mw-panel, #footer { |
| position: relative;
| |
| }
| |
| | |
| /* Tabs (like View, Edit) also need to stay inside the container */
| |
| #p-cactions { | |
| max-width: 1200px; | | max-width: 1200px; |
| margin-left: auto; | | margin: 0 auto; |
| margin-right: auto;
| |
| } | | } |
Revision as of 13:48, 7 April 2025
/* All CSS here will be loaded for users of the Vector skin */
#content {
max-width: 900px;
margin: 0 auto; /* center it */
padding: 0 20px;
}
/* Optional: also constrain header and footer */
#mw-head, #mw-panel, #footer {
max-width: 1200px;
margin: 0 auto;
}