Last update: 1/22/23 In the process of updating broken links, as textuploader is down! However I don't know that I have all the original code anymore, so this is a bit of a WIP. :(
a few general notes
- I like to have my pet treasure item names on display without hover due to frequent issues with wonky hovers. I separated the code used to make the treasure display like that for easy removal.
- My code has a number of comments for organization purposes. Anything written /* like this */ can be safely removed, as long as you remove everything, including both the beginning and the ending asterisk and slash. ul li:nth-child(1), ul li:nth-child(7){color: }
ul li:nth-child(2), ul li:nth-child(6){color: }
ul li:nth-child(3), ul li:nth-child(5){color: }
ul li:nth-child(4){color: }
This is what I use for the gradient effect on pet stats. What I do is I select a different color from the base font color and I blend them together on Photoshop. The first line of this would be 25% new color/75% main font color, the second 50% new color, third 75%, and fourth 100%.
Here is a link to an online color mixer that will let you do the same, if you don't have Photoshop or a similar program. To achieve the same gradient effect, use your main font color as your first color and the new font color as your second, put in 3 midpoints, and copypaste them in order.
Of course, you can erase all of the above stat color code if you'd prefer!
, , , , , you'll need to add a comma and '#BOXNAMEWHATEVER' after the . This includes adding a comma and '#BOXNAMEWHATEVER:target' to the bits that feature the :target, :target, etc. code; this is essential to the anchor links! You'll also need to add a corresponding 'BOXNAMEWHATEVER' div., , , , , {background: ;
box-shadow: 0 0 0 1px , you could remove the 'background' and then add new code snippets like:{background: }
{background: }
{background: }
etc... to have varied background colors for the different content boxes.
Same goes for all the colors in the layout, really! I made things uniform because that's my preference, but on some pets it may look nice to have more of a rainbow.
-'h1' font is what I used for the mini-header sort of thing on Amithi's profile; 'h2' is for the way I do my character information basics like the nickname, age, gender, etc; and 'h3' is what I used to enlarge the name in the pet friend section (I also made 'h3' the same color as the bold font, though these can be separated.) None of these are necessary to use! I just like to have a few enlarged font options.
- Changing the hex color here changes the color for the border on the tabs as well as the main columns: , , , , , , , , , {box-shadow: 0 0 0 1px }- stripe1 is the name of the larger background stripe; stripe2 is the smaller one..statsbg, , , , as well as adding a corresponding target z-index here: :target, :target, :target{z-index: 3}I hope these explanations make sense! If anything is confusing, I'm happy to try to explain better. ;w; Also, I'd love to see what you do with the layout if you end up using it! I encourage you to ping me and tell me what pet(s) you're using my code with so I can check 'em out~
.legacy-name{display: none}
-Adding a background:
body{background-image: url(URLHERE)}Note: my profile templates default to having the background both tiled and fixed (fixed meaning that it doesn't scroll with the page), because I'm so used to using that in all of my pet profiles and completely forgot that other people might do things differently! If you don't want to use a tiled background, you'll need to change the code where it says:
body{background-repeat: repeat;
background-attachment: fixed}and instead have something more like this, which will set a background to appear in the bottom right corner:
body{background-repeat: no-repeat;
background-attachment: fixed;
background-position: bottom right}Depending on the background size, you may end up wanting to set it to cover or contain, which will resize the background itself to fit the screen. Here is a link to a guide to background sizes!
@ import url(https://fonts.googleapis.com/css?family=Parisienne);[/code] Remove the space before 'import' and change the pet name font family to 'Parisienne', cursive; Adding 'cursive' after a comma makes it so that if the web font doesn't work for some reason, the browser will display the font as your computer's default cursive font. If the font you're going with isn't cursive like the Parisienne font, you might want to change "cursive" to something like "sans-serif" or just a common font like Verdana!
This code has the font I used for Amithi's profile, but there are a ton of options out there for pets that you might not want such a pretty cursive font on. I get all of my web fonts from Google fonts! Also, you can have more than one web font on a profile if you'd like; you can separate different fonts with a | (so the URL to import both of the fonts I used on Ruanna's profile was https://fonts.googleapis.com/css?family=Lemon|Muli )

you're amazing and i love this ^_^
Thank you so much for this. I have so little experience and this will help me greatly. Question, where/how do you add the background image in?
. . . Someone told me I have two faults. I don't listen and . . . some other stuff they were rattling on about.
Oh man, I'm sorry for not including that! I usually include the background in the beginning of the CSS to help me remember to change it for each pet. So basically just put this somewhere after the first 'style' tag:
body{background-image: url(URLHERE)}
I have the background set to repeat and also be fixed in place (rather than moving as you scroll down the page), if you need that changed I can point you to the part of the code that specifies that. c:
Thank you! ;v;

Thank you again. I appriciate this. :)
. . . Someone told me I have two faults. I don't listen and . . . some other stuff they were rattling on about.
Following :D thank you for this!
No problem! Let me know if you need help with anything else. c:
You're welcome! I enjoy making templates but I have a bad habit of later deciding I don't want to actually use them for my pets, so I figure this is a good way to make it so the ones I don't end up using don't go to waste haha.

I feel like this is a silly question but removing content... Will that effect anything? Like I only need the profile and tc boxes.
Aaa you're very welcome! I'm really happy to see that there's interest for these. c':
Nope, there shouldn't be any issue whatsoever! If there is, let me know; it would mean I probably messed up somewhere. :'D It should be totally fine to remove extraneous divs and of course the links on the left. If you don't want to mess around with removing them from the CSS itself (I know that can be kind of intimidating haha), that shouldn't make a difference either. edit: Oh, or did you mean removing anything else? Like stuff I have in the left column? Removing extra divs and the corresponding links should have no effect on anything else, but some positioning values would need to be adjusted if something like the spotlight box or minion were removed.

lol sorry that was very vague XD yeah I meant the divs, thank you much for the answer! This code is great. Thank you so much for sharing!
(rips shirt off to reveal another shirt that says I LOVE LEA'S CSS on it)
seriously though THANK YOU for sharing your talent with the world, I am seriously too lazy to do my own coding these days (and I guess I can't keep up with the newer versions of CSS, anyway). I'm probably going to use the anchor link template for my future Pokemon trainer OC!

So, you're my hero right now. I've used this here: [x] and I'll probably use it for a bunch of other pets as well. I've been ripping my hair out trying to fix them all since the site changed the coding and I really don't have the patience anymore. I especially love it for this pet though, because I've been struggling to find a good way to display his massive TC and this really helped. :3
Haha no problem, I figured you meant the divs but then had a 'but wait, this is a perfect opportunity to overthink things!' moment. You're very welcome! I'm looking forward to seeing what people do with these. :'Db (I honestly get really excited every time I see someone posted.)
You're so welcome! I'm super happy to see that it's useful to people, especially since that one was made just for an experimental freebie, rather than something I was thinking about using myself (though now of course I'm using it haha.) That's a seriously impressive TC, wow! I looove seeing big TCs and I'm glad that you like the way this one displays :D
dgfdddg YES GOOD JOIN ME IN POKEMON TRAINER OC HELL. B) Yeah this anchor link thing should totally work for a Pokeverse character, or lemme know if you want something more like how I do the stupid Pokemon thing with my own trainer kids :') God knows I love making these things.

As you should, you did a great thing! I added it to the profile for my pet Hepburn and I'm currently working in the final touches. <3