mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 03:03:09 +00:00
theme: adjust block margins #64
This commit is contained in:
parent
de7f9ae0d6
commit
7059329c01
2 changed files with 13 additions and 2 deletions
|
@ -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)
|
||||
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.png?width=20pc)
|
||||
|
||||
```markdown
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px)
|
||||
```
|
||||
|
|
|
@ -287,7 +287,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
|
|||
min-height: 100%;
|
||||
}
|
||||
#body img, #body .video-container {
|
||||
margin: 3rem auto;
|
||||
margin: 1.7rem auto;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -610,7 +610,6 @@ code.copy-to-clipboard-inline {
|
|||
}
|
||||
pre {
|
||||
padding: 1rem;
|
||||
margin: 2rem 0;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
line-height: 1.15;
|
||||
|
@ -1110,6 +1109,11 @@ option {
|
|||
color: initial;
|
||||
}
|
||||
|
||||
.expand{
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.expand-label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -1129,3 +1133,8 @@ option {
|
|||
padding-top: .75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.mermaid {
|
||||
margin-bottom: 1.7rem;
|
||||
margin-top: 1.7rem;
|
||||
}
|
Loading…
Reference in a new issue