From b2fd7e03506cff798e48c3ad25296a8608faff60 Mon Sep 17 00:00:00 2001 From: Jacek Lebioda <jacek.lebioda@uni.lu> Date: Wed, 3 Jul 2019 15:50:59 +0200 Subject: [PATCH] Responsiveness of default layout --- _sass/elixir/_layout.scss | 16 +++++++++++++--- elixir-theme.gemspec | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/_sass/elixir/_layout.scss b/_sass/elixir/_layout.scss index d7005b3..f4036cc 100644 --- a/_sass/elixir/_layout.scss +++ b/_sass/elixir/_layout.scss @@ -77,15 +77,25 @@ } article { - padding-left: $PADDING_PAGE_LEFT; + @media only screen and (min-width: 1000px) { + padding-left: $PADDING_PAGE_LEFT; + width: $WIDTH_CONTENT; + flex-direction: row; + } + @media only screen and (max-width: 1000px) { + padding-left: 1%; + width: 98%; + flex-direction: column; + #left-column { + border-bottom: solid 1px #e6e6e6; + } + } padding-bottom: 50px; - width: $WIDTH_CONTENT; min-width: 400px; min-height: 400px; padding-right: 10px; margin: 0; display: flex; - flex-direction: row; #left-column { padding-top: 20px; diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index 7235d6b..98bec0f 100644 --- a/elixir-theme.gemspec +++ b/elixir-theme.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "elixir-theme" - spec.version = "0.2.2" + spec.version = "0.2.3" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"] -- GitLab