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.
|
- `full`: Forces image/video to be full-width.
|
||||||
- `pixels`: Uses nearest neighbor algorithm for scaling, useful for keeping pixel-art sharp.
|
- `pixels`: Uses nearest neighbor algorithm for scaling, useful for keeping pixel-art sharp.
|
||||||
- `transparent`: Removes rounded corners and shadow, useful for transparent images.
|
- `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_hover`: Removes zoom on hover.
|
||||||
- `no_margin`: Removes margins.
|
|
||||||
|
|
||||||
Variables should be comma-separated and be inside the brackets.
|
Variables should be comma-separated and be inside the brackets.
|
||||||
|
|
||||||
|
@ -18,14 +18,6 @@ video {
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.inline {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.no-margin {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
{% if full %}full{% endif %}
|
{% if full %}full{% endif %}
|
||||||
{% if pixels %}pixels{% endif %}
|
{% if pixels %}pixels{% endif %}
|
||||||
{% if transparent %}transparent{% endif %}
|
{% if transparent %}transparent{% endif %}
|
||||||
{% if inline %}inline{% endif %}
|
|
||||||
{% if no_hover %}no-hover{% endif %}
|
{% if no_hover %}no-hover{% endif %}
|
||||||
{% if no_margin %}no-margin{% endif %}
|
|
||||||
"
|
"
|
||||||
{% if alt %}alt="{{alt}}"{% endif %}
|
{% if alt %}alt="{{alt}}"{% endif %}
|
||||||
src="{% if url_min %}{{url_min}}{% else %}{{url}}{% endif %}"
|
src="{% if url_min %}{{url_min}}{% else %}{{url}}{% endif %}"
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
{% if full %}full{% endif %}
|
{% if full %}full{% endif %}
|
||||||
{% if pixels %}pixels{% endif %}
|
{% if pixels %}pixels{% endif %}
|
||||||
{% if transparent %}transparent{% endif %}
|
{% if transparent %}transparent{% endif %}
|
||||||
{% if inline %}inline{% endif %}
|
|
||||||
{% if no_margin %}no-margin{% endif %}
|
|
||||||
"
|
"
|
||||||
{% if alt %}alt="{{alt}}"{% endif %}
|
{% if alt %}alt="{{alt}}"{% endif %}
|
||||||
controls
|
controls
|
||||||
|
Reference in New Issue
Block a user