Change an ID and class to be more semantic
This commit is contained in:
parent
6b5742b1bd
commit
84e2201641
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue