Compare commits

..

3 Commits

Author SHA1 Message Date
Amolith afec5e3071
Improve footer semantics 2021-12-18 20:50:14 -05:00
Amolith f81853e85e
Improve semantics and add ring support 2021-12-18 20:49:53 -05:00
Amolith 807444f69a
Improve semantics 2021-12-18 20:42:36 -05:00
3 changed files with 22 additions and 23 deletions

View File

@ -138,28 +138,26 @@ input[type=text]:focus {
height: 25px; height: 25px;
box-shadow: 0 1px 1px rgba(12,13,14,0.15),inset 0 1px 0 0 #fff; box-shadow: 0 1px 1px rgba(12,13,14,0.15),inset 0 1px 0 0 #fff;
display: inline-block; display: inline-block;
line-height: 1.5px;
color: $dark; color: $dark;
text-shadow: 0 1px 0 #fff; text-shadow: 0 1px 0 #fff;
background-color: #e4e6e8; background-color: #e4e6e8;
border: 1px solid #9fa6ad; border: 1px solid #9fa6ad;
border-radius: 3px; border-radius: 3px;
cursor: pointer; cursor: pointer;
margin: 2px 0; padding: 0px 4px 4px;
p {
padding: .2rem;
margin: .5rem .2rem;
color: $dark;
}
} }
.footer { .footer {
font-style: italic;
padding: 20px 0 20px 0; padding: 20px 0 20px 0;
text-align: center; text-align: center;
line-height: 30px; line-height: 30px;
a:visited { a:visited {
color: $dark; color: $dark;
} }
.ring {
font-size: 20px;
}
.boring_stuff {
font-style: italic;
}
} }

View File

@ -11,11 +11,11 @@
{{ if eq $title "Posts" }} {{ if eq $title "Posts" }}
<div class="categories"> <div class="categories">
<h2>Categories</h2> <h2>Categories</h2>
{{range ($.Site.GetPage "taxonomyTerm" "categories").Pages }} <p>
<a class="button" href="{{.Permalink}}"> {{ range ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
<p>{{.Title}}</p> <a class="button" href="{{.Permalink}}">{{.Title}}</a>
</a> {{- end }}
{{end}} </p>
</div> </div>
{{ end }} {{ end }}
@ -30,11 +30,11 @@
<span class="posts-day">{{ if .Site.Params.dateformShort }}{{ .Date.Format .Site.Params.dateformShort }}{{ else }}{{ .Date.Format "Jan 02"}}{{ end }}</span> <span class="posts-day">{{ if .Site.Params.dateformShort }}{{ .Date.Format .Site.Params.dateformShort }}{{ else }}{{ .Date.Format "Jan 02"}}{{ end }}</span>
</a> </a>
<p>{{ .Summary | truncate 140 }}</p> <p>{{ .Summary | truncate 140 }}</p>
{{ range (.GetTerms "tags") }} <p>
<a class="button" href="{{.Permalink}}"> {{- range (.GetTerms "tags") }}
<p>{{.Title}}</p> <a class="button" href="{{.Permalink}}">{{.Title}}</a>
</a> {{- end }}
{{ end }} </p>
</li> </li>
{{- end }} {{- end }}
</ul> </ul>

View File

@ -1,7 +1,8 @@
<div class="footer"> <div class="footer">
<a class="button" href="#top"><p>Back to the top</p></a> <p><a class="button" href="#top">Back to the top</a></p>
<p>Content licensed under <a href="https://creativecommons.org/licenses/by/4.0/deed.en">CC-BY-4.0</a><br/> <p><a class="button" href="https://fediring.net/previous?host=secluded.site"></a> <a class="button" href="https://fediring.net/">Fediring</a> <a class="button" href="https://fediring.net/next?host=secluded.site"></a></p>
Code licensed under <a href="https://tldrlegal.com/license/mit-license">MIT</a><br/> <p class="boring_stuff">Content licensed under <a href="https://creativecommons.org/licenses/by/4.0/deed.en">CC-BY-4.0</a><br/>
Source is available on <a href="https://git.nixnet.services/Amolith/secluded">Gitea</a><br/></p> Code licensed under <a href="https://tldrlegal.com/license/mit-license">MIT</a><br/>
Source is available on <a href="https://git.nixnet.services/Amolith/secluded">Gitea</a><br/></p>
<a href="https://512kb.club"><img alt="Badge for 512 KB Club Green Team status" src="/assets/svgs/green-team.svg" /></a> <a href="https://512kb.club"><img alt="Badge for 512 KB Club Green Team status" src="/assets/svgs/green-team.svg" /></a>
</div> </div>