Adjust styles

This commit is contained in:
Fred Boniface 2022-10-07 20:45:40 +01:00
parent c2b65fe92e
commit 0fb74407b2
1 changed files with 7 additions and 2 deletions

View File

@ -20,7 +20,10 @@ body {
.topnav {
background-color: #333;
overflow: hidden;
margin: 0px;
position: absolute;
width: 100%;
left: 0;
top: 0;
}
/* Style the links inside the navigation bar */
@ -108,7 +111,9 @@ body {
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive {
position: relative;
}
.topnav.responsive a.icon {
position: absolute;
right: 0;