Guild Wars 2 Wiki:Projects/CSS documentation/content general- minerva

From Guild Wars 2 Wiki
Jump to navigationJump to search
/* References */
ol.references > li:target,
sup.reference:target,
cite:target {
    background: #EEF;
}

/* Prevent floated images trying to break into text (such as quotations and release banners) */
@media screen and (max-width: 1100px) {
    .content .floatright {
        float: none;
        padding: 1em;
      text-align: right;
    }
}

/* Remove idiotic mediawiki display defaults */
.content table,
.content .infobox {
    float: unset !important;
    margin-left: unset !important;
    margin-right: unset !important;
    display: block;
}
.content .infobox table {
    display: table;
}
.content .infobox th,
.content .infobox td {
    vertical-align: unset;
    border: unset;
    border-bottom: unset;
    padding: unset;
}
.content .infobox tbody > tr > td,
.content .infobox tbody > tr > th {
    flex: unset;
}
.content .infobox > tbody {
    display: unset;
    flex-flow: unset;
}
.content .infobox > tbody > tr {
    min-width: unset;
    display: unset;
    flex-flow: unset;
}
.content .mw-content-ltr .infobox {
    text-align: unset;
}
.content .mw-content-rtl .infobox {
    text-align: unset;
}
@media (min-width: 720px) {
    .content .infobox {
         margin: unset !important;
         max-width: unset !important;
         width: unset !important;
         float: unset !important;
         clear: unset !important;
    }
}