Line 13: | Line 13: | ||
#topnav { | #topnav { | ||
display: table; | display: table; | ||
− | |||
width: 100%; | width: 100%; | ||
background-color: #002855; | background-color: #002855; | ||
margin-left: 0; | margin-left: 0; | ||
− | |||
} | } | ||
#topnav li { | #topnav li { | ||
display: table-cell; | display: table-cell; | ||
− | |||
width: 16.666666667%; | width: 16.666666667%; | ||
− | line-height: | + | line-height: 50px; |
text-align: center; | text-align: center; | ||
− | |||
} | } | ||
#topnav a { | #topnav a { | ||
text-decoration: none; | text-decoration: none; | ||
color: white; | color: white; | ||
− | + | } | |
+ | #topnav li a { | ||
+ | display: block; | ||
+ | } | ||
+ | #topnav li a:hover { | ||
+ | background-color: #123b68; | ||
} | } | ||
</style> | </style> |
Revision as of 23:15, 24 July 2018