}
div.gallery {
- display: block;
- text-align: center;
+ display: flex; flex-direction: row; flex-wrap: wrap;
+ align-items: start; justify-content: space-evenly;
}
-div.pic {
+figure.thumb {
display: inline-block;
vertical-align: top;
- width: 228px;
margin: 1em;
}
+a.thumb:link { display: inline-block; }
+img.thumb { object-fit: contain; }
-div.pic a:link { display: inline-block; }
-
-img.thumb {
- width: 228px; height: 228px;
- object-fit: contain;
-}
+figure.bigthumb { width: 228px; }
+img.bigthumb { width: 228px; height: 228px; }
div.comment {
border: thin black solid;
margin-top: 2ex; margin-bottom: 2ex;
}
-div.caption {
- display: block;
- width: 228px;
- white-space: normal;
-}
-div.caption span.name { font-family: sans-serif; }
-div.caption span.comment { font-style: italic; margin-inline-start: 1em; }
+figure.thumb figcaption { display: block; }
+figcaption { text-align: center; }
+figcaption span.name { font-family: sans-serif; }
+figcaption span.comment { font-style: italic; margin-inline-start: 1em; }
div.viewnav {
flex-grow: 1; flex-basis: 0;
background-color: #0006;
min-width: 1em;
text-align: center;
- min-height: 3.5ex;
+ min-height: 3ex;
}
a.view {
flex-grow: 1; flex-basis: 0;
}
div.thumbstrip {
- width: 100%;
+ max-width: 100%;
overflow-x: auto;
text-align: center;
- display: flex; flex-direction: row;
+ display: flex; flex-direction: row; align-self: center;
}
/*----- That's all, folks -------------------------------------------------*/