Browse Source

improve look and feel

master
Nicolas Massé 6 years ago
parent
commit
0bc07c986c
  1. 9
      web/css/main.css

9
web/css/main.css

@ -26,12 +26,17 @@ body.album {
} }
.album li { .album li {
height: 20vh; /*
* Line height is expressed as a factor of the viewport width since
* we want to fit roughly the same amount of photos per line,
* independently of the user's device
*/
height: 13vw;
flex-grow: 0.5; flex-grow: 0.5;
list-style-type: none; list-style-type: none;
padding: 1px;
} }
.album li img, .album li video { .album li img, .album li video {
max-height: 100%; max-height: 100%;
min-width: 100%; min-width: 100%;

Loading…
Cancel
Save