preferences-page: Implement the margins via CSS

This makes the widget more flexible.
11 jobs for preference-group in 15 minutes and 57 seconds (queued for 2 seconds)