Spaces:
Sleeping
Sleeping
body { | |
margin: 0; | |
font-family: Arial, Helvetica, sans-serif; | |
} | |
.topnav { | |
overflow: hidden; | |
background-color: black; | |
} | |
.topnav a { | |
float: left; | |
display: block; | |
color: #f2f2f2; | |
text-align: center; | |
padding: 14px 16px; | |
text-decoration: none; | |
font-size: 17px; | |
} | |
.topnav a:hover { | |
background-color: #ddd; | |
color: black; | |
} | |
.topnav a.active { | |
background-color: rgb(80, 61, 226); | |
color: white; | |
} | |
.topnav .icon { | |
display: none; | |
} | |
@media screen and (max-width: 600px) { | |
.topnav a:not(:first-child) {display: none;} | |
.topnav a.icon { | |
float: right; | |
display: block; | |
} | |
} | |
@media screen and (max-width: 600px) { | |
.topnav.responsive {position: relative;} | |
.topnav.responsive .icon { | |
position: absolute; | |
right: 0; | |
top: 0; | |
} | |
.topnav.responsive a { | |
float: none; | |
display: block; | |
text-align: left; | |
} | |
} | |
.alert { | |
padding: 20px; | |
background-color: #f44336; | |
color: white; | |
} | |
.closebtn { | |
margin-left: 15px; | |
color: white; | |
font-weight: bold; | |
float: right; | |
font-size: 22px; | |
line-height: 20px; | |
cursor: pointer; | |
transition: 0.3s; | |
} | |
.closebtn:hover { | |
color: black; | |
} |