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;
}

/* MOBILE DEVICES */
/* Apply fixes when the screen size is below the minimum width */
@media screen and (max-width: 750px) {
    .clear-if-narrow {
        clear: both;
        width: unset !important;
    }

    #rcQuickLinks {
        display: none;
    }
    

    #latest-update {
        margin-top: unset !important;
        float: unset !important;
    }
}