diff --git a/scss/_layout.scss b/scss/_layout.scss index 92427a73..3a58c6f0 100644 --- a/scss/_layout.scss +++ b/scss/_layout.scss @@ -59,14 +59,6 @@ padding-left: $grid-gutter; } -// Centers content horizontally. Can be used inside or outside the grid. -.centered { - display: block; - float: none; - margin-left: auto; - margin-right: auto; -} - // Equal width columns via table sorcery. .table-column { display: table-cell; diff --git a/scss/_utility.scss b/scss/_utility.scss index eee3df58..5d799691 100644 --- a/scss/_utility.scss +++ b/scss/_utility.scss @@ -9,6 +9,17 @@ .left { float: left; } +// Layout + +// Centers content horizontally. Can be used inside or outside the grid. +.centered { + display: block; + float: none; + margin-left: auto; + margin-right: auto; +} + + // Text alignment .text-right { text-align: right; }