Full-bleed media
This commit is contained in:
@ -179,6 +179,7 @@ Available variables are:
|
||||
- `url_min`: URL to compressed version of an image, original can be opened by clicking on the image.
|
||||
- `alt`: Alt text, same as if the text were inside square brackets in Markdown.
|
||||
- `full`: Forces image to be full-width.
|
||||
- `full_bleed`: Forces image to fill all the available screen width. Removes shadow, rounded corners and zoom on hover.
|
||||
- `start`: Float image to the start of paragraph and scale it down.
|
||||
- `end`: Float image to the end of paragraph and scale it down.
|
||||
- `pixels`: Uses nearest neighbor algorithm for scaling, useful for keeping pixel-art sharp.
|
||||
@ -200,6 +201,7 @@ Variables should be comma-separated and be inside the brackets.
|
||||
Alternatively, you can append the following URL anchors. It can be more handy in some cases, e.g such images will render normally in any Markdown editor, opposed to the Zola shortcodes.
|
||||
|
||||
- `#full`: Forces image to be full-width.
|
||||
- `#full-bleed`: Forces image to fill all the available screen width. Removes shadow, rounded corners and zoom on hover.
|
||||
- `#start`: Float image to the start of paragraph and scale it down.
|
||||
- `#end`: Float image to the end of paragraph and scale it down.
|
||||
- `#pixels`: Uses nearest neighbor algorithm for scaling, useful for keeping pixel-art sharp.
|
||||
@ -214,6 +216,9 @@ Alternatively, you can append the following URL anchors. It can be more handy in
|
||||

|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si aliquod aeternum et infinitum impendere malum nobis opinemur.
|
||||
|
||||
\
|
||||

|
||||
|
||||
#### Video
|
||||
|
||||
Same as images, but with a few differences: `no_hover` and `url_min` are not available.
|
||||
|
Reference in New Issue
Block a user