From 644ad763de5a687739633468ccfcb0725f31069e Mon Sep 17 00:00:00 2001 From: "jacek.lebioda" <jacek.lebioda@uni.lu> Date: Wed, 26 Jun 2019 11:50:27 +0200 Subject: [PATCH] Improving layout without left-column --- _sass/elixir/_base.scss | 5 +++-- _sass/elixir/_layout.scss | 9 +++++++-- elixir-theme.gemspec | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/_sass/elixir/_base.scss b/_sass/elixir/_base.scss index da4c25d..9630640 100644 --- a/_sass/elixir/_base.scss +++ b/_sass/elixir/_base.scss @@ -4,6 +4,7 @@ $COLOR_BACKGROUND_HEADER: #023452; $FONT_DEFAULT: 'Lato', Verdana, Helvetica, sans-serif; $PADDING_PAGE_LEFT: 13%; +$PADDING_PAGE_LEFT_NO_COLUMN: 21%; $WIDTH_CONTENT: 74%; @@ -11,5 +12,5 @@ body { -webkit-font-smoothing: antialiased; font-family: $FONT_DEFAULT; font-variant-ligatures: none; - font-size: 13px; -} \ No newline at end of file + font-size: 16px; +} diff --git a/_sass/elixir/_layout.scss b/_sass/elixir/_layout.scss index 88a8a9c..5532a3c 100644 --- a/_sass/elixir/_layout.scss +++ b/_sass/elixir/_layout.scss @@ -55,6 +55,10 @@ margin: 0 0 12px; } + article.one_column { + padding-left: $PADDING_PAGE_LEFT_NO_COLUMN; + } + article { padding-left: $PADDING_PAGE_LEFT; padding-bottom: 50px; @@ -125,7 +129,7 @@ h3 { border-bottom: 1px solid #848484; - font-size: 1rem; + font-size: 1.15rem; color: #ebebeb; transition: color 0.15s; } @@ -142,7 +146,7 @@ a { display: inline-block; zoom: 1; - font-size: 11px; + font-size: 14px; line-height: 1.1; color: #ebebeb; transition: color 0.15s; @@ -198,6 +202,7 @@ #address { color: #888; font-size: 11px; + padding-top: 20px; } } } diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index 189ad74..e61d2f7 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.1.3" + spec.version = "0.1.4" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"] -- GitLab