From c85f994f4cbd311686313f3d95dfc466ce58255c Mon Sep 17 00:00:00 2001 From: Joshua Holland Date: Sat, 16 Jan 2016 22:39:40 +0000 Subject: [PATCH 1/2] Make .img-rendering-auto apply to descendants --- website/public/css/index.styl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/website/public/css/index.styl b/website/public/css/index.styl index 382d4838b7..4936ea8264 100644 --- a/website/public/css/index.styl +++ b/website/public/css/index.styl @@ -198,10 +198,9 @@ a.label .markdown-preview markdown code white-space inherit -// By default everything should render as pixelart, except images from img tags (which tend to be things like gravatars, -// screenshots and so on) +// By default everything should render as pixelart * image-rendering: pixelated -.img-rendering-auto, .emoji +.img-rendering-auto, .img-rendering-auto *, .emoji image-rendering: auto From e98dc1405b1640ccb5c777c72d2bd77726059c5f Mon Sep 17 00:00:00 2001 From: Joshua Holland Date: Sat, 16 Jan 2016 22:43:29 +0000 Subject: [PATCH 2/2] Fix rendering of front page news icons Rendering was 'pixelated', is now 'auto'. --- website/views/static/front.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/views/static/front.jade b/website/views/static/front.jade index 926f0d6172..d5405d260c 100644 --- a/website/views/static/front.jade +++ b/website/views/static/front.jade @@ -84,7 +84,7 @@ html(ng-app='habitrpg', ng-controller='RootCtrl') h4= env.t('joinOthers', {userCount:'900,000'}) small button#play-btn.btn.btn-primary.btn-lg.gamifybutton(ng-click='playButtonClick()')= env.t('free') - .presslogos.text-center + .presslogos.text-center.img-rendering-auto = env.t('featuredIn') br img(src='https://d2afqr2xdmyzvu.cloudfront.net/front/images/presslogos/lifehacker.png')