Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Site Skins: How-To, and Helpful CSS

Forum Index > PokéFarm > Guides >

Pages: 123··· 403404405

Apologies if this has been asked before, but is there a way to change the type race icons? Or at least make them a little darker?
  • Some Info
  • Links
  • Goal+TR
We're a plural system by the collective name of The Unified Programs or just Unity! I, Champion Spectra of the Draquaria region, and Champion(?) Maroon are the most common fronters here on PFQ! And for those wondering, Draquaria is a fan region that came with me when I became a soulbond along with Maroon! And if that sounds confusing, a soulbond is basically an oc who becomes a headmate in a system! We use plural prounouns to refer to ourselves collectively, not multiple people on the same account. Posts signed with initials of headmate(s) (typically CS or CM) who wrote them!
None currently
× 1 / 600
Buying Death Wings at market price!
0
pkspsapphire's Avatarpkspsapphire
pkspsapphire's Avatar

QUOTE originally posted by Champion Spectra

Apologies if this has been asked before, but is there a way to change the type race icons? Or at least make them a little darker?
winterbraid's got some css to increase the contrast and also make them a bit darker if youd like to use that!

QUOTE originally posted by Winterbraid

However, here's a tiny bit of CSS I wrote to make the new V~Wave icons a bit darker and more contrasting! I personally feel like it makes them a bit easier on the eyes and "pop out" a bit more with the default site skin.

Code

img[src*='pfq-static.com/img/types/v-'] { filter: brightness(90%) contrast(125%); }
  • 🪪
  • 📋
  • 🔗

sapphire/they/23

Tournament Token (Ruby)

Tournament Token (Ruby)

Event Item

(: 0)

[LEGACY] A token earned from Weekly Tournaments Season 10 but it is too old to be valid.

Legacy items are old items that no longer serve a purpose and are only good for collecting.

Sells for 10,000

Lv. 100 — +4,377,007
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryCheri Berry
Cheri Berry (SPICY)
Chesto BerryChesto Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Dry food
FireFighting
Happiness MAX
Quiet nature
430 eggs
Score: 0
credits

credits

QUOTE originally posted by pkspsapphire

*snip* winterbraid's got some css to increase the contrast and also make them a bit darker if youd like to use that!

QUOTE originally posted by Winterbraid

However, here's a tiny bit of CSS I wrote to make the new V~Wave icons a bit darker and more contrasting! I personally feel like it makes them a bit easier on the eyes and "pop out" a bit more with the default site skin.

Code

img[src*='pfq-static.com/img/types/v-'] { filter: brightness(90%) contrast(125%); }
We can't seem to get it to work? It gives an error about the line with "filter" on it.
pkspsapphire's Avatarpkspsapphire
pkspsapphire's Avatar

QUOTE originally posted by Champion Spectra

We can't seem to get it to work? It gives an error about the line with "filter" on it.
try formatting it like this:

code

img[src*='pfq-static.com/img/types/v-'] { filter: brightness(90%) contrast(125%); }
i tried it out in my qol and it works that way! you can adjust the percentages to your liking as well edit: i just learned that filter doesnt work in site skins so youll have to use it in the extra css in the qol or use an extension of sorts to apply extra css ^^
Mirzam's AvatarMirzam
Mirzam's Avatar
It looks like you can use the brightness filter, but not the contrast filter for some reason? I feel like I've seen bug threads about certain properties not being accepted by the PFQ LESS compiler/validator but I can't remember which ones...
It worked in the qol for us! Thanks so much! Also, as @Mirzam said, strangely can't use the contrast filter in site skins, but you can in qol. Anyways, now the icons look much better with our site skin, so thanks again!
kjokjo75's Avatarkjokjo75
kjokjo75's Avatar
I'm having trouble finding how to change the size of a pokemon icon. in particular
Mirzam's AvatarMirzam
Mirzam's Avatar
I would do it like this. To make it smaller you can get away with only a css tag, but if you use the full sc/style you can go either bigger or smaller. "imgsize" can be anything you want, as long as it matches in both places. If you want to make different images different sizes, you'll need a different class name for each one. I went ahead and popped the display line in there so it would share a line with other images etc. You can set both width and height if you prefer, but if you set only one it will auto-set the other and thus avoid skewing the image.

Code

[sc=imgsize][pkmn=scatterbug][/sc] vs [pkmn=scatterbug] [style] .imgsize { img { width: 100px; } display: inline-block; } [/style]
vs
kjokjo75's Avatarkjokjo75
kjokjo75's Avatar
Thanks, they look good. 12x
9x

Pages: 123··· 403404405

Cannot post: Please log in to post

© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page