Code reduction for teacher-theme

reduction of css code