diff options
author | Valentin Popov <info@valentineus.link> | 2019-05-03 03:02:31 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-05-03 03:02:31 +0300 |
commit | 5668edea38da9fd1cad629db9c768ff19e62e094 (patch) | |
tree | 80f9ecfb2ad32304c61d1f7aecae955d7cf4ecf2 /_scss/components/_core.scss | |
parent | 515a3ed0a74bdc10861c12f3798b19c3c9ff44f9 (diff) | |
download | popov.link-5668edea38da9fd1cad629db9c768ff19e62e094.tar.xz popov.link-5668edea38da9fd1cad629db9c768ff19e62e094.zip |
Have added new structure sites
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss/components/_core.scss')
-rw-r--r-- | _scss/components/_core.scss | 28 |
1 files changed, 26 insertions, 2 deletions
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%; + } } |