Guild Wars 2 Wiki:Projects/CSS documentation/printer- common

From Guild Wars 2 Wiki
Jump to navigationJump to search
/* 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;
    }
}

/* PRINTER */
@media print {
    #content {
        border: 0 solid #FFF;
        box-shadow: none;
        border-radius: 0;
    }

    .mw-parser-output,
    div.infobox .heading,
    div.nav .heading {
        color: #000 !important;
        background: none;
        text-shadow: none !important;
        border-width: 0 !important;
    }

    table.table > :first-child > tr:first-child,
    table.table > :first-child > tr:first-child > *,
    .table > tbody > tr > * {
        border: 1px solid #000 !important;
    }

    .table {
        border-collapse: collapse !important;
    }

}