diff --git a/warehouse/static/sass/blocks/_project-description.scss b/warehouse/static/sass/blocks/_project-description.scss index 94ea442cebc5..fc6958a19606 100644 --- a/warehouse/static/sass/blocks/_project-description.scss +++ b/warehouse/static/sass/blocks/_project-description.scss @@ -162,6 +162,34 @@ > a { margin-top: $spacing-unit / 2; } + + img.align-left, + .figure.align-left, + object.align-left { + clear: left; + float: left; + margin-top: $spacing-unit / 2; + margin-right: $spacing-unit / 2; + } + + img.align-right, + .figure.align-right, + object.align-right { + clear: right; + float: right; + margin-top: $spacing-unit / 2; + margin-left: $spacing-unit / 2; + } + + img.align-center, + .figure.align-center, + object.align-center { + display: block; + margin-top: $spacing-unit / 2; + margin-left: auto; + margin-right: auto; + } + }