mirror of
https://github.com/UofCBaja/BajaUofCWebsite.git
synced 2025-07-07 11:47:14 -06:00
added header: css started to make dropdowns better, now using Link
This commit is contained in:
@ -5,6 +5,12 @@ header {
|
||||
margin-top: 0%;
|
||||
}
|
||||
|
||||
header a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0px;
|
||||
height: 10%;
|
||||
@ -15,14 +21,41 @@ figure {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/* not sure what these two are for */
|
||||
#title {
|
||||
background-color: blueviolet;
|
||||
nav a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.banner {
|
||||
|
||||
nav a li {
|
||||
background-color: none;
|
||||
padding: 1rem;
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
background-color: aqua;
|
||||
list-style: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.Hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.DropDown {
|
||||
cursor: default;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* makes dropdown visible */
|
||||
.DropDown:hover .Hide {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* not sure what these two are for */
|
||||
|
Reference in New Issue
Block a user