Revert "Revert "add specificity using for CSS; selector improvements;""

This reverts commit fe11b5492de066270f3996318186488a0f9d1e3f.
performance improvements of CSS stylesheet