|
|
(4 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | h1 {
| |
− | text-align: center;
| |
− | font-family: sans-serif;
| |
− | color: cd1c17;
| |
− | }
| |
| | | |
− | p {
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | ul {
| |
− | list-style-type: none;
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | overflow: hidden;
| |
− | background-color: 1780c9;
| |
− | font-family: sans-serif;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | li {float: left;}
| |
− |
| |
− | li a, .dropbtn {
| |
− |
| |
− | display: inline-block;
| |
− | color: white; /*Navbar text colour*/
| |
− | text-align: center;
| |
− | padding: 25px 16px;
| |
− | font-family: sans-serif;
| |
− | text-decoration: none;
| |
− | font-size: 18;
| |
− | }
| |
− |
| |
− | li a:hover, .dropdown:hover .dropbtn {
| |
− | background-color: 005188;
| |
− | }
| |
− |
| |
− | li.dropdown {
| |
− | display: inline-block;
| |
− | }
| |
− |
| |
− | .dropdown-content {
| |
− |
| |
− | display: none;
| |
− | position: absolute;
| |
− | background-color: 1780c9;
| |
− | min-width: 160px;
| |
− | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
| |
− | z-index: 1;
| |
− | }
| |
− |
| |
− | .dropdown-content a {
| |
− | border-bottom-style: solid;
| |
− | border-bottom-width: thin;
| |
− | color: white; /*Dropdown text colour*/
| |
− | padding: 12px 16px;
| |
− | text-decoration: none;
| |
− | display: block;
| |
− | text-align: left;
| |
− | }
| |
− |
| |
− | .dropdown-content a:hover {background-color: 005188}
| |
− |
| |
− | .dropdown:hover .dropdown-content {
| |
− | display: block;
| |
− | }
| |
− |
| |
− | div.logo {
| |
− | max-height: 70px;
| |
− | }
| |
− |
| |
− | img.logo{
| |
− | height: 100%;
| |
− | width: auto;
| |
− | max-height: auto:
| |
− | }
| |