From 021baf140293e2465620d2fb17fb24629e89977e Mon Sep 17 00:00:00 2001 From: Shiba Date: Mon, 16 Oct 2023 20:18:58 +0530 Subject: [PATCH] gallery update --- index.html | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++ pics/1.jpg | Bin 0 -> 2217541 bytes pics/2.jpg | Bin 0 -> 1246772 bytes pics/3.jpg | Bin 0 -> 1049656 bytes pics/4.jpg | Bin 0 -> 867745 bytes pics/5.jpg | Bin 0 -> 4959635 bytes 6 files changed, 91 insertions(+) create mode 100644 pics/1.jpg create mode 100644 pics/2.jpg create mode 100644 pics/3.jpg create mode 100644 pics/4.jpg create mode 100644 pics/5.jpg diff --git a/index.html b/index.html index 741a19b..f3ec772 100644 --- a/index.html +++ b/index.html @@ -329,6 +329,55 @@ flex-wrap: wrap; gap: 20px; } + + /* shibams code */ + div.gallery { + border: 1px solid #ccc; +} + +div.gallery:hover { + border: 1px solid #777; +} + +div.gallery img { + width: 100%; + height: auto; +} + +div.desc { + padding: 15px; + text-align: center; +} + +* { + box-sizing: border-box; +} + +.responsive { + padding: 0 6px; + float: left; + width: 24.99999%; +} + +@media only screen and (max-width: 700px) { + .responsive { + width: 49.99999%; + margin: 6px 0; + } +} + +@media only screen and (max-width: 500px) { + .responsive { + width: 100%; + } +} + +.clearfix:after { + content: ""; + display: table; + clear: both; +} +