User:Makanyane/anisa.css
From TWC Wiki
Jump to navigationJump to searchNote: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Background components */ /* Wrapper line extends page size to allow it to stretch more generously and reduce the space wasted. */ body { background-color: #9D7342; background-image: url("https://www.twcenter.net/forums/images/y2skin/Background2.png"); } #content { background-color: #EADCC1; } #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; } /* Navigation components */ /* We first color pieces of the nav sidebar. First affects all links, second affects headers. */ #column-navigation li a span { color: #EADCC1; } #site-navigation h3 { color: #FFFFFF; } /*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; color: #FFFFFF; } #header h3, #searchInput { color: #FFFFFF; } #header { display:block; height: 0px; padding-bottom: 40px; } #header a { display: none; padding-bottom: 8px; } /* Anisa performs custom voodoo to make the logo display. It is time to trash some of this voodoo that is set by default so it behaves better. */ #p-logo { width: 100%; text-align: left; padding: 0; padding: 3em 2.5em 1.5em 2em; background-size: auto; } #mw-wiki-logo { width: 100%; height: 100%; background-position: 100%; } /*Temporary adjustments to front page classes. To make sure it doesn't look completely awful*/ .TWCportal_1 { background: rgb(227,227,227); background: linear-gradient(180deg, rgba(165,165,180,0) 100%, rgba(165,165,180,0.5) 0%); } .TWCportal_2 { background: rgb(205,199,199); background: linear-gradient(180deg, rgba(168,160,162,0.5) 100%, rgba(168,160,162,0) 0%); } .TWCportal_3 { background: rgb(229,225,219); background: linear-gradient(180deg, rgba(168,168,162,0.5) 100%, rgba(168,168,162,0) 0%); } h2.TWCportal_head{ font-size: inherit; border-bottom: 0; font-weight: bold; } h1.TWCportal_head{ padding:10px; border-bottom: 0; text-align: center; }