FLUID-5469: Added back in use of fl-centered

Replaced most manual uses of "margin: 0 auto" with fl-centered. There is also some whitespace and line ending fixes included.