From a72cc0672a64f4d29d421c118ec5b3914dedeabe Mon Sep 17 00:00:00 2001 From: midblep Date: Mon, 21 Jun 2021 22:34:32 +0200 Subject: [PATCH] mobile push --- styles/Index.module.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/styles/Index.module.css b/styles/Index.module.css index 58faf2d..951159e 100644 --- a/styles/Index.module.css +++ b/styles/Index.module.css @@ -87,8 +87,23 @@ .gallery > img { width: 100%; + height: auto; } .gallery > img:hover { transform: scale(2); +} + +@media(max-width:768px) { + .page { + width: 100%; + } + + .content { + margin: 0 10px; + } + + .main { + flex-direction: column; + } } \ No newline at end of file