Skip to content

Distraction free dilbert.com by 5dzqfjd1

Details

Author5dzqfjd1

LicenseGPL v3

Categorydilbert.com

Created

Updated

Size775 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Remove all unnecessary elements from the page, and maximize the strip to fill the screen.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           dilbert.com
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Clean and distraction free view of the comic
@author         rabin-io
==/UserStyle== */
@-moz-document url-prefix("https://dilbert.com/strip/") {

    .comic-rating, .site-footer, .site-header, .site-bg-bar, .amu-section-social, div.meta-info-container:nth-child(4) {
        display: none;
    }

    .img-responsive {
        width: 100%
    }

    .img-comic-container {
        border: 3px solid green;
        width: 80vw;
    }

    .comic-item {
        position: absolute;
        left: 35vw;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}

Reviews

No reviews yet.