use pfx and css functions to apply css styles

Use pfx and css from impress.js to apply css styles. This leads to
clearer syntax and makes css properties independent on browsers.
Added .gitignore.