Implements base attribute for inline scss styles

Use base attribute to set point current directory to
somewhere else. This is needed so we can rewrite urls
for images and other assets.