Skip to content

Wikipedia Full Width + Dark Support by gtgt

Screenshot of Wikipedia Full Width + Dark Support

Details

Authorgtgt

LicenseCC-BY-NC-SA

Categorywikipedia.org

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Full width wiew of wikipedia

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Wikipedia Full Width + Dark Support
@namespace      USO
@author         GT
@description    Full width wiew of wikipedia
@version        1.0
@license        CC-BY-NC-SA
@preprocessor   uso
==/UserStyle== */
@-moz-document domain("wikipedia.org") {
    @media (prefers-color-scheme: dark) {
        body {
            filter: invert(86%) hue-rotate(180deg) brightness(105%) contrast(105%);
            background-color: #222!important;
        }
        img {
            filter: invert(100%) hue-rotate(180deg) brightness(105%) contrast(105%);
        }
    }
    .mw-page-container,
    .vector-header-container .mw-header {
        min-width: 100%!important;
        max-width: none!important;
        padding-left: 1.25em!important;
        padding-right: 1.25em!important;
    }
    .vector-sitenotice-container {
        display: none!important;
    }
    .mw-body {
        grid-template-columns: minmax(0px, 100%) min-content!important;
    }
    #mw-content-text {
        text-align: justify!important;
        font-size: 120%!important;
    }

    .vector-sticky-header-toc,
    .vector-page-titlebar-toc {
        margin-bottom: 8px!important;
    }
}

Reviews

No reviews yet.