Skip to content

Commit

Permalink
πŸš€ Release 1.4.1 - Minor CSS Updates for Nav Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradSollitt committed Sep 2, 2020
1 parent f46c18f commit 2ba34e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

FastSitePHP uses [Semantic Versioning](https://docs.npmjs.com/about-semantic-versioning).

## 1.4.1 (September 2, 2020)

* Minor CSS Updates for Nav Menu
* Desktop - Padding is consistant on active and regular menu
* Desktop - Top margin update by several pixels
* Mobile - Easier editing of CSS for padding

## 1.4.0 (August 7, 2020)

* Added a default `CSP (Content-Security-Policy)` Response Header for HTML Responses
Expand Down
4 changes: 2 additions & 2 deletions public/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ section { background-color: white; }

nav.navbar { text-align:center; }
.navbar-nav { margin:auto; font-weight:bold; }
.navbar-nav .nav-link { padding:.5em 2em; color:white; margin:auto 5px; }
.nav-item.active .nav-link { background-color:var(--dark-color); box-shadow:0 0 1px 2px rgba(0,0,0,.5); padding:10px 20px; }
.navbar-nav .nav-link { padding:.5em 2em; color:white; margin:.2em .5em 0; }
.desktop-nav .nav-item.active .nav-link { background-color:var(--dark-color); box-shadow:0 0 1px 2px rgba(0,0,0,.5); }
.nav-item:not(.active):hover .nav-link { background-color:var(--light-color); color:var(--main-color); }
.nav-item.active:hover .nav-link { color:var(--light-color); }
.nav.flex-column .nav-item a {
Expand Down

0 comments on commit 2ba34e9

Please sign in to comment.