Guide to CSS (Beginner & Intermediate) [In Progress]
Forum Index > PokéFarm > Guides >
Coould someone help me with a code that would hide sprites in partys? My gf wants to playbpokefarm again but she doesnt want to see galar shiny pokemon.
credit
Background drawn by AdimivA on twitter
Gif created by JUSTICEBEETLE
F2U & Icon code by Gumshoe
#multiuser .pkmn {display: none;}
Will remove the pokemon sprites and eggs on multi view.
To remove them from all pages would remove her own too. At least, that's the other code I have. Perhaps someone else has a code that does everyone elses but her's. =o
.panel {
&>h3 { }
&>div { }
}
h3 refers to the banner, or the box title, while div is the contents inside, usually hidden inside. To change the text color in the h3 section, add a { color: something; } (for links/click to open) and color: something; for plain text. You will need both because anything that opens is a link and static headers use regular color coding. This is tricky, so study the example carefully!
as obtained from Styleclass and You: an Introduction
Thank you! I think I figured it out. c:
(Sorry for the double post)
Actually, I'm still having a bit of trouble. What is the new styleclass tag for the accordion sections? Like, instead of saying [a-section=Title]Contents[/a-section], what would I put for the a-section tag?
I'm trying to edit pkmnpanel code for my journal and so far this is what I have. I'd like to make it so that the name and icons are above the pokemon and the berry is to the right, with everything centered and the border just around the contents instead of all that blank space. How would I go about this?
*I'm not proficient in css and usually I just tweak codes via trial and error until I achieve the style I'm looking for; I pick up and learn some ideas this way, too. The code may look messy bc of this since I'm not really focused on decluttering "-u- sorry in advance
code
[style]
.party > div {
background:#FFC7D3;
border:none;
border-radius:none;
color: #570014;
.expbar {
border: #570014 2px solid;
background: #FFC7D3;
color: #570014;
&> div {
background: #FF9EB3;
border-right: #570014 2px solid;
}
}
.name > a {color: #570014; display:inline; padding:5px;}
.expbar {display: none;}
.taste {display: none;}
.happy {display: none;}
.nature {display: none;}
.type {display: none;}
}
.berrybuttons > a {
display: none;
}
.berrybuttons[data-up='sour'] > a[data-berry='aspear'],
.berrybuttons[data-up='spicy'] > a[data-berry='cheri'],
.berrybuttons[data-up='dry'] > a[data-berry='chesto'],
.berrybuttons[data-up='sweet'] > a[data-berry='pecha'],
.berrybuttons[data-up='bitter'] > a[data-berry='rawst'],
.berrybuttons[data-up='any'] > a[data-berry='pecha'] {
display: inline-block;
background:none;
}
[/style]
This post contains one or more BBCode Errors and cannot be displayed properly.
Error: Invalid ID on line 68
If this is your post, please edit it to correct these errors. For now, the post will be shown raw, with no BBCode processing.
@ starwarsgirl
I also appologize for double posting in the same day too
this should apply for accordion boxes too
QUOTE originally posted by B0r1sL0v3r
.panel {
&>h3 { }
&>div { }
}
h3 refers to the banner, or the box title, while div is the contents inside, usually hidden inside. To change the text color in the h3 section, add a { color: something; } (for links/click to open) and color: something; for plain text. You will need both because anything that opens is a link and static headers use regular color coding. This is tricky, so study the example carefully!
as obtained from Styleclass and You: an Introduction
bbcode for accordian
If you meant bbcode its still the same as far as I know:
[accordion]
[a-section=Title 1]Contents 1[/a-section]
[a-section=Title 2]Contents 2[/a-section]
[a-section Title 3]Contents 3[/a-section]
[/accordion]
the Style code for this
.panel {
border: 0.25px solid brown;
background-color: hidden;
&>h3 {
border-bottom: 1.5px solid black;
color: black;
background-color: orange;
border-radius: 2px;
padding: 3px;
a {
color: brown;
text-decoration: none;
}
a:hover {
color: blue;
}
&>div {
color: black;
background-color: white;
border: 0.5px solid maroon;
border-radius: 2px;
padding: 3px;
}
}
}
Heya, I'm trying to make a style code for my shop, and was wondering if someone could tell me how to change the colour of the horizontal lines
((Colour is #FF5C7F))
this thing vvv
.
Any help is appreciated! =)
Edit: I'm not sure if this is as close as you can get or not, but I used a border code to color it instead.
Here's the code, if you want it
[style]
hr {
border: 1.25px solid #FF5C7F;
}
[/style]
The results
((Colour is #FF5C7F))
Cannot post: Please log in to post