diff --git a/static/css/style.css b/static/css/style.css index ab37667..ff1b104 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -19,7 +19,15 @@ body { height: 100%; } -.gallery-square { +.covers-1 .gallery-square { + width: 47%; + height: 100%; + margin: auto; + padding-bottom: 47%; + position: relative; +} + +.covers-2 .gallery-square { width: 47%; height: 100%; float: left; @@ -28,6 +36,15 @@ body { position: relative; } +.covers-3 .gallery-square { + width: 33.333333333%; + height: 100%; + margin: 0; + padding-bottom: 47%; + position: relative; + display: inline-block; +} + .gallery-square > a { position: absolute; top: 0px; diff --git a/templates/index.html b/templates/index.html index b856f2a..778f1af 100644 --- a/templates/index.html +++ b/templates/index.html @@ -19,20 +19,20 @@