A site suggestion for CJ/Moderators

Started by Calin Leafshade, Mon 14/06/2010 09:34:56

Previous topic - Next topic

Calin Leafshade

would it be possible to add the following code to the forums stylesheet?

Code: ags

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

Babar

also, just for safety, do ORs with .GIF and .PNG

.....or force lowercase first or something?
The ultimate Professional Amateur

Now, with his very own game: Alien Time Zone

Wyz

or something like this:
Code: ags

<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 :'(
Life is like an adventure without the pixel hunts.

Calin Leafshade

a CSS class is a better idea since we have the possibility of custom forum tags.

m0ds

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

LimpingFish

Steam: LimpingFish
PSN: LFishRoller
XB: TheActualLimpingFish
Spotify: LimpingFish

SpacePaw

Besides is there this sort of css code for opera? I know it displays most images not-blured but there are some exceptions sometimes...

TerranRich

This would be something CJ has to do. Moderators have no power over stylesheets or anything related to the code or layout.
Status: Trying to come up with some ideas...

Esseb

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.

SpacePaw

#9
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

Calin Leafshade

in meantime, Firefox users can put this in their usercontent.css file.

Code: ags

@-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.


Wyz

Life is like an adventure without the pixel hunts.

SMF spam blocked by CleanTalk