diff --git a/photojawn/skel/_templates/album.html b/photojawn/skel/_templates/album.html
index 2b5e529..cf4a112 100644
--- a/photojawn/skel/_templates/album.html
+++ b/photojawn/skel/_templates/album.html
@@ -9,13 +9,17 @@
{% endfor %}
/ {{album_dir.path.name}}
+
{% endif %}
{% if album_dir.description %}
+
{{ album_dir.description | safe }}
+
{% endif %}
{% if album_dir.children %}
+ Albums
{% for child in album_dir.children %}
diff --git a/photojawn/skel/_templates/photo.html b/photojawn/skel/_templates/photo.html
index 8c837d6..9f4198e 100644
--- a/photojawn/skel/_templates/photo.html
+++ b/photojawn/skel/_templates/photo.html
@@ -42,7 +42,7 @@
-
+
{% if image_path.description %}
{{ image_path.description | safe }}
{% endif %}
diff --git a/photojawn/skel/static/index.css b/photojawn/skel/static/index.css
index c15e4a5..f476fe1 100644
--- a/photojawn/skel/static/index.css
+++ b/photojawn/skel/static/index.css
@@ -22,15 +22,14 @@ a {
#content {
text-align: center;
+ max-width: 1200px;
margin: 0.5em;
+ margin-left: auto;
+ margin-right: auto;
}
#content > * {
- width: fit-content;
- max-width: 1500px;
margin-top: 1em;
- margin-left: auto;
- margin-right: auto;
}
ul {
@@ -47,6 +46,9 @@ ul {
margin: 1em;
padding: 0.75em;
background-color: lightgrey;
+ height: min-content;
+ border: thin solid black;
+ box-shadow: 0.25em 0.25em #ccc;
}
#album-photos {
@@ -81,6 +83,12 @@ ul {
height: auto;
}
+.caption {
+ max-width: 700px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
.arrow {
border: solid black;
border-width: 0 3px 3px 0;