[CSS] Moved the rule from below the legend element to above it.

Fixes https://github.com/wet-boew/wet-boew-styleguide/issues/236.