GW2Wiki:Proyectos/CSS/scripts- monobook

De Guild Wars 2 Wiki
Ir a la navegaciónIr a la búsqueda
/* ArenaNet masthead, referenced by [[MediaWiki:Common.js]] */
#upperBar {
    position: absolute;
    top: 0;
    left: 12em;
    height: 30px;
    z-index: 4;
    font-size-adjust: 0.52;
}

#upperBar ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

#upperBar ul li {
    margin: 0;
    padding: 0px;
    display: inline-block;
    font-family: "EasonPro", "Times New Roman", "serif";
}

#upperBar ul li a {
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    padding: 8px 10px;
    line-height: 2.6;
}

#upperBar ul li a:hover {
    text-decoration: none;
    color: #F4F4F4;
}

#upperBar ul li a:hover {
    background: url(/images/c/c7/Masthead_hover_background.png) no-repeat 0 -30px;
}

#upperBar ul li:nth-child(1) a:hover {
    background-position: -121px -30px;
}

#upperBar ul li:nth-child(2) a:hover {
    background-position: -206px -30px;
}

#upperBar ul li:nth-child(3) a:hover {
    background-position: -274px -30px;
}

/* Hide ArenaNet upperbar elements below certain screen widths to prevent interaction with personal nav */
@media screen and (max-width:1120px) {
    #upperBar li:nth-child(3) {
        display: none;
    }
}
@media screen and (max-width:1040px) {
    #upperBar li:nth-child(2) {
        display: none;
    }
}
@media screen and (max-width:960px) {
    #upperBar li:nth-child(1) {
        display: none;
    }
}

/* Chat link search, for [[MediaWiki:ChatLinkSearch.js]] */
.gw2w-chat-link-search {
    background: #F3F3F3;
    border: 1px solid #C0C0C0;
}