diff options
-rw-r--r-- | styles.css | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -44,7 +44,7 @@ html, body{ vertical-align: middle; } -.topnav { +.topnav{ /* make the navbar follow the scroll */ position: fixed; top: 0; @@ -57,7 +57,8 @@ html, body{ overflow: hidden; width: 100%; } - .downnav { + +.downnav{ /* make the navbar follow the scroll */ position: fixed; bottom: 0; @@ -65,7 +66,6 @@ html, body{ width: 100%; margin: auto; overflow: hidden; - /* Delete these 4 lines after test */ border: 1px solid var(--background-color); box-shadow: 0px 0px 6px var(--background-color); z-index: 1; @@ -77,6 +77,7 @@ html, body{ font-family: 'fira sans', serif; color: var(--title-color); } + .topnav a{ float: left; color: #f2f2f2; @@ -85,7 +86,7 @@ html, body{ text-decoration: none; font-family: "google sans"; font-size: 15px; - } +} .topnav a:hover{ background-color: #ddd; @@ -262,10 +263,7 @@ color: var(--title-color); width: 50%; margin-left: 25%; transform: scale(0.75); - margin-bottom: -60px - - } html{ |