The template system allows you to edit existing templates and add new ones, and even inline new templates that you create. You can edit the HTML and CSS templates to customize the style in any way you want.
If you are working with the demo then you can see code examples in this template:
Admin CP -> Appearance -> Templates -> PAGE_CONTAINER
This template contains the HTML skeleton that is used on all front end pages. You can see it includes other templates.