From 2208b43baea9938645dab5a3efed8284fc1d2d8d Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 11 Nov 2019 23:02:38 +0800 Subject: [PATCH] Redesign sidebar for xlarge screens. Screen width greater than FHD. --- _data/label.yml | 10 +-- _includes/sidebar.html | 28 ++++--- assets/css/_src/main.scss | 156 +++++++++++++++++++++++++++++++++----- 3 files changed, 157 insertions(+), 37 deletions(-) diff --git a/_data/label.yml b/_data/label.yml index a53c2d9..d4305db 100644 --- a/_data/label.yml +++ b/_data/label.yml @@ -3,11 +3,11 @@ # MIT Licensed tabs: - - { name: "Home" } - - { name: "Categories", path: tabs, url: categories } - - { name: "Tags", path: tabs, url: tags } - - { name: "Archives", path: tabs, url: archives } - - { name: "About", path: tabs, url: about } + - { name: "Home", icon: 'fas fa-home' } + - { name: "Categories", path: tabs, url: categories, icon: 'fas fa-stream' } + - { name: "Tags", path: tabs, url: tags, icon: 'fas fa-tags' } + - { name: "Archives", path: tabs, url: archives, icon: 'fas fa-archive'} + - { name: "About", path: tabs, url: about, icon: 'fas fa-info'} panel: lastmod: "Recent Update" diff --git a/_includes/sidebar.html b/_includes/sidebar.html index ad5a202..b9ceaa1 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -5,8 +5,8 @@ -->