visual tweaks
This commit is contained in:
parent
6cd2e52408
commit
cd47a82ecf
3 changed files with 17 additions and 5 deletions
|
@ -9,13 +9,17 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
/ {{album_dir.path.name}}
|
/ {{album_dir.path.name}}
|
||||||
</h1>
|
</h1>
|
||||||
|
<hr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if album_dir.description %}
|
{% if album_dir.description %}
|
||||||
|
<div class="caption">
|
||||||
{{ album_dir.description | safe }}
|
{{ album_dir.description | safe }}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if album_dir.children %}
|
{% if album_dir.children %}
|
||||||
|
<h2>Albums</h2>
|
||||||
<div id="album-children">
|
<div id="album-children">
|
||||||
{% for child in album_dir.children %}
|
{% for child in album_dir.children %}
|
||||||
<div class="album">
|
<div class="album">
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="photo-description">
|
<div id="photo-description" class="caption">
|
||||||
{% if image_path.description %}
|
{% if image_path.description %}
|
||||||
{{ image_path.description | safe }}
|
{{ image_path.description | safe }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -22,15 +22,14 @@ a {
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
max-width: 1200px;
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content > * {
|
#content > * {
|
||||||
width: fit-content;
|
|
||||||
max-width: 1500px;
|
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
|
@ -47,6 +46,9 @@ ul {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
padding: 0.75em;
|
padding: 0.75em;
|
||||||
background-color: lightgrey;
|
background-color: lightgrey;
|
||||||
|
height: min-content;
|
||||||
|
border: thin solid black;
|
||||||
|
box-shadow: 0.25em 0.25em #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
#album-photos {
|
#album-photos {
|
||||||
|
@ -81,6 +83,12 @@ ul {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.caption {
|
||||||
|
max-width: 700px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.arrow {
|
.arrow {
|
||||||
border: solid black;
|
border: solid black;
|
||||||
border-width: 0 3px 3px 0;
|
border-width: 0 3px 3px 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue