From 5668edea38da9fd1cad629db9c768ff19e62e094 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 3 May 2019 04:02:31 +0400 Subject: Have added new structure sites Signed-off-by: Valentin Popov --- _scss/components/_core.scss | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to '_scss/components/_core.scss') diff --git a/_scss/components/_core.scss b/_scss/components/_core.scss index 56cbba4..1278e65 100644 --- a/_scss/components/_core.scss +++ b/_scss/components/_core.scss @@ -13,7 +13,31 @@ html { } body { + display: flex; + flex-direction: row; min-height: 100%; - padding-bottom: 20px; - padding-top: 100px; +} + +.container { + flex: 75%; + padding-right: 32px; +} + +.sidebar { + flex: 25%; +} + +@media (max-width: 684px) { + body { + flex-direction: column; + } + + .container { + flex: 100%; + padding-right: 0; + } + + .sidebar { + flex: 100%; + } } -- cgit v1.2.3