If you want to do it the same way like they did, you have to edit your infobox and add that div wrapping their infobox. I linked their infobox above and you can also see it in the screenshot.
<div class="infoboxContainer" {{#if: {{{color|}}} | style="--infobox-color: {{{color}}}"}}><infobox type="Character">
...
...
...
</infobox></div>
Then, on every page you add the infobox, you have to define the parameter "color".
{{Character info box
| title = Example
| color = _your_color_here_
| image = Example.jpg
...
...
}}
Also, by copying all their css you have now added more color variables.
These are css variables:
--variable-name
and this is how they are used:
background: var(--infobox-color);
You need to define the colors for the variables you copied.
They define it on top of their css, lines 2 - 11, but you may want to use your own colors. I'm not sure if it's a good idea to make your wiki look like an exact copy of another one? Anyway, that's not my business, but you should at least credit them somewhere.