Skip to content

The Radavist revamped by chrl_

Screenshot of The Radavist revamped

Details

Authorchrl_

LicenseNo License

Categorytheradavist.com

Created

Updated

Size3.8 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

The Radavist with a clean style without the ads!

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         The Radavist revamped
@version      20230223.13.50
@namespace    userstyles.world/user/chrl_
@description  The Radavist with a clean style without the ads!
@author       chrl_
@license      No License
==/UserStyle== */
@-moz-document domain("theradavist.com") {
    :root {
        --custom_hGap: 1.25rem;
    }

    body {
        overflow-x: hidden;
    }

    .needsclick,
    .tpc-products-feed,
    .top-banner,
    .sidebar-banner,
    .sidebar-banners,
    .inline-banner,
    .l-radar,
    .zoom-visual-trigger-holder,
    .lightbox-modal-holder .side {
        display: none;
    }

    .articles-list,
    .article-container {
        position: relative;
        margin: 0 auto !important;
        width: 100% !important;
        padding-left: var(--custom_hGap) !important;
        padding-right: var(--custom_hGap) !important;
    }

    .l-grid {
        grid-template-columns: auto !important;
        gap: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
        max-width: 1000px !important;
    }
    
    .l-lead,
    .l-articles,
    .articles-list {
        max-width: 1000px;
    }

    .articles-list-inner {
        display: grid !important;
        grid-gap: calc(2 * var(--custom_hGap));
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .articles-list-header,
    .articles-list .page-navigation {
        grid-column: 1/-1;
    }

    .articles-list-header {
        padding: 0 !important;
    }
    
    .articles-list .article {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .articles-list .article h2 {
        font-size: 1.875rem !important;
        padding-right: 0 !important;
        margin-bottom: .9375rem !important;
        margin-top: 1rem !important;
    }

    .articles-list .article-content p {
        font-size: 1.125rem !important;
    }

    .articles-list .article-content p:first-child {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .articles-list .article-content p:nth-child(n+2) {
        display: none;
    }

    .article-container {
        max-width: 800px;
    }

    .article-header {
        padding-right: 0 !important;
        max-width: none !important;
    }

    .body-article.reportage .article-container .image-gallery,
    .article-container .single-article .image-holder {
        width: calc(100vw - (2 * var(--custom_hGap)));
        transform: translateX(-50%);
        position: relative;
        left: 50%;
    }

    .article-content p {
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .content-img-wrap {
        position: relative;
        display: grid !important;
        grid-gap: 0.75rem;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }

    .reportage p.image-count-2 {
        padding: 0 !important;
        margin-right: 0 !important;
    }

    img.size-large {
        width: 100% !important;
    }

    .article-header-content,
    .article-footer,
    .article-content h2,
    .article-content h3,
    .article-content h4,
    .article-content h5,
    .tpc-products-feed,
    .related-articles {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .article-content ul {
        padding-left: 3.5em !important;
        padding-right: 0 !important;
    }

    .lightbox-thumbs {
        width: 100% !important;
    }

    @media(min-width: 1200px) {
        .content-img-wrap {
            width: calc(150% - (2 * var(--custom_hGap))) !important;
            transform: translateX(-50%);
            position: relative;
            left: 50%;
        }
    }
}

Reviews

No reviews yet.