✏️ fix: minor typo
This commit is contained in:
parent
586b5617b2
commit
799b31d403
@ -14,7 +14,7 @@ A simple blog theme powered by [Zola](https://getzola.org). See a live preview [
|
|||||||
- [x] Tags.
|
- [x] Tags.
|
||||||
- [x] Social Links.
|
- [x] Social Links.
|
||||||
- [X] Syntax highlighting.
|
- [X] Syntax highlighting.
|
||||||
- [X] Invertable and dimmable images shortcodes.
|
- [X] Invertible and dimmable images shortcodes.
|
||||||
|
|
||||||
See the project's roadmap [here](https://github.com/users/welpo/projects/1).
|
See the project's roadmap [here](https://github.com/users/welpo/projects/1).
|
||||||
|
|
||||||
|
@ -7,16 +7,16 @@ tags = ["markdown", "test"]
|
|||||||
|
|
||||||
## Image shortcodes
|
## Image shortcodes
|
||||||
|
|
||||||
### Invertable image
|
### Invertible image
|
||||||
|
|
||||||
You can use this shortcode for graphs, line drawings, diagrams…
|
You can use this shortcode for graphs, line drawings, diagrams…
|
||||||
|
|
||||||
{{ invertable_image(src="$BASE_URL/img/graph.webp", alt="Invertable graph") }}
|
{{ invertible_image(src="$BASE_URL/img/graph.webp", alt="Invertible graph") }}
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
```
|
```
|
||||||
{{/* invertable_image(src="img/graph.webp", alt="Invertable graph") */}}
|
{{/* invertible_image(src="img/graph.webp", alt="Invertible graph") */}}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Dimmable image
|
### Dimmable image
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
--accent-color: #91e0ee;
|
--accent-color: #91e0ee;
|
||||||
--table-header-color: #b7e4e4;
|
--table-header-color: #b7e4e4;
|
||||||
|
|
||||||
.invertable-image {
|
.invertible-image {
|
||||||
filter: invert(.88);
|
filter: invert(.88);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,6 +95,8 @@ html {
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
align-items:center;
|
||||||
|
justify-content:center;
|
||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
max-width: var(--max-layout-width);
|
max-width: var(--max-layout-width);
|
||||||
@ -166,6 +168,9 @@ h5 {
|
|||||||
|
|
||||||
p {
|
p {
|
||||||
font-family: 'Source Serif Pro', serif;
|
font-family: 'Source Serif Pro', serif;
|
||||||
|
max-width: 730px;
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
margin-bottom: 1.4rem;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
<img class="invertable-image" {% if src %}src={{ src | safe | replace(from="$BASE_URL", to=config.base_url) }} {% endif %} {% if alt %}alt="{{ alt }}"{% endif %}/>
|
<img class="invertible-image" {% if src %}src={{ src | safe | replace(from="$BASE_URL", to=config.base_url) }} {% endif %} {% if alt %}alt="{{ alt }}"{% endif %}/>
|
Loading…
x
Reference in New Issue
Block a user