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>
|
</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
||||||
<img src="{{.Site.BaseURL}}/res/default.png">
|
<img src="{{.Site.BaseURL}}{{.Site.Params.default_img}}">
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -16,11 +16,8 @@
|
||||||
</video>
|
</video>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{if .Params.image}}
|
{{if .Params.image}}
|
||||||
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
|
||||||
<img src="{{.Site.BaseURL}}{{.Params.image}}">
|
<img src="{{.Site.BaseURL}}{{.Params.image}}">
|
||||||
</a>
|
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{.Site.BaseURL}}{{.Permalink}}">
|
|
||||||
<img src="{{.Site.BaseURL}}/res/default.png">
|
<img src="{{.Site.BaseURL}}/res/default.png">
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -395,14 +395,17 @@ aside .listing img{
|
||||||
.recent,.featured{
|
.recent,.featured{
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
.recent img,
|
.recent img,
|
||||||
.featured img,
|
.featured img,
|
||||||
.recent video,
|
.recent video,
|
||||||
.featured video{
|
.featured video{
|
||||||
max-width:100%;
|
|
||||||
margin:0.25rem;
|
max-width:unset;
|
||||||
}
|
width:100%;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
.listing{
|
.listing{
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue