From 65046b882ff4e8a17e1feb926e7f1f99d690b701 Mon Sep 17 00:00:00 2001 From: deepjyoti30 Date: Tue, 12 May 2020 20:16:58 +0530 Subject: [PATCH] Added some different effects with the colors --- css/main.css | 10 ++++++++-- index.html | 8 ++++---- scss/main.scss | 33 +++++++++++++++++++++++++++++---- 3 files changed, 41 insertions(+), 10 deletions(-) diff --git a/css/main.css b/css/main.css index 6a043a3..31d6054 100644 --- a/css/main.css +++ b/css/main.css @@ -47,8 +47,6 @@ body { .main #other-content .sqr:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); } - .main #other-content .sqr h4 { - color: #4DD0E1; } .main #other-content .sqr a { color: #9E9E9E; font-size: 16px; @@ -58,3 +56,11 @@ body { color: #fff; text-decoration: none; transition: .1s ease-in; } + .main #other-content .media h4, .main #other-content .media a:hover { + color: #4DD0E1; } + .main #other-content .work h4, .main #other-content .work a:hover { + color: #F06292; } + .main #other-content .social h4, .main #other-content .social a:hover { + color: #FFF176; } + .main #other-content .others h4, .main #other-content .others a:hover { + color: #A1887F; } diff --git a/index.html b/index.html index 7e3c6b8..b625594 100644 --- a/index.html +++ b/index.html @@ -16,28 +16,28 @@
-
+ -
+ -
+ -
+

Others

neo4j local rarbg diff --git a/scss/main.scss b/scss/main.scss index f0b4cd7..b5e8cbb 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -1,6 +1,10 @@ $background: #263238; $foreground: #fff; @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); +$media: #4DD0E1; +$work: #F06292; +$social: #FFF176; +$others: #A1887F; .roboto { font-family: 'Roboto', sans-serif; @@ -65,10 +69,6 @@ body { transition: all 0.3s cubic-bezier(.25,.8,.25,1); } - h4 { - color: #4DD0E1; - } - a { color: #9E9E9E; font-size: 16px; @@ -82,5 +82,30 @@ body { } } } + + .media { + h4, a:hover { + color: $media; + } + } + + .work { + h4, a:hover { + color: $work; + } + } + + .social { + h4, a:hover { + color: $social; + } + + } + + .others { + h4, a:hover { + color: $others; + } + } } } \ No newline at end of file