blag/static/css/custom.css
Chris Hodapp 94310f0f9d Migrate *all* photos to the cavelab setup. Header/footer still broken.
Completely remove the other image gallery themes.

I now have: image galleries, with lightboxes, and captions, with links
in them (and to Hugo pages), with full images lazy-loaded, with all
thumbnails auto-generated, and the ability to do this on both
individual images *and* with globbing, from page resources, from this
page or any specified one.  See cavelab_notes.txt.

It also has the ability to use Exif data of the photo - if I
preprocess it into a JSON file.

Known issues:
- The theme header/footer are now being overridden.  I am working to
  fix this first.
- I am missing some kind of fonts/images needed for the lightbox to
  show up properly.
2022-09-04 12:31:08 -04:00

29 lines
612 B
CSS

pre.result {
background-color: #DDD;
}
/*
code {
background-color: #EEE
}
*/
/* From https://blog.cavelab.dev/2021/04/photo-gallery-posts
and then run through sass: */
.photo-container {
display: flex;
flex-wrap: wrap;
margin: 0 -40px; }
@media (max-width: 899px) {
.photo-container {
margin: 0; } }
.photo-container img {
height: auto; /* CMH: needed to add this manually */
border-radius: 8px; }
.photo-container .photo-item {
padding: 2px;
width: 50%; }
@media (max-width: 683px) {
.photo-container .photo-item {
width: 100%; } }