|
|
Line 63: |
Line 63: |
| | | |
| <style> | | <style> |
− | #socialmedia {
| |
− | float: right;
| |
− | }
| |
| | | |
− | /* Style The Dropdown Button */
| |
− | .dropbtn {
| |
− | background-color: #f2f2f2;
| |
− | color: Black;
| |
− | padding: 14px;
| |
− | font-size: 20px;
| |
− | border: none;
| |
− | cursor: pointer;
| |
− | }
| |
− |
| |
− | /* The container <div> - needed to position the dropdown content */
| |
− | .dropdown {
| |
− | position: center;
| |
− | display: inline-block;
| |
− | }
| |
− |
| |
− | /* Dropdown Content (Hidden by Default) */
| |
− | .dropdown-content {
| |
− | display: none;
| |
− | position: absolute;
| |
− | background-color: #f9f9f9;
| |
− | min-width: 160px;
| |
− | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
| |
− | z-index: 100;
| |
− | }
| |
− |
| |
− | /* Links inside the dropdown */
| |
− | .dropdown-content a {
| |
− | color: black;
| |
− | padding: 18px;
| |
− | text-decoration: none;
| |
− | display: block;
| |
− | font-size: 20px;
| |
− | }
| |
− |
| |
− | /* Change color of dropdown links on hover */
| |
− | .dropdown-content a:hover {background-color: #d9d9d9}
| |
− |
| |
− | /* Show the dropdown menu on hover */
| |
− | .dropdown:hover .dropdown-content {
| |
− | display: block;
| |
− | }
| |
− |
| |
− | /* Change the background color of the dropdown button when the dropdown content is shown */
| |
− | .dropdown:hover .dropbtn {
| |
− | background-color: #d9d9d9;
| |
− | }
| |
− |
| |
− | ul {
| |
− | list-style-type: none;
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | overflow: hidden;
| |
− | border: 1px solid #e7e7e7;
| |
− | background-color: #f2f2f2;
| |
− | }
| |
− |
| |
− | li {
| |
− | float: center;
| |
− | padding-left: 50px;
| |
− | }
| |
− |
| |
− | li a {
| |
− | display: block;
| |
− | color: #4d4d4d;
| |
− | text-align: center;
| |
− | padding: 20px 30px;
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− | li a:hover:not(.active) {
| |
− | background-color: #ddd;
| |
− | }
| |
− |
| |
− | li a.active {
| |
− | color: #4d4d4d;
| |
− | background-color: #d9d9d9;
| |
− | }
| |
| | | |
| </style> | | </style> |