feat: Keep custom stuff where it belongs; in my repo :P
This commit is contained in:
@ -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.
|
||||
|
||||
|
@ -18,14 +18,6 @@ video {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&.inline {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
&.no-margin {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
|
@ -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 %}"
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user