The only thing it does with the template is read the HTML for output. How you choose to style that is up to you. Most people stuff that into the stylesheet of the page on which they're inserting the sidebox, not the PHP file.