MediaWiki:Common.css: Difference between revisions
Add OSRS full-width header bar behind tabs |
Cut off background image and attach welcome box |
||
| Line 512: | Line 512: | ||
color: #4a3c28 !important; | color: #4a3c28 !important; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* --- 11. Cut-off Background & Attach Welcome Box --- */ | |||
/* Change body background to repeat-x (horizontal only) so it cuts off, | |||
and use a solid color for the rest of the page behind the content */ | |||
body { | |||
background: url('/resources/assets/background_stone.png') center top repeat-x !important; | |||
background-color: #2b2b2b !important; /* Or #e1d5be if they want tan canvas */ | |||
} | |||
/* Remove the top padding from #content ONLY on the Main Page so the | |||
Welcome box slides up and attaches perfectly to the top border */ | |||
.page-Main_Page #content { | |||
padding-top: 0 !important; | |||
} | |||
/* The Welcome Box and Stats Box touch the top border */ | |||
.page-Main_Page .mainpage-header { | |||
margin-top: 0; | |||
} | } | ||