From ff8e13b5aff2f2678d591cbe39bc7489ae999410 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Mon, 14 Dec 2020 16:11:45 +0100 Subject: [PATCH] =?UTF-8?q?T=C5=99=C3=ADda=20pro=20dvou-sloupocv=C3=BD=20o?= =?UTF-8?q?bsah?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/_mobile.scss | 4 ++++ sass/style.scss | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/sass/_mobile.scss b/sass/_mobile.scss index f5b169e..1f1d392 100644 --- a/sass/_mobile.scss +++ b/sass/_mobile.scss @@ -71,4 +71,8 @@ body.index { } } +div.twocolumn { + grid-template-columns: 100%; +} + } diff --git a/sass/style.scss b/sass/style.scss index 05f1b38..3f98514 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -314,4 +314,12 @@ body.index { } } +div.twocolumn { + display: grid; + grid-template-columns: 1fr 1fr; + column-gap: 2em; + + img { width: 100%; } +} + @import "mobile";