would it be possible to add the following code to the forums stylesheet?
img[src$=".gif"] { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }
img[src$=".png"] { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }
I have it running globally so sprites dont look blurry but it's not really very useful for non pixel art sites so having it locally in the bigbluecup stylesheet seems like a good plan.
EDIT: or perhaps a better solution would be to give us a different forum tag something like [ pixel ] which applied the css
also, just for safety, do ORs with .GIF and .PNG
.....or force lowercase first or something?
or something like this:
<img class="pixelart" ...>
...
.pixelart { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }
in combination with [pixelart][/pixelart] or something :)
Well this still does not work for Google Chrome though :'(
a CSS class is a better idea since we have the possibility of custom forum tags.
Whilst on the topic, sorry its OT, but where the heck is that massive thread with all the new AGS website discussion? I can't find it, and using the search keeps disconnecting me from the net, grr!! Or does someone have a URL for the online dev version of the new website? Cheers
This (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37297.0) one?
Besides is there this sort of css code for opera? I know it displays most images not-blured but there are some exceptions sometimes...
This would be something CJ has to do. Moderators have no power over stylesheets or anything related to the code or layout.
Quote from: SpacePaw on Mon 14/06/2010 19:34:09
Besides is there this sort of css code for opera? I know it displays most images not-blured but there are some exceptions sometimes...
No, but you can disable InterpolateImages in opera:config which disables it for all images.
Quote from: Esseb on Thu 17/06/2010 21:56:34
No, but you can disable InterpolateImages in opera:config which disables it for all images.
And where can I find the config? :)
[EDIT]
Found it XD neat! I didnt know you can paste this into the adress field and have advanced config
in meantime, Firefox users can put this in their usercontent.css file.
@-moz-document url-prefix(http://www.adventuregamestudio.co.uk/) {
img[src$=".gif"] { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }
img[src$=".png"] { image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor; }
}
this will only effect urls with adventuregamestudio.co.uk at the start.
Quote from: LimpingFish on Mon 14/06/2010 18:44:19
This (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37297.0) one?
Yep, thanks for that!
For Chrome and Safari users, there is a bug report here:
https://bugs.webkit.org/show_bug.cgi?id=40881