Skip to content

Better metanit (use with "uBlock Origin" or other) by PVA

Screenshot of Better metanit (use with "uBlock Origin" or other)

Details

AuthorPVA

LicenseNo License

Categoryhttps://metanit.com/

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

This is an improved view of the Metanit site.
This style will best manifest itself if you additionally use the extension "uBlock Origin" or the like.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           metanit.com - 31.08.2023, 10:14:07
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */

@-moz-document domain("metanit.com") {
    @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
    body {
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
    }
    
    :root {
        --container-bg-color: #dddddd;
        --menc-bg-color: #ffffff;
    }
    
    html {
        background: #9e9e9e;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-weight: bold;
    }
    
    .item.center {
        text-align: justify;
        padding: 100px;
    }
    .item.left {
        padding: 25px;
    }
    
    .syntaxhighlighter table{
        width: 103%;
        margin-right: 0;
    }
    
    .filetree {
        overflow-x: visible;
        overflow-y: visible;
        line-height: 100%;
    }
    .filetree li {
        margin: 10px 0;
        cursor: pointer;
        font-weight: bold;
        color: #828282;
    }
    .filetree li.closed span.folder {
        background: -25px -187px no-repeat;
        margin-left: -10px;
    }
    .filetree span.folder {
        background: -68px -148px no-repeat;
        display: inline-block;
    }
    .filetree span.file {
        background: -48px -167px no-repeat;
        display: inline-block;
        font-weight: normal;
    }
}

Reviews

No reviews yet.