change styling for list links

This commit is contained in:
a 2021-12-17 04:15:19 -06:00
parent 644b70b380
commit 80884ae5de
3 changed files with 9 additions and 9 deletions

View file

@ -25,9 +25,5 @@
display: block;
margin-bottom: 1em;
}
&__readmore {
margin-bottom: 1em;
display: block;
}
}
}

View file

@ -1,4 +1,8 @@
#code {
p {
line-height: 1.4;
font-size: 1.2em;
}
.page-header {
}
@ -29,10 +33,6 @@
i {
font-size: 2em;
}
p {
line-height: 1.4;
font-size: 1em;
}
}
#gitea {
margin-top: 4em;
@ -169,6 +169,7 @@
grid-area: icon;
width: 2em;
height: 2em;
margin-top: -0.375em;
path {
fill: #9A6BEA;
}
@ -177,6 +178,7 @@
font-weight: 700;
grid-area: title;
text-decoration: underline;
font-size: 1.2em;
}
&__summary {
line-height: 1.4;
@ -205,6 +207,7 @@
font-weight: 700;
grid-area: title;
text-decoration: underline;
font-size: 1.2em;
}
&__summary {
line-height: 1.4;

View file

@ -9,13 +9,14 @@
<div class="container">
{{ range .Pages }}
<article class="list-item">
<a class="list-item__link" href="{{ .Permalink }}">
{{ with .Params.cover }}
<img class="list-item__image" src="{{.}}">
{{end}}
<h2 class="list-item__title">{{ .Title }}</h2>
</a>
<p class="list-item__summary">{{.Summary}}</p>
<datetime class="list-item__date">{{ .Date.Format "January 2, 2006" }}</datetime>
<a class="list-item__readmore" href="{{ .Permalink }}">Read more...</a>
</article>
{{ end }}
</div>