Remove code duplication

Whole stylesheet was written twice in this file. Remove top part of the duplication.