From f2d3fc6fa4802fda6e6946e2c9a37b9694228e80 Mon Sep 17 00:00:00 2001 From: bartcallant Date: Sat, 18 Jul 2015 23:23:43 +0200 Subject: [PATCH] Color Fixes --- _config.yml | 1 + _includes/css/main.css | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 6d4793f..619e469 100644 --- a/_config.yml +++ b/_config.yml @@ -11,6 +11,7 @@ contact: static # Color settings (hex-codes without the leading hash-tag) color: primary: 18bc9c #80B3FF + primary-rgb: "24,288,156" #"128,179,255" secondary: 2c3e50 #FD6E8A secondary-dark: 233140 #A2122F diff --git a/_includes/css/main.css b/_includes/css/main.css index 20d6cb4..2da2e36 100644 --- a/_includes/css/main.css +++ b/_includes/css/main.css @@ -211,7 +211,7 @@ section.success { width: 100%; height: 100%; opacity: 0; - background: rgba(24,188,156,.9); + background: rgba({{ site.color.primary-rgb }},.9); -webkit-transition: all ease .5s; -moz-transition: all ease .5s; transition: all ease .5s; @@ -442,4 +442,8 @@ footer .footer-below { -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); +} + +.navbar-nav>.active>a { + background-color: #{{ site.color.secondary-dark }} !important; } \ No newline at end of file