minor style adjustment
This commit is contained in:
parent
e1e500733e
commit
159a139846
2 changed files with 3 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
Image with max-width constraint. `width` defaults to `500px`:
|
||||
|
||||
```md
|
||||
{% img(src="./diagram.png", alt="Architecture", width="600px") %}
|
||||
{{ img(src="./diagram.png", alt="Architecture", width="600px") }}
|
||||
```
|
||||
|
||||
Figure caption:
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ img {
|
|||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
|
|
@ -172,7 +173,7 @@ code {
|
|||
font-size: 0.88em;
|
||||
background: var(--code-bg);
|
||||
padding: 0.1em 0.3em;
|
||||
border-radius: 3px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
pre {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue