Update theming some more, remove use of art thumbs

This commit is contained in:
Joshua Goins 2023-02-23 17:57:46 -05:00
parent 06fc41a5d6
commit f91baafc53
2 changed files with 15 additions and 6 deletions

View file

@ -71,6 +71,7 @@ body {
--border-color: black; --border-color: black;
--background-primary: #ab4a2f; --background-primary: #ab4a2f;
--background-secondary: #fdfdfd; --background-secondary: #fdfdfd;
--background-tertiary: #f0f0f0;
--text-color: #363131; --text-color: #363131;
--link-visited: #460b0b; --link-visited: #460b0b;
--extra-color: #efe4e4; --extra-color: #efe4e4;
@ -84,6 +85,7 @@ body {
--secondary-accent: #c99192; --secondary-accent: #c99192;
--background-primary: #34313a; --background-primary: #34313a;
--background-secondary: #3c3a44; --background-secondary: #3c3a44;
--background-tertiary: #2e2c34;
--border-color: #515860; --border-color: #515860;
--text-color: #fbeded; --text-color: #fbeded;
--link-visited: #ad1616; --link-visited: #ad1616;
@ -170,7 +172,7 @@ footer {
} }
.gallery-img { .gallery-img {
border: 1px black solid; border: 1px inset black;
border-radius: 5px; border-radius: 5px;
} }
@ -193,11 +195,16 @@ figure figcaption {
.gallery-con { .gallery-con {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
border: 1px solid gray; border: 1px dashed gray;
border-radius: 5px;
background-color: var(--background-tertiary);
} }
.generic-con { .generic-con {
border: 1px solid gray; border: 1px dashed gray;
border-radius: 5px;
background-color: var(--background-tertiary);
padding: 20px; padding: 20px;
} }
@ -211,6 +218,8 @@ figure figcaption {
height: auto; height: auto;
width: 300px; width: 300px;
margin-bottom: 10px; margin-bottom: 10px;
border: 1px inset black;
border-radius: 3px;
} }
.grid { .grid {

View file

@ -19,8 +19,8 @@
<a href="{{ $path }}" aria-label="Click to view details"> <a href="{{ $path }}" aria-label="Click to view details">
{{ $title := .title }} {{ $title := .title }}
{{ with resources.Get (printf "art-thumbs/%s" .filename) }} {{ with resources.Get (printf "art/%s" .filename) }}
<img class="gallery-img" alt="{{ $title }}" width="128" height="128" src="{{ .Permalink }}"/> <img class="gallery-img" style="height: 256px; width: auto;" alt="{{ $title }}" width="{{ .Width }}" height="{{ .Height }}" src="{{ .Permalink }}"/>
{{ else }} {{ else }}
<p>Thumbnail not found!</p> <p>Thumbnail not found!</p>
{{ end }} {{ end }}
@ -28,7 +28,7 @@
<figcaption> <figcaption>
{{ with .title }} {{ with .title }}
"{{ . }}" <i>"{{ . }}"</i>
{{ end }} {{ end }}
</figcaption> </figcaption>