Skip to content

Advance Wars By Web - Pixel Perfect Map Zoom by cougarten

Screenshot of Advance Wars By Web - Pixel Perfect Map Zoom

Details

Authorcougarten

LicenseI'd have a hard time defending a single line of CSS, be pirate my friend!

Categoryadvance wars by web

Created

Updated

Size534 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

fixes the blurry zoom

makes everything beautifully pixelated

tested in firefox and chrome

Possible side-effect: everything gets a bit jumpy on unlucky zoom levels.

Notes

Update: also removed some of the black borders around tiles. Makes them slightly bigger though.

Source code

/* ==UserStyle==
@name         awbw.amarriner.com
@version      20220108.18.55
@namespace    userstyles.world/user/cougarten
@description  fix blurry zoom (happens at least in firefox)

makes everything beautifully pixelly
@author       cougarten
@license      No License
==/UserStyle== */

@-moz-document domain("awbw.amarriner.com") {
#gamecontainer img {
    image-rendering: pixelated;
}
/*
#gamecontainer img:not(#map-background) {
  transform-origin: bottom;
  transform: scale(1.06, 1.025) translate(-0.02px, 0.02px);
}*/


}

Reviews

No reviews yet.