Guild Wars 2 Wiki:Projects/CSS documentation/template misc- common

From Guild Wars 2 Wiki
Jump to navigationJump to search
/* Used for marking content in gray, e.g. historical vendors */
.gray,
.gray a {
    color: gray;
}

/* Attribute prefix spacing (usually in infoboxes) */
.prefixwrapper dl {
    margin: 0;
}

/* Remove top margin for ul within [[Template:Bug]] and [[Template:Anomaly]] */
.buglist ul {
    margin-top: 0;
}

/* Add an extra top margin for [[Template:Achievement box]] when preceded by lists (ul) or paragraph (p) elements */
p + .achievementbox,
ul + .achievementbox {
    margin-top: 2em;
}

/* Patch notes for skill history project */
.skill-history {
    padding: 0.2em 0.5em 0.5em 0.5em;
    margin-bottom: 0.5em;
    border-width: 1px;
    border-style: dashed;
    background-color: #F6F3E4;
}

.skill-history li {
    padding: 0.1em 0em;
}

/* [[Template:Hover image]] */
.hoverbox {
    display: inline-block;
    padding: 0em;
}
.hoverbox .hoveritem {
    display: none;
    margin: 0em;
    padding: 0em;
}
.hoverbox .hoveritem.selected {
    display: inline-block;
}
.hoverbox:hover .hoveritem {
    display: inline-block;
}
.hoverbox:hover .hoveritem.selected {
    display: none;
}