Revert "Revert "Removed css hard-coding in ruby file""

This reverts commit 747dfeb1ad7421206b6aa96c586689ee499506fb.