From c7b17b67650585156172ef5e1f581f5d60b98b94 Mon Sep 17 00:00:00 2001 From: valitovgaziz Date: Mon, 11 Aug 2025 07:57:45 +0500 Subject: [PATCH] modified: begushiybashkir/src/index.html modified: begushiybashkir/src/styles/mobileStyle.css modified: begushiybashkir/src/styles/style.css last commit --- begushiybashkir/src/index.html | 2 +- begushiybashkir/src/styles/mobileStyle.css | 5 ++++- begushiybashkir/src/styles/style.css | 6 ++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/begushiybashkir/src/index.html b/begushiybashkir/src/index.html index 7049794..409506b 100644 --- a/begushiybashkir/src/index.html +++ b/begushiybashkir/src/index.html @@ -15,7 +15,7 @@ BegushiyBashkirClub'sPhoto diff --git a/begushiybashkir/src/styles/mobileStyle.css b/begushiybashkir/src/styles/mobileStyle.css index dfb3fa9..c9c8463 100644 --- a/begushiybashkir/src/styles/mobileStyle.css +++ b/begushiybashkir/src/styles/mobileStyle.css @@ -1,4 +1,7 @@ /* Мобильная версия (телефоны) */ @media only screen and (max-width: 600px) { - + body { + margin: 0; + padding: 0; + } } \ No newline at end of file diff --git a/begushiybashkir/src/styles/style.css b/begushiybashkir/src/styles/style.css index 2b4aceb..1f39808 100644 --- a/begushiybashkir/src/styles/style.css +++ b/begushiybashkir/src/styles/style.css @@ -10,6 +10,7 @@ html { justify-content: center; align-items: center; flex-direction: column; + min-width: 320px; } body { @@ -28,15 +29,16 @@ header { .header_img { position: relative; width: 100%; + min-height: 200px; height: auto; } .text_card { position: absolute; /* накладываем элемент поверх */ - bottom: 0; top: 0; left: 0; - right: 0; + width: 100%; + min-height: 200px; background-color: rgba(0, 255, 0, 0.5); }