Difference between revisions of "Template:William and Mary/NAV BAR"

Line 122: Line 122:
 
     } //end .navbar-nav
 
     } //end .navbar-nav
  
 +
}
 +
<!-- this is the dropdown code -->
 +
.dropdown {
 +
    position: relative;
 +
    display: inline-block;
 +
}
 +
 +
.dropdown-content {
 +
    display: none;
 +
    position: absolute;
 +
    background-color: #120971;
 +
    min-width: 120px;
 +
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 +
    z-index: 1;
 +
}
 +
 +
.dropdown-content a {
 +
    color: white;
 +
    padding: 10px 13px;
 +
    text-decoration: none;
 +
    display: block;
 +
    font-size: 13px;
 +
}
 +
 +
.dropdown-content a:hover {
 +
background-color: #C0C0C4;
 +
}
 +
 +
.dropdown:hover .dropdown-content {
 +
    display: block;
 +
}
 +
 +
.nav.navbar-nav.navbar-right li a {
 +
    color: #F6F6F7;
 +
font-family:Helvetica;
 +
}
 +
 +
.nav.navbar-nav.navbar-right li a:hover {
 +
    text-decoration: underline;
 +
    color: black;
 
}
 
}
 
</style>
 
</style>

Revision as of 16:11, 10 July 2018