From d1eaf62ff0be31df95eb1fbc2ac62b26406038ee Mon Sep 17 00:00:00 2001 From: esefxdz Date: Sun, 28 Dec 2025 15:38:32 +0300 Subject: [PATCH] resize ahmet --- index.html | 3 ++- style/ahmet.css | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 style/ahmet.css diff --git a/index.html b/index.html index c166455..1260847 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ + Esef @@ -30,7 +31,7 @@
-
diff --git a/style/ahmet.css b/style/ahmet.css new file mode 100644 index 0000000..d62c223 --- /dev/null +++ b/style/ahmet.css @@ -0,0 +1,32 @@ +/* Specific button for Ahmet Museum */ +#ahmet-btn { + background-color: aliceblue; + color: #153dee; + border: none; + padding: 12px 24px; + border-radius: 8px; + cursor: pointer; + transition: box-shadow 0.3s ease; +} + +#ahmet-btn:hover { + box-shadow: 0 0 10px #02e3ff; +} + +/* The Grid Container */ +#ahmet-container { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + gap: 15px; /* Slightly bigger gap looks better with smaller photos */ + padding: 70px; +} + +/* The Images - RESIZED */ +#ahmet-container img { + width: 100%; + max-width: 250px; /* This is where the magic happens! */ + height: auto; + border-radius: 8px; + object-fit: cover; + margin: 0 auto; /* Centers the image in its grid cell */ +} \ No newline at end of file