Forum:Can't bring infobox to my site

I'm not sure if this is where I should be asking this, but I'm having some real hair pulling difficulty getting this to work. So I'm building a wiki to store some character from a dnd I'm running and I'm trying to use the character infobox from the one piece wiki since it's a OP based dnd.

My template:https://ageoffp.fandom.com/wiki/Template:Char_Box

OP template: https://onepiece.fandom.com/wiki/Template:Char_Box

The issue is that when I take the entire page's source code and bring it to my page, everything loses its borders and colors change around a lot. I'm not sure if I'm doing something wrong or it's just because of the way I set up the theme settings or something.