diff --git a/index.css b/index.css index 30d4507..1fdbf8d 100644 --- a/index.css +++ b/index.css @@ -34,38 +34,45 @@ color: black; } -/* 4 images part */ -.images-container{ +.images-container { width: 90%; - height:20%; - margin:auto; + margin: auto; overflow: hidden; +} + +.half-size { + width: 43%; + height: 140pt; + float: left; + text-align: center; + line-height: 140pt; + margin: 1%; +} + +.quarter-size { + width: 21%; + height: 140pt; + float: left; + text-align: center; + line-height: 140pt; + margin: 1%; +} + +.image-column-container { + width: 24%; + height: 140pt; + float: left; +} + +.image-column-container > div { + width: 100%; + height: 48%; margin: 1%; -} - -.images-container .half-size{ - float: left; - width: 50%; - height: 100%; -} - -.images-container .quarter-size{ - float: left; - width: 25%; - height: 100%; -} - -.images-container .image-column-container{ - float: left; - width: 25%; - height: 100%; + text-align: center; + line-height: 96px; + margin-bottom: 4%; } .images-container img{ - width: 100%; - height: 100%; -} - -.image-column-container div{ - height: 50%; + width: 38vmax; } \ No newline at end of file diff --git a/index.html b/index.html index 9bcedb7..0e32704 100644 --- a/index.html +++ b/index.html @@ -32,6 +32,7 @@ +