Refine navigation styles
Calculate the ratio for content and sidebar

Closes #28