minor changes

This commit is contained in:
Gabriel 2023-03-06 19:49:09 -05:00
parent 456976d3e7
commit c875f09e43
6 changed files with 35 additions and 28 deletions

View file

@ -14,7 +14,7 @@
<p>Unfortunately this isn't a real page (yet?).<br>
If you believe this is a mistake please <a href="mailto:contact@libresolutions.network?subject=RE:%20404">get in touch</a>.</p>
<p>A search function is in the works...</p>
<p>Please consider <a href="about/#supporting-this-work">Supporting this work</a></p>
<p>Please consider <a href="/about/#supporting-this-work">Supporting this work</a></p>
</article>
</main>
{{partial "footer" .}}

View file

@ -10,15 +10,9 @@
{{partial "banner" .}}
{{partial "spritesheet" .}}
<main>
<section id="main-content">
<article>
{{.Content}}
</article>
</section>
<section id="sidebar">
{{partial "sidebar" .}}
</section>
<article>
{{.Content}}
</article>
</main>
{{ partial "footer" .}}
</body>

View file

@ -1,12 +1,3 @@
{{if .Site.Taxonomies.categories.featured}}
<h2 style="text-align:center;width:100%">Featured</h2>
{{range .Site.Taxonomies.categories.featured.Pages.Reverse}}
{{ partial "item" .}}
{{end}}
{{end}}
<h2 style="text-align:center;width:100%">Recent Content</h2>
{{range first 3 .Site.RegularPages}}
{{ partial "item" .}}

View file

@ -0,0 +1,5 @@
<div class="gallery">
{{range first 3 .Site.RegularPages}}
{{partial "item" .}}
{{end}}
</div>

View file

@ -0,0 +1,7 @@
<div class="gallery">
{{ $tag := .Get 0 }}
{{range .Site.RegularPages.RelatedTo (keyVals "tags" $tag) }}
{{partial "item" .}}
{{end}}
</div>

View file

@ -278,7 +278,9 @@ article .media-container {
align-items: center;
width: 100%;
}
article section {
width:100%;
}
.media-container a {
width: 100%;
display: flex;
@ -415,6 +417,7 @@ video {
#sidebar {
padding-top: 0;
align-items: flex-start;
min-width: 540px;
}
.recent *,
@ -575,23 +578,20 @@ video {
margin:0;
}
.image-container {
.media-container {
margin-bottom: 1rem;
}
.image-container,
.image-container a {
.media-container,
.media-container a {
width: fit-content;
display: flex;
flex-direction: column;
justify-content: center;
}
.image-container .caption {
.media-container .caption {
width: fit-content;
border: 1px solid var(--theme-accent);
padding: 0.5rem;
border-radius: 0.5rem;
}
.gallery>* {
@ -740,4 +740,14 @@ svg{
from{background-color: rgba(0, 0, 0, 0.25);}
to{background-color: transparent;backdrop-filter: blur(0px);}
}
}
}
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {text-decoration: none !important;}
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️";font-size:18px;margin:5px;text-decoration: none !important;}
.media-container a::after, .liberapay-container a::after, .tags a::after, .listing a::after, #tags a::after{
content: "" !important;margin:0 !important;font-size:0;
}
.media-container a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️" !important;font-size:18px;margin:5px;text-decoration: none !important;}
.media-container a{
flex-direction: row;
}