It does depend on the school. The one I attended banned makeup, jewelery, and there was a group of students (風紀員会) whose main job was to go around with a ruler and check skirt lengths. If it was too short, you were suspended.

If they caught you OUTSIDE of school even, you would be in deep trouble.