generated from inherentlee/11ty
art page structure
This commit is contained in:
1 parent
2c94330aad
commit
e817535bcb
9 files changed
+52
-1
No files matched your search
@@ -0,0 +1,9 @@
|
|||||||
|
<h2>{{ series.data.title }}</h2>
|
||||||
|
|
||||||
|
<div class="imgset">
|
||||||
|
{% for img in series.data.imgs %}
|
||||||
|
<img src="/img/{{ img.src }}" alt="{{ img.alt }}">
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ series.content | safe }}
|
||||||
+16
@@ -0,0 +1,16 @@
|
|||||||
|
h2 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imgset {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 1rem;
|
||||||
|
max-width: 100%;
|
||||||
|
flex-flow: row wrap;
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-height: 33vh;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-1
@@ -61,7 +61,7 @@ body {
|
|||||||
#content {
|
#content {
|
||||||
width: 65%;
|
width: 65%;
|
||||||
max-width: 1800px;
|
max-width: 1800px;
|
||||||
margin: 1rem auto;
|
margin: 1rem auto 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1100px) {
|
@media (max-width: 1100px) {
|
||||||
@@ -73,6 +73,7 @@ body {
|
|||||||
@media (max-width: 650px) {
|
@media (max-width: 650px) {
|
||||||
#content {
|
#content {
|
||||||
width: 92%;
|
width: 92%;
|
||||||
|
margin-block-end: 2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
export default {
|
||||||
|
permalink: false,
|
||||||
|
tags: [
|
||||||
|
"art"
|
||||||
|
],
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
title: understory tarot
|
||||||
|
imgs:
|
||||||
|
- src: tarot0.jpeg
|
||||||
|
alt: tarot
|
||||||
|
- src: tarot1.jpeg
|
||||||
|
alt: tarot
|
||||||
|
- src: tarot2.jpeg
|
||||||
|
alt: tarot
|
||||||
|
---
|
||||||
|
|
||||||
|
This is a test paragraph.
|
||||||
|
|
||||||
|
This is a second paragraph.
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 902 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 210 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
@@ -4,3 +4,8 @@ eleventyNavigation:
|
|||||||
key: art
|
key: art
|
||||||
order: 2
|
order: 2
|
||||||
---
|
---
|
||||||
|
{% css %}{% include "css/art.css" %}{% endcss %}
|
||||||
|
|
||||||
|
{% for series in collections["art"] %}
|
||||||
|
{% include "series.njk" %}
|
||||||
|
{% endfor %}
|
||||||
Reference in new issue
Block a user