better for mobile
This commit is contained in:
parent
251fbbab5a
commit
21ab4db6ce
3 changed files with 10 additions and 10 deletions
|
@ -17,7 +17,7 @@
|
|||
</a>
|
||||
{{else}}
|
||||
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
||||
<img src="{{.Site.BaseURL}}/res/default.png">
|
||||
<img src="{{.Site.BaseURL}}{{.Site.Params.default_img}}">
|
||||
</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
|
|
@ -16,11 +16,8 @@
|
|||
</video>
|
||||
{{else}}
|
||||
{{if .Params.image}}
|
||||
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
||||
<img src="{{.Site.BaseURL}}{{.Params.image}}">
|
||||
</a>
|
||||
{{else}}
|
||||
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
||||
<img src="{{.Site.BaseURL}}/res/default.png">
|
||||
</a>
|
||||
{{end}}
|
||||
|
|
|
@ -395,13 +395,16 @@ aside .listing img{
|
|||
.recent,.featured{
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
.recent img,
|
||||
.featured img,
|
||||
.recent video,
|
||||
.featured video{
|
||||
max-width:100%;
|
||||
margin:0.25rem;
|
||||
|
||||
max-width:unset;
|
||||
width:100%;
|
||||
margin:0;
|
||||
}
|
||||
.listing{
|
||||
flex-direction: column;
|
||||
|
|
Loading…
Reference in a new issue