test
This commit is contained in:
parent
91993cf685
commit
ec6d34d95b
3 changed files with 64 additions and 18 deletions
41
includes/topnav.css
Normal file
41
includes/topnav.css
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* Style the navigation menu */
|
||||
.topnav {
|
||||
overflow: hidden;
|
||||
background-color: #333;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Hide the links inside the navigation menu (except for logo/home) */
|
||||
.topnav #myLinks {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Style navigation menu links */
|
||||
.topnav a {
|
||||
color: white;
|
||||
padding: 14px 16px;
|
||||
text-decoration: none;
|
||||
font-size: 17px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Style the hamburger menu */
|
||||
.topnav a.icon {
|
||||
background: black;
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* Add a grey background color on mouse-over */
|
||||
.topnav a:hover {
|
||||
background-color: #ddd;
|
||||
color: black;
|
||||
}
|
||||
|
||||
/* Style the active link (or home/logo) */
|
||||
.active {
|
||||
background-color: #04AA6D;
|
||||
color: white;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue