From 5d218fa9bf7ca7004e0f7b10ba78e093a5ee4a4e Mon Sep 17 00:00:00 2001 From: sujaykundu777 Date: Wed, 12 Feb 2020 21:29:52 +0530 Subject: [PATCH] changes in nav --- _includes/header.html | 2 +- _layouts/home.html | 2 +- assets/css/main.scss | 25 ++++++++++++++----------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 9b9c87499..92c33999b 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -66,7 +66,7 @@

{{ site.title }}

- diff --git a/_layouts/home.html b/_layouts/home.html index 4f4da709f..bac267ff0 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -18,7 +18,7 @@

Projects


{% for project in site.author_project_details %} {% if project.visibility == true %} -
+
diff --git a/assets/css/main.scss b/assets/css/main.scss index e905ae347..dc5f62fac 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -189,6 +189,9 @@ header { width: 300px; height: 200px; } + #project-card{ + margin-top:30px; + } } @@ -271,8 +274,8 @@ footer { .switch { position: relative; - width: 130px; - height: 50px; + width: 80px; + height: 38px; margin: 0px; appearance: none; -webkit-appearance: none; @@ -297,13 +300,13 @@ footer { .switch:after { content: ''; - width: 46px; - height: 46px; - border-radius: 50%; - background-color: #fff; - position: absolute; - left: 2px; - top: 2px; + display: none; + height: 37px; + border-radius: 20px; + background-color: #ffffff; + position: absolute; + left: -43px; + top: 1px; transform: translateX(0px); animation: off .7s forwards cubic-bezier(.8, .5, .2, 1.4); box-shadow: inset 5px -5px 4px rgba(53, 53, 53, 0.3); @@ -408,8 +411,8 @@ footer { height: 15px; border-radius: 50%; position: absolute; - left: 15px; - top: 5px; + left: -30px; + top: 11px; filter: blur(1px); background-color: #f5daaa; box-shadow: 0px 0px 10px #f5deb4,