feat: Keep custom stuff where it belongs; in my repo :P

This commit is contained in:
daudix
2024-02-01 00:14:08 +03:00
parent a7285b3e43
commit 14fd1a6dc3
4 changed files with 0 additions and 14 deletions

View File

@ -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.

View File

@ -18,14 +18,6 @@ video {
border-radius: 0;
box-shadow: none;
}
&.inline {
display: inline;
}
&.no-margin {
margin: 0;
}
}
img {

View File

@ -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 %}"

View File

@ -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