fix horizontal style inheritance and add documentation