theme: adjust block margins #64

This commit is contained in:
Sören Weber 2021-08-27 18:21:12 +02:00
parent de7f9ae0d6
commit 7059329c01
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
2 changed files with 13 additions and 2 deletions

View file

@ -647,6 +647,8 @@ Add HTTP parameters `width` and/or `height` to the link image to resize the imag
![Minion](https://octodex.github.com/images/minion.png?width=20pc) ![Minion](https://octodex.github.com/images/minion.png?width=20pc)
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.png?width=20pc)
```markdown ```markdown
![Minion](https://octodex.github.com/images/minion.png?height=50px) ![Minion](https://octodex.github.com/images/minion.png?height=50px)
``` ```

View file

@ -287,7 +287,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
min-height: 100%; min-height: 100%;
} }
#body img, #body .video-container { #body img, #body .video-container {
margin: 3rem auto; margin: 1.7rem auto;
display: block; display: block;
text-align: center; text-align: center;
} }
@ -610,7 +610,6 @@ code.copy-to-clipboard-inline {
} }
pre { pre {
padding: 1rem; padding: 1rem;
margin: 2rem 0;
border: 0; border: 0;
border-radius: 2px; border-radius: 2px;
line-height: 1.15; line-height: 1.15;
@ -1110,6 +1109,11 @@ option {
color: initial; color: initial;
} }
.expand{
margin-bottom: 1rem;
margin-top: 1rem;
}
.expand-label { .expand-label {
cursor: pointer; cursor: pointer;
} }
@ -1129,3 +1133,8 @@ option {
padding-top: .75rem; padding-top: .75rem;
} }
} }
.mermaid {
margin-bottom: 1.7rem;
margin-top: 1.7rem;
}