Guild Wars 2 Wiki:Projects/CSS documentation/scripts- common

From Guild Wars 2 Wiki
Jump to navigationJump to search
/* Formatting for the wiki clock, referenced by [[MediaWiki:Common.js]] */
#utcdate a {
    font-weight: bold;
    text-transform: none;
}

/* Chat link search, for [[MediaWiki:ChatLinkSearch.js]] */
.gw2w-chat-link-search {
    margin: 1em 0;
    padding: 0.5em;
}

.gw2w-chat-link-search tt {
    font-size: 10px;
    margin-right: 1em;
}

.gw2w-chat-link-search .mw-empty-elt {
    display: none;
}

/* Spaces around TP coin icons, referenced by [[MediaWiki:Common.js]] */
.gw2-tpprice {
    white-space: nowrap;
    text-align: right;
}

.gw2-tpprice > img {
    position: relative;
    bottom: 1px;
    width: 18px;
    height: 18px;
}

table .gw2-tpprice .numbers {
    display: inline-block;
    min-width: 18px;
    text-align: right;
}

/* gameUpdateIcons, referenced by [[MediaWiki:Common.js]] */
.patchnote {
    line-height: 2.7em;
}

.patchnote .skillicon img,
.patchnote .traiticon img {
    background-color: black;
}

/* Collapsible functionality provided by [[MediaWiki:CollapsibleTables.js]]. Mainly for [[Template:Professions nav]]. */
tr.collapse-reverse,
tr.collapse-reverse {
    display: none;
}

tr.collapse-reverse.hide,
tr.collapse-reverse.hide {
    display: table-row;
}

/* Dialogue indent guides, for "demarcateDialogue" in [[MediaWiki:Common.js]] */
.dialogue dl dd {
    padding-left: 16px;
    margin-left: 0;
}

.dialogue dl {
    margin-top: 3px;
    margin-bottom: 3px;
    margin-left: 11px;
    border-left: 2px solid rgba(110, 98, 74, 0.4);
}

.dialogue > dl,
.dialogue td > dl {
    margin-bottom: 10px;
    border-left: none;
}

.dialogue dt {
    margin-left: -11px;
}