Adventure Game Studio

Community => General Discussion => Topic started by: Calin Leafshade on Mon 14/06/2010 09:34:56

Title: A site suggestion for CJ/Moderators
Post by: Calin Leafshade on Mon 14/06/2010 09:34:56
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
Title: Re: A site suggestion for CJ/Moderators
Post by: Babar on Mon 14/06/2010 14:18:19
also, just for safety, do ORs with .GIF and .PNG

.....or force lowercase first or something?
Title: Re: A site suggestion for CJ/Moderators
Post by: Wyz on Mon 14/06/2010 14:38:44
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 :'(
Title: Re: A site suggestion for CJ/Moderators
Post by: Calin Leafshade on Mon 14/06/2010 15:09:08
a CSS class is a better idea since we have the possibility of custom forum tags.
Title: Re: A site suggestion for CJ/Moderators
Post by: on Mon 14/06/2010 17:31:21
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
Title: Re: A site suggestion for CJ/Moderators
Post by: LimpingFish on Mon 14/06/2010 18:44:19
This (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37297.0) one?
Title: Re: A site suggestion for CJ/Moderators
Post by: 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...
Title: Re: A site suggestion for CJ/Moderators
Post by: TerranRich on Wed 16/06/2010 19:11:01
This would be something CJ has to do. Moderators have no power over stylesheets or anything related to the code or layout.
Title: Re: A site suggestion for CJ/Moderators
Post by: Esseb on Thu 17/06/2010 21:56:34
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.
Title: Re: A site suggestion for CJ/Moderators
Post by: SpacePaw on Thu 17/06/2010 23:05:37
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
Title: Re: A site suggestion for CJ/Moderators
Post by: Calin Leafshade on Tue 22/06/2010 15:07:45
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.
Title: Re: A site suggestion for CJ/Moderators
Post by: on Tue 22/06/2010 16:01:56
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!
Title: Re: A site suggestion for CJ/Moderators
Post by: Wyz on Tue 22/06/2010 16:02:13
For Chrome and Safari users, there is a bug report here:

https://bugs.webkit.org/show_bug.cgi?id=40881