Difference between revisions of "User:Makanyane/anisa.css"
From TWC Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
/* Background components */ | /* Background components */ | ||
/* Wrapper line extends page size to allow it to stretch more generously and reduce the space wasted. */ | /* Wrapper line extends page size to allow it to stretch more generously and reduce the space wasted. */ | ||
− | + | #mw-wrapper { max-width: 150em; } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* We don't need a repeat of TWC's name when we've got a logo, ei? */ | /* We don't need a repeat of TWC's name when we've got a logo, ei? */ | ||
#p-banner { display: none; } | #p-banner { display: none; } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
/*Changing up the page top through a few hacky methods. Removed a few unnecessary bits, moved search, colored links.*/ | /*Changing up the page top through a few hacky methods. Removed a few unnecessary bits, moved search, colored links.*/ | ||
Line 27: | Line 10: | ||
position: static; | position: static; | ||
margin: 0px -105px 0; | margin: 0px -105px 0; | ||
− | |||
} | } | ||
− | |||
#header { | #header { | ||
display:block; | display:block; | ||
Line 39: | Line 20: | ||
padding-bottom: 8px; | padding-bottom: 8px; | ||
} | } | ||
− | /* Anisa | + | |
+ | /* Trying to stop Anisa resizing logo and moving section up */ | ||
#mw-navigation #p-logo { | #mw-navigation #p-logo { | ||
background-position: 20px 140px; | background-position: 20px 140px; | ||
Line 52: | Line 34: | ||
background-position: 0%; | background-position: 0%; | ||
background-size: auto auto; | background-size: auto auto; | ||
− | |||
} | } | ||
+ | |||
/* Overwrite table collapse from Anisa */ | /* Overwrite table collapse from Anisa */ | ||
table { | table { | ||
Line 59: | Line 41: | ||
border-spacing: 2px; | border-spacing: 2px; | ||
} | } | ||
− | |||
table th, td, tr { | table th, td, tr { | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 2px; | border-spacing: 2px; | ||
} | } |
Revision as of 06:54, 3 May 2019
/* Background components */ /* Wrapper line extends page size to allow it to stretch more generously and reduce the space wasted. */ #mw-wrapper { max-width: 150em; } /* We don't need a repeat of TWC's name when we've got a logo, ei? */ #p-banner { display: none; } /*Changing up the page top through a few hacky methods. Removed a few unnecessary bits, moved search, colored links.*/ #p-search { position: static; margin: 0px -105px 0; } #header { display:block; height: 0px; padding-bottom: 40px; } #header a { display: none; padding-bottom: 8px; } /* Trying to stop Anisa resizing logo and moving section up */ #mw-navigation #p-logo { background-position: 20px 140px; padding: 2em 2.5em 1.5em 2em; } #p-logo { width: 100%; } #p-logo a.mw-wiki-logo { width: 100%; height: 150px; background-position: 0%; background-size: auto auto; } /* Overwrite table collapse from Anisa */ table { border-collapse: separate; border-spacing: 2px; } table th, td, tr { border-collapse: separate; border-spacing: 2px; }