mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 03:19:25 +00:00
Fix image alignment in text to baseline
This commit is contained in:
parent
c679f74cff
commit
618ffadcb3
@ -51,7 +51,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
vertical-align: middle;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside nav ul {
|
aside nav ul {
|
||||||
@ -147,6 +147,10 @@ ul.pagination {
|
|||||||
@include fixed;
|
@include fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
height: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
nav > ul > li:first-child {
|
nav > ul > li:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
@ -166,10 +170,8 @@ ul.pagination {
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding-top: $padding-16;
|
padding-top: $padding-16;
|
||||||
font-size: $font-size-14;
|
font-size: $font-size-14;
|
||||||
align-items: baseline;
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 1em;
|
|
||||||
height: 1em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# Expand shortcode
|
# Shortcodes
|
||||||
|
## Expand shortcode
|
||||||
|
|
||||||
## Default
|
### Default
|
||||||
|
|
||||||
```tpl
|
```tpl
|
||||||
{{</* expand */>}}
|
{{</* expand */>}}
|
||||||
@ -14,7 +15,7 @@ Lorem markdownum insigne...
|
|||||||
Lorem markdownum insigne...
|
Lorem markdownum insigne...
|
||||||
{{< /expand >}}
|
{{< /expand >}}
|
||||||
|
|
||||||
## With Custom Label
|
### With Custom Label
|
||||||
|
|
||||||
```tpl
|
```tpl
|
||||||
{{</* expand "Custom Label" "..." */>}}
|
{{</* expand "Custom Label" "..." */>}}
|
||||||
@ -31,7 +32,7 @@ protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
|||||||
Miseratus fonte Ditis conubia.
|
Miseratus fonte Ditis conubia.
|
||||||
{{< /expand >}}
|
{{< /expand >}}
|
||||||
|
|
||||||
# Buttons
|
## Buttons
|
||||||
|
|
||||||
```tpl
|
```tpl
|
||||||
{{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}}
|
{{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}}
|
||||||
@ -41,7 +42,7 @@ Miseratus fonte Ditis conubia.
|
|||||||
{{< button relref="/" >}}Get Home{{< /button >}}
|
{{< button relref="/" >}}Get Home{{< /button >}}
|
||||||
{{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}}
|
{{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}}
|
||||||
|
|
||||||
# Tabs
|
## Tabs
|
||||||
|
|
||||||
```tpl
|
```tpl
|
||||||
{{</* tabs "uniqueid" */>}}
|
{{</* tabs "uniqueid" */>}}
|
||||||
@ -88,7 +89,7 @@ Miseratus fonte Ditis conubia.
|
|||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|
||||||
# Columns
|
## Columns
|
||||||
|
|
||||||
```html
|
```html
|
||||||
{{</* columns */>}} <!-- begin columns block -->
|
{{</* columns */>}} <!-- begin columns block -->
|
||||||
@ -130,7 +131,7 @@ Miseratus fonte Ditis conubia.
|
|||||||
{{< /columns >}}
|
{{< /columns >}}
|
||||||
|
|
||||||
|
|
||||||
# Mermaid Chart
|
## Mermaid Chart
|
||||||
|
|
||||||
{{< columns >}}
|
{{< columns >}}
|
||||||
```tpl
|
```tpl
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"Target":"book.min.5efdfb5d6c57649e96a5e47f2e86a409f1b4c1a8452f3c01bdd82cb1dd69c7cb.css","MediaType":"text/css","Data":{"Integrity":"sha256-Xv37XWxXZJ6WpeR/LoakCfG0wahFLzwBvdgssd1px8s="}}
|
{"Target":"book.min.27ab072a10b6c916706e78f8a221f604fb02c94d5396ebfabf8121410911cc92.css","MediaType":"text/css","Data":{"Integrity":"sha256-J6sHKhC2yRZwbnj4oiH2BPsCyU1Tluv6v4EhQQkRzJI="}}
|
Loading…
Reference in New Issue
Block a user