GW2 Wiki English Mirror:Projects/CSS documentation/template notices- common

From GW2 Wiki English Mirror
< GW2 Wiki English Mirror:Projects‎ | CSS documentation
Revision as of 17:57, 28 March 2021 by imported>Chieftain Alex (New page: '<pre> →‎Notices (e.g. historical content): .notice { margin: 10px auto; padding-left: 10px; width: 60%; min-width: 500px; } .notice.static { width: 500px; } /...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
/* Notices (e.g. historical content) */
.notice {
    margin: 10px auto;
    padding-left: 10px;
    width: 60%;
    min-width: 500px;
}

.notice.static {
    width: 500px;
}

/* For narrow screens up to 720px wide */
@media (max-width: 720px) {
    .notice,
    .notice.static {
        width: unset;
        min-width: unset;
    }

    .notice .notice-icon {
        display: none;
    }
}