From 9ef1bfd517859ce94f4d67cc7744904fa6b17a77 Mon Sep 17 00:00:00 2001 From: Garrit Franke Date: Mon, 11 Apr 2022 17:09:33 +0200 Subject: [PATCH] feat(navbar): responsive actions --- Gemfile | 2 ++ Gemfile.lock | 4 +++- _includes/head.html | 3 --- _includes/header-custom.html | 24 ++++++++++++------------ _includes/menu.html | 8 ++++++++ _sass/layout.scss | 34 ++++++++++++++++++++++++++-------- _sass/responsive.scss | 13 +++++++++++++ css/main.scss | 21 +++++++++++---------- js/main.js | 10 +++++++--- 9 files changed, 82 insertions(+), 37 deletions(-) create mode 100644 _sass/responsive.scss diff --git a/Gemfile b/Gemfile index 2c43034..415e843 100644 --- a/Gemfile +++ b/Gemfile @@ -7,3 +7,5 @@ source "https://rubygems.org" gem "jekyll", "~> 4.0" gem "jekyll-paginate" gem "jekyll-feed" + +gem "webrick", "~> 1.7" diff --git a/Gemfile.lock b/Gemfile.lock index 8d2aa40..48ac909 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -59,6 +59,7 @@ GEM terminal-table (2.0.0) unicode-display_width (~> 1.1, >= 1.1.1) unicode-display_width (1.8.0) + webrick (1.7.0) PLATFORMS ruby @@ -67,6 +68,7 @@ DEPENDENCIES jekyll (~> 4.0) jekyll-feed jekyll-paginate + webrick (~> 1.7) BUNDLED WITH - 2.1.2 + 2.3.11 diff --git a/_includes/head.html b/_includes/head.html index 6edffb6..d433ae7 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -43,9 +43,6 @@ display: inline-block; width: 60px; height: 34px; - margin-top: 12px; - right: 90px; - float: right; } .switch input { diff --git a/_includes/header-custom.html b/_includes/header-custom.html index f387035..18fef9f 100644 --- a/_includes/header-custom.html +++ b/_includes/header-custom.html @@ -1,17 +1,17 @@