njpma/app/static/css/partials/_menu.scss
2021-10-12 16:20:58 +01:00

47 lines
756 B
SCSS

.topnav {
background-color: #333;
position: relative;
height: 72px;
padding-left: 16px;
padding-top: 16px;
@media screen and (max-width: 799px) {
padding-left: 0;
padding-right: 0;
}
nav {
display: block;
text-align: right;
margin-right: 16px;
@media screen and (max-width: 799px) {
text-align: center;
width: 100%;
margin-right: 0;
margin-top: 16px;
}
}
a {
color: white;
text-decoration: none;
font-size: 17px;
&:hover {
background-color: #ddd;
color: black;
}
@media screen and (max-width: 799px) {
&.title {
display: block;
text-align: center;
}
div {
display: inline-block;
}
}
}
}