Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "MediaWiki:Anisa.css"

From TWC Wiki
Jump to navigationJump to search
(Trying to add Commodus's heading fix, and my portal box fix to general skin)
 
(add temporary adjustments for frontpage)
Line 61: Line 61:
 
     margin-inline-start: 0px;
 
     margin-inline-start: 0px;
 
     margin-inline-end: 0px;
 
     margin-inline-end: 0px;
 +
}
 +
 +
/*Temporary adjustments to front page classes. To make sure it doesn't look completely awful*/
 +
.TWCportal_1 {
 +
    background: none;
 +
}
 +
.TWCportal_2 {
 +
    background: none;
 +
}
 +
.TWCportal_3 {
 +
    background: none;
 +
}
 +
h2.TWCportal_head{
 +
    font-size: 150%;
 +
    border-bottom: 0;
 +
    font-weight: bold;
 +
}
 +
h1.TWCportal_head{
 +
    padding:10px;
 +
    border-bottom: 0;
 +
    text-align: center;
 
}
 
}

Revision as of 04:18, 17 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 {
    margin: 0;
}
#mw-navigation #p-logo {
    background-position: 20px 140px;
    padding: 0em 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;
}

/* Fixes for classes used in user-generated content */
.TWCportal h3, .portal_TW h3, .modding h3 {
    font-weight: 900;
    overflow: hidden;
    padding: 5px;
    background-color:#7d1515; 
    color:white;
    display: block;
    font-size: 1.17em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

/*Temporary adjustments to front page classes. To make sure it doesn't look completely awful*/
.TWCportal_1 {
    background: none;
}
.TWCportal_2 {
    background: none;
}
.TWCportal_3 {
    background: none;
}
h2.TWCportal_head{
    font-size: 150%;
    border-bottom: 0;
    font-weight: bold;
}
h1.TWCportal_head{
    padding:10px;
    border-bottom: 0;
    text-align: center;
}