minor changes
This commit is contained in:
parent
88b6ea7715
commit
d004ebec25
2 changed files with 7 additions and 8 deletions
|
@ -2,9 +2,8 @@
|
||||||
<a href="{{.Permalink}}">
|
<a href="{{.Permalink}}">
|
||||||
<h2>{{.Title}}</h2>
|
<h2>{{.Title}}</h2>
|
||||||
</a>
|
</a>
|
||||||
<div>
|
<p>{{if .Date}}<strong>{{.Date | time.Format "Jan 02 2006"}}</strong>{{end}}</p>
|
||||||
<p>{{.Params.description}}{{if .Date}}<br>Published: <strong>{{.Date | time.Format "Jan 02 2006"}}{{end}}</strong></p>
|
<p style="text-align: left;">{{.Summary}}</p>
|
||||||
</div>
|
|
||||||
{{ if .GetTerms "tags" }}
|
{{ if .GetTerms "tags" }}
|
||||||
<div class="post-tags">
|
<div class="post-tags">
|
||||||
{{range .GetTerms "tags" }}
|
{{range .GetTerms "tags" }}
|
||||||
|
|
|
@ -247,7 +247,7 @@ article .highlight pre {
|
||||||
|
|
||||||
@media screen and (orientation:portrait) {
|
@media screen and (orientation:portrait) {
|
||||||
article {
|
article {
|
||||||
max-width: 90vw;
|
max-width: 100vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -263,12 +263,11 @@ article .highlight pre {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: flex-start;
|
||||||
margin: 1rem;
|
|
||||||
padding: 25px;
|
padding: 25px;
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
width: 360px;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post>* {}
|
.post>* {}
|
||||||
|
@ -285,10 +284,11 @@ article .highlight pre {
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-tags {
|
.post-tags {
|
||||||
max-width: 80%;
|
width:100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
justify-content: flex-start;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue