TreePair rendering fixed.

* Reorganised CSS file
* Made TreePair use the changes to the rendering structure. Also now
uses fractions as labels.