move css-related code to template

CSS support file import, which means one css file can include other css
files, thus we can simply code by making the "main.css" file as the
default style for all themes and templates.