Skip to content

4d4y normal style by maltoze

Screenshot of 4d4y normal style

Details

Authormaltoze

LicenseMIT

Category4d4y.com -> userstyles

Created

Updated

Size1.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

提升网页浏览体验

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         4d4y normal style
@version      20220905.04.18
@namespace    userstyles.world/user/maltoze
@description  提升网页浏览体验
@author       maltoze
@license      MIT
==/UserStyle== */
@-moz-document regexp("https://www.4d4y.com/forum.*") {
    body,
    td,
    input,
    textarea,
    select,
    button {
        font-size: 1rem;
    }

    @media (min-width: 768px) {
        .wrap {
            width: 85%;
        }
    }

    @media (min-width: 1024px) {
        .wrap {
            width: 75%;
        }
    }

    @media (min-width: 1280px) {
        .wrap {
            width: 65%;
        }
    }
    
    @media (min-width: 1536px) {
        .wrap {
            width: 60%;
        }
    }


    .t_msgfont {
        font-size: 1rem;
        line-height: 1.75rem;
    }

    img[id^='aimg_'] {
        max-width: 100%;
    }

    .postauthor .profile {
        display: none;
    }
    .t_msgfontfix {
        min-height: 48px;
    }
    .postauthor .avatar img {
        max-height: 64px;
    }
    .postauthor > div:nth-child(3) > p {
        display: none;
    }
    .postauthor > p {
        display: none;
    }
    .postact {
        font-size: 0.875rem;
        line-height: 1.85rem;
    }
    .signatures {
        font-size: 0.875rem;
        padding-top: 12px;
    }
}

Reviews

No reviews yet.