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