Guild Wars 2 Wiki:Projects/CSS documentation/special pages- common

From Guild Wars 2 Wiki
Jump to navigationJump to search
/* Special:RecentChanges */
span.comment {
    font-style: italic;
}

/* Need to add padding for conventional pages, but remove it on RecentChanges (special pages in general) due using the same class names */
.mw-collapsible-toggle,
.collapsible-toggle {
    font-weight: normal;
    font-size: 85%;
    margin-left: 0.5em;
}

.collapsible-toggle {
    width: 3em;
    float: right;
    text-align: center;
    padding: 0px 3px;
}

.ns-special .mw-collapsible-toggle {
    margin-left: 0;
}

ul.special abbr,
ul.special acronym {
    border: none;
}

.mw-changeslist-legend dt,
.mw-changeslist-legend dd {
    line-height: 1.2em;
}

/* Apply fixes when the screen size is below the minimum width */
@media screen and (max-width: 750px) {
    .mw-changeslist-legend {
        display: none;
    }
}

/* If using "grouped" recent changes, condenses the new user log entries into an abbreviated line with an ellipse, users still visible by expanding the arrow */
.mw-changeslist-log-newusers .changedby {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 30vw;
    height: 1.3em;
    line-height: 1.3em;
    margin-bottom: -0.3em;
}

/* Special:Search */
#mw-search-top-table div.oo-ui-actionFieldLayout {
    float: none;
}

.mw-search-exists {
    display: inline-block;
    padding: 1em 0.5em;
    margin: 0.5em 0em 0em -0.5em;
}

.results-info {
     margin-top: 1em;
}

.mw-search-visualclear {
     clear: none;
}

/* Deletion page field indents */
@media screen and (min-width: 820px) {
    #mw-deleteconfirm-table div label {
        display: inline-block;
        width: 170px;
        text-align: right;
        margin-bottom: 5px;
    }

    #mw-deleteconfirm-table input#wpWatch {
        margin-left: 156px;
    }
}