From 39cdfe23958c7f5f477e9ccccc5823a37c83d365 Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Thu, 24 Jan 2019 11:17:42 -0500 Subject: [PATCH] nav --- assets/css/style.scss | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/assets/css/style.scss b/assets/css/style.scss index 325eb0f..75c85de 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -3,6 +3,33 @@ @import "{{ site.theme }}"; +.topnav { + background-color: #333; + overflow: hidden; +} + +/* Style the links inside the navigation bar */ +.topnav a { + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} + +/* Change the color of links on hover */ +.topnav a:hover { + background-color: #ddd; + color: black; +} + +/* Add a color to the active/current link */ +.topnav a.active { + background-color: #4CAF50; + color: white; +} + .site-footer { width: 100%; border-top: 1px solid gray;