Mercurial > hg > cmmr2012-drupal-site
diff core/modules/system/css/components/align.module.css @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children | 12f9dff5fda9 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/system/css/components/align.module.css Thu Jul 05 14:24:15 2018 +0000 @@ -0,0 +1,32 @@ +/** + * @file + * Alignment classes for text and block level elements. + */ + +.text-align-left { + text-align: left; +} +.text-align-right { + text-align: right; +} +.text-align-center { + text-align: center; +} +.text-align-justify { + text-align: justify; +} + +/** + * Alignment classes for block level elements (images, videos, blockquotes, etc.) + */ +.align-left { + float: left; +} +.align-right { + float: right; +} +.align-center { + display: block; + margin-left: auto; + margin-right: auto; +}