Change an ID and class to be more semantic

This commit is contained in:
Dorian Wood 2021-05-01 15:08:36 -04:00
parent 6b5742b1bd
commit 84e2201641
2 changed files with 5 additions and 5 deletions

View File

@ -2,10 +2,10 @@
{{ .Title }}
{{ end }}
{{ define "main" }}
<section id="projects">
<section id="list">
{{- range first 10 .Data.Pages }}
<a href="{{ .Permalink }}" class="button">
<section class="project-tile">
<section class="list-item">
<a href="{{- .Permalink }}" class="button"><h2>{{ .Title }}</h2></a>
{{ .Plain | truncate 500 | htmlUnescape | safeHTML }}
</section>

View File

@ -132,13 +132,13 @@ h4 {
border-color: var(--base00);
}
#projects {
#list {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
justify-content: space-evenly;
}
.project-tile {
.list-item{
max-width: 25em;
margin: 1em;
padding: 1em;