Skip to content

opennet.ru - Material Style by inomoz

Details

Authorinomoz

LicenseNo License

Categoryinomoz.com

Created

Updated

Size2.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Not 100% complete, but I checked all main site sections.

Notes

Used some colors from a material theme.

Source code

/* ==UserStyle==
@name           opennet.ru - 7/3/2022, 11:39:06 AM
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document url-prefix("https://www.opennet.ru/opennews"), url("https://www.opennet.ru/") {
    body {
        max-width: 1100px;
        padding: 8px;
        margin: 8px auto;
        border-radius: 2px;
    }
    html {
        background-color: #263238;
        color: white
    }
    img[src*="opennet2"] {
        filter: none;
    }

    body > form > aside div,
    body > form > aside td,
    body > form > aside table,
    td.ctxt,
    td.chdr,
    table.ttxt2,
    .thdr2,
    td.tdelim,
    td.chdr2,
    td.chdr,
    [bgcolor="#DDE1C2"],
    [bgcolor="#E3E4D0"],
    [bgcolor="E9EAD6"],
    [bgcolor="#D9DAC6"] {
        background: #263238 !important;
        border-color: #263238 !important;
        color: white
    }

    .s2,
    .s3 {
        font-size: 10pt;
    }
    A.s2:visited,
    A.s2:link,
    A.s3:link,
    table.thdr,
    /* Comment top header */
    table.ttxt,
    /* footer */
    table.tlist/* right list */
    ,
    .t_lenta_wrapper,
    .t_lenta,
    table.tlist tr td,
    td.tlist {
        background: #37474f;
        border: 0 !important;
        color: white;
    }

    /* Comments */
    td.ctxt {
        font: 13pt sans-serif;
    }

    td.ctxt blockquote,
    td.ctxt ul {
        color: white !important;
    }

    /* Background fix */
    img[src="/opennet2.gif"] {
        filter: invert(80%);
    }
    img[src="/opennet2.gif"],
    pre {
        background: #fff3e0;
    }

    pre {
        margin: 8px 0;
        border-radius: 4px;
        padding: 0 8px;
        color: #212121;
        font-size: 14pt;
    }

    pre font {
        display: block;
    }

    /* Main */
    .chtext {
        font: 14pt sans-serif;
    }


    A:link {
        color: #1e88e5;
    }

    A.h:visited,
    A:visited {
        color: #ce93d8;
    }

    img {
        border: none !important;
        margin: 8px;
    }

    .cnt {
        background: transparent !important;
        color: #b0bec5;
    }
    .cnt b {
        color: #2e7d32;
        background: transparent !important;
    }
    A.nolink:visited,
    A.nolink:link,
    font[color="#000088"],
    font[color="#606060"],
    font[color="#606060"],
    font[color="#707070"],
    font[color="000090"],
    table.thdr tr td a:link,
    font[color="#505050"] {
        color: #b0bec5;
    }
}

Reviews

No reviews yet.