fix(image): some image style bug
This commit is contained in:
@@ -167,6 +167,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 96%;
|
||||||
|
min-height: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@@ -184,7 +189,6 @@
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 96%;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -6,16 +6,8 @@ draft: false
|
|||||||
lightgallery: true
|
lightgallery: true
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="badge">
|
|
||||||
|
|
||||||
[](https://github.com/dillonzq/LoveIt/releases) [](https://gohugo.io/) [](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
|
[](https://github.com/dillonzq/LoveIt/releases) [](https://gohugo.io/) [](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.badge img { height: 1.2rem; }
|
|
||||||
</style>
|
|
||||||
|
|
||||||
[LoveIt :(far fa-heart):](https://github.com/dillonzq/LoveIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Dillon](https://dillonzq.com).
|
[LoveIt :(far fa-heart):](https://github.com/dillonzq/LoveIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Dillon](https://dillonzq.com).
|
||||||
|
|
||||||
It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) and [KeepIt Theme](https://github.com/liuzc/LeaveIt/).
|
It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) and [KeepIt Theme](https://github.com/liuzc/LeaveIt/).
|
||||||
|
|||||||
@@ -6,16 +6,8 @@ draft: false
|
|||||||
lightgallery: true
|
lightgallery: true
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="badge">
|
|
||||||
|
|
||||||
[](https://github.com/dillonzq/LoveIt/releases) [](https://gohugo.io/) [](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
|
[](https://github.com/dillonzq/LoveIt/releases) [](https://gohugo.io/) [](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.badge img { height: 1.2rem; }
|
|
||||||
</style>
|
|
||||||
|
|
||||||
{{< admonition warning >}}
|
{{< admonition warning >}}
|
||||||
Sorry, this article has not been completely translated into **French**.
|
Sorry, this article has not been completely translated into **French**.
|
||||||
Welcome to take the time to propose a translation by [making a PR](https://github.com/dillonzq/LoveIt/pulls) to the theme!
|
Welcome to take the time to propose a translation by [making a PR](https://github.com/dillonzq/LoveIt/pulls) to the theme!
|
||||||
|
|||||||
@@ -6,16 +6,8 @@ draft: false
|
|||||||
lightgallery: true
|
lightgallery: true
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="badge">
|
|
||||||
|
|
||||||
[](https://github.com/dillonzq/LoveIt/releases) [](https://gohugo.io/) [](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
|
[](https://github.com/dillonzq/LoveIt/releases) [](https://gohugo.io/) [](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.badge img { height: 1.2rem; }
|
|
||||||
</style>
|
|
||||||
|
|
||||||
[LoveIt :(far fa-heart):](https://github.com/dillonzq/LoveIt) 是一个由 [Dillon](https://dillonzq.com) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。
|
[LoveIt :(far fa-heart):](https://github.com/dillonzq/LoveIt) 是一个由 [Dillon](https://dillonzq.com) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。
|
||||||
|
|
||||||
它的原型基于 [LeaveIt 主题](https://github.com/liuzc/LeaveIt/) 和 [KeepIt 主题](https://github.com/liuzc/LeaveIt/)。
|
它的原型基于 [LeaveIt 主题](https://github.com/liuzc/LeaveIt/) 和 [KeepIt 主题](https://github.com/liuzc/LeaveIt/)。
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- partial "plugin/image.html" (dict "src" .Destination "title" .Title "description" .Text "lightgallery" false "scratch" (.Page.Scratch.Get "scratch")) -}}
|
{{- partial "plugin/image.html" (dict "src_s" .Destination "title" .Title "description" .Text "lightgallery" false "scratch" (.Page.Scratch.Get "scratch")) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user