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 {
|
||||
vertical-align: middle;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
aside nav ul {
|
||||
@ -147,6 +147,10 @@ ul.pagination {
|
||||
@include fixed;
|
||||
}
|
||||
|
||||
img {
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
nav > ul > li:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
@ -166,10 +170,8 @@ ul.pagination {
|
||||
display: flex;
|
||||
padding-top: $padding-16;
|
||||
font-size: $font-size-14;
|
||||
align-items: baseline;
|
||||
|
||||
img {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Expand shortcode
|
||||
# Shortcodes
|
||||
## Expand shortcode
|
||||
|
||||
## Default
|
||||
### Default
|
||||
|
||||
```tpl
|
||||
{{</* expand */>}}
|
||||
@ -14,7 +15,7 @@ Lorem markdownum insigne...
|
||||
Lorem markdownum insigne...
|
||||
{{< /expand >}}
|
||||
|
||||
## With Custom Label
|
||||
### With Custom Label
|
||||
|
||||
```tpl
|
||||
{{</* expand "Custom Label" "..." */>}}
|
||||
@ -31,7 +32,7 @@ protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
|
||||
Miseratus fonte Ditis conubia.
|
||||
{{< /expand >}}
|
||||
|
||||
# Buttons
|
||||
## Buttons
|
||||
|
||||
```tpl
|
||||
{{</* button relref="/" [class="..."] */>}}Get Home{{</* /button */>}}
|
||||
@ -41,7 +42,7 @@ Miseratus fonte Ditis conubia.
|
||||
{{< button relref="/" >}}Get Home{{< /button >}}
|
||||
{{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}}
|
||||
|
||||
# Tabs
|
||||
## Tabs
|
||||
|
||||
```tpl
|
||||
{{</* tabs "uniqueid" */>}}
|
||||
@ -88,7 +89,7 @@ Miseratus fonte Ditis conubia.
|
||||
{{< /tab >}}
|
||||
{{< /tabs >}}
|
||||
|
||||
# Columns
|
||||
## Columns
|
||||
|
||||
```html
|
||||
{{</* columns */>}} <!-- begin columns block -->
|
||||
@ -130,7 +131,7 @@ Miseratus fonte Ditis conubia.
|
||||
{{< /columns >}}
|
||||
|
||||
|
||||
# Mermaid Chart
|
||||
## Mermaid Chart
|
||||
|
||||
{{< columns >}}
|
||||
```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