Site Skins: How-To, and Helpful CSS
Forum Index > PokéFarm > Guides >
QUOTE originally posted by Giant-Cat
The shelter highlighting eggs/pokemon is not working.
I want to make it so I can highlight shinxes and shinx eggs, but the code isn't working
Code
#shelterarea > .pokemon > img[src=j/w/f.png]{
box-shadow: 0px 0px 50px 25px yellow;
background-color: yellow;
border-radius:100%;
}
#shelterarea > .pokemon > img[src=m/u/b.png]{
box-shadow: 0px 0px 50px 25px yellow;
background-color: yellow;
border-radius:100%;
}
Avatar from the Pokemon anime, edited by me!
Have any questions for me? Feel free to PM about anything!
try this. i combined the "img[src" bits into one. as someone else pointed out the quotations might also be part of it? but i believe you mentioned earlier that it was working without them so. try this first, and if that doesn't work, add the quotes. c:
code
#shelterarea > .pokemon {
img[src=j/w/f.png], img[src=m/u/b.png]{
box-shadow: 0px 0px 50px 25px yellow;
background-color: yellow;
border-radius:100%;
}
}
Still not working...
Edit: STILL NOT WO-wait... yep not working... I'll go on my iPad and see if it's better there.
remember to cache clear your browser.
profile picture made by the lovely Terabbit~
Albino colors belong to pfq~
As Poppy said, you'll need quotes around the x/x/x.png as well as an asterisk after src to create img[src*=x/x/x.png]
If I forget to respond to a post or trade please PM me! I may have forgotten to subscribe.
Avatar from Pokémon Showdown April Fools Day sprites, recolored by me.
Try this
if that one doesn't work then try this one
dont forget to clear cache.
code
#shelterarea > .pokemon {
img[src*="j/w/f.png"], img[src*="m/u/b.png"]{
box-shadow: 0px 0px 50px 25px yellow;
background-color: yellow;
border-radius:100%;
}
}
code
/* Shelter */ img[src*=""],img[src*="pkmn/j/w/f.png"],img[src*="pkmn/m/u/b.png"],{border-radius: 50px;opacity: 1;box-shadow: 0px 0px 0px 5px yellow;}
Hi,
Is there a code for organizinging fields into a grid?
QUOTE originally posted by kjokjo75
Hi,
Is there a code for organizinging fields into a grid?
Code
/* sets field size and aligns 8x5 */
#field_field>div.field {min-height: 345px;display: flex;flex-flow: row wrap;display: grid;grid-template-columns: repeat(8, 12.5%);grid-template-rows: repeat(5, 69px);}
/* sets phone field size to prevent double size */
.mq25 #field_field>div.field {min-height: 180px; grid-template-rows: repeat(5, 36px);}
/* keeps field size and offsets pokes to right starting point */
#field_field>div.field>.fieldmon {margin:0!important;position: static;flex: 1 1 12.5%;display: inline-flex;justify-content: center;align-items: center;}
/* stops field size from doubling and all pokes going to bottom half*/
#field_field>div.field {padding-top: 0%;}
/* changes some images size if too big, but stops them from making field grow */
#field_field>div.field>.fieldmon>img {max-width:75px;max-height:70px;}
Thanks.
I'm curious about two coeds; one to notifiy if a pokemon in the shelter is holding something, and one to hilight pokemon/eggs that you don't have
Wanted Shinies
Yamask
Galarian Yamask
Ferroseed
Rufflet
Bunnelby
Swirlix
Cutiefly
Passimian
Dhelmise
Indeedee M
Indeedee F
Meltan
Nidoran F
Burmy F(3)
Pumpkaboo (Small, Average, Large)
Quibbit(Magma)
Quibbit(Charged)
Salandit F
Illumise
Wanted Albinos
Pumpkaboo (Small)
Illumise
Galarian Yamask
Cannot post: Please log in to post