diff options
Diffstat (limited to 'themes/twentynineteen/sass/modules/_alignments.scss')
-rw-r--r-- | themes/twentynineteen/sass/modules/_alignments.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/twentynineteen/sass/modules/_alignments.scss b/themes/twentynineteen/sass/modules/_alignments.scss new file mode 100644 index 00000000..2fb584ad --- /dev/null +++ b/themes/twentynineteen/sass/modules/_alignments.scss @@ -0,0 +1,28 @@ +.alignleft { + /*rtl:ignore*/ + float: left; + /*rtl:ignore*/ + margin-right: $size__spacing-unit; + + @include media(tablet) { + /*rtl:ignore*/ + margin-right: calc(2 * #{$size__spacing-unit}); + } +} + +.alignright { + /*rtl:ignore*/ + float: right; + /*rtl:ignore*/ + margin-left: $size__spacing-unit; + + @include media(tablet) { + /*rtl:ignore*/ + margin-left: calc(2 * #{$size__spacing-unit}); + } +} + +.aligncenter { + clear: both; + @include center-block; +} |