diff --git a/content/demo/index.md b/content/demo/index.md index f79119c..59d7148 100644 --- a/content/demo/index.md +++ b/content/demo/index.md @@ -161,9 +161,7 @@ Available variables are: - `full`: Forces image/video to be full-width. - `pixels`: Uses nearest neighbor algorithm for scaling, useful for keeping pixel-art sharp. - `transparent`: Removes rounded corners and shadow, useful for transparent images. -- `inline`: Allows putting image inline, e.g for putting multiple images next to each one. - `no_hover`: Removes zoom on hover. -- `no_margin`: Removes margins. Variables should be comma-separated and be inside the brackets. diff --git a/sass/_media.scss b/sass/_media.scss index 8aa377f..ca9b80d 100644 --- a/sass/_media.scss +++ b/sass/_media.scss @@ -18,14 +18,6 @@ video { border-radius: 0; box-shadow: none; } - - &.inline { - display: inline; - } - - &.no-margin { - margin: 0; - } } img { diff --git a/templates/shortcodes/image.html b/templates/shortcodes/image.html index f7f2342..d6630ae 100644 --- a/templates/shortcodes/image.html +++ b/templates/shortcodes/image.html @@ -4,9 +4,7 @@ {% if full %}full{% endif %} {% if pixels %}pixels{% endif %} {% if transparent %}transparent{% endif %} - {% if inline %}inline{% endif %} {% if no_hover %}no-hover{% endif %} - {% if no_margin %}no-margin{% endif %} " {% if alt %}alt="{{alt}}"{% endif %} src="{% if url_min %}{{url_min}}{% else %}{{url}}{% endif %}" diff --git a/templates/shortcodes/video.html b/templates/shortcodes/video.html index da51de0..3b46484 100644 --- a/templates/shortcodes/video.html +++ b/templates/shortcodes/video.html @@ -3,8 +3,6 @@ {% if full %}full{% endif %} {% if pixels %}pixels{% endif %} {% if transparent %}transparent{% endif %} - {% if inline %}inline{% endif %} - {% if no_margin %}no-margin{% endif %} " {% if alt %}alt="{{alt}}"{% endif %} controls