Skip to content

Epic Games Store - 1:1 game images by denilsonsa

Details

Authordenilsonsa

LicensePublic Domain

Categoryepicgames

Created

Updated

Size972 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

The game images look pixelated, aliased, and ugly; because they are scaled down to fit an arbitrary 25% width. Let's change the images back to 1:1 pixel scale.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Epic Games Store - 1:1 game images
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    The game images look pixelated, aliased, and ugly. That's because they are being scaled down to fit an arbitrary 25% width. Let's "fix" that, and make the images back to 1:1 pixel scale.
@author         Denilson
==/UserStyle== */

@-moz-document domain("store.epicgames.com") {
    /* Example URL: https://store.epicgames.com/en-US/free-games */

    /* The main container */
    html .css-lai20k {
        width: auto;  /* was: 75% */
    }

    /* Flex-box container for game cards */
    html .css-cnqlhg {
        gap: 16px;
        justify-content: center;
    }
    /* Each game card/thumbnail item */
    html .css-lrwy1y {
        width: 360px !important;  /* was: calc(25% - 16px * 0.75) */
        margin-left: 0 !important;  /* was: 16px, except every fourth item */
        margin-right: 0 !important;
    }
}

Reviews

No reviews yet.