Fix padding of tree elements and pretty-print the css rules