MediaWiki:Common.less/external.less

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
// <pre>
/* =============================
       [[Template:External]]
   ============================= */

// variables
@rsc:     #929ca0;
@osrs:    #5c4200;

// remove the icons on the page
.topright-icon {
    display: none;
}

// kill some left over spacing at the top of the page
.WikiaArticle {
    overflow: visible;
}

// set min-height of parent as it's too small if the interlanguage dropdown isn't present
.page-header__contribution > div:first-child {
    min-height: 32px;
}

// icon container created by topIcon in [[MediaWiki:Common.js]]
#rs-header-icons {
    display: inline-block;
    margin-left: 5px;
}

// common icon styles
.rs-header-icon {
    .transition( 0.2s );
    display: inline-block;
    font-family: 'League Spartan', sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    margin-left: 1px;
    height: 25px;
    width: 25px;
    line-height: 30px;

    a:hover {
        text-decoration: none;
    }
}

// rsc wiki
.rs-header-icon-rsc {
    background: @rsc;
    color: contrast( @rsc );

    &:hover {
        background: lighten( @rsc, 5% );
    }
}

// osrs wiki
.rs-header-icon-os {
    background: @osrs;
    color: contrast( @osrs );

    &:hover {
        background: lighten( @osrs, 5% );
    }
}