Guild Wars 2 Wiki:Projects/CSS documentation/scripts- vector
From Guild Wars 2 Wiki
Jump to navigationJump to search
/* ArenaNet masthead, referenced by [[MediaWiki:Common.js]] */
#upperBar {
position: absolute;
top: 0em;
left: 0em;
right: 0em;
height: 2.5em;
z-index: 10;
background-color: #080808; /* color scheme: off-black top bar */
}
body.skin-vector-legacy #upperBar {
height: 1.7em;
z-index: 4;
}
#upperBar ul {
padding: 0px;
margin: 0px;
list-style: none;
}
#upperBar ul li {
margin: 0;
padding: 0px;
display: inline-block;
text-transform: uppercase;
font-family: "acumin-pro-condensed", sans-serif;
font-size: 1em;
}
#upperBar ul li a {
color: #F9F1E2;
padding: 8px 10px;
line-height: 2.5em;
}
body.skin-vector-legacy #upperBar ul li a {
line-height: 1.7em;
}
#upperBar ul li a:hover {
text-decoration: none;
color: #E1251E; /* ArenaNet red */
}
#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) {
body.skin-vector-legacy #upperBar li:nth-child(3) {
display: none;
}
}
@media screen and (max-width:1040px) {
body.skin-vector-legacy #upperBar li:nth-child(2) {
display: none;
}
}
@media screen and (max-width:960px) {
body.skin-vector-legacy #upperBar li:nth-child(1) {
display: none;
}
}
/* Chat link search, for [[MediaWiki:ChatLinkSearch.js]] */
.gw2w-chat-link-search {
background-color: #2B344A; /* color scheme: inactive tabs */
border-color: #393A3C; /* color scheme: gray page border */
}