mirror of
https://github.com/musix-org/musix-org.github.io
synced 2024-11-09 22:10:18 +00:00
138 lines
2.3 KiB
CSS
138 lines
2.3 KiB
CSS
@import "./styling.css";
|
|
|
|
#navLogo {
|
|
margin-top: 5px;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-image: url("../images/logos/musix.png");
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
float: left;
|
|
}
|
|
|
|
nav {
|
|
float: top;
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--dark-grey) 50%,
|
|
var(--main-accent) 100%
|
|
);
|
|
width: 100%;
|
|
height: 50px;
|
|
box-shadow: 0 0 30px -5px black;
|
|
}
|
|
|
|
nav a {
|
|
transition: 0.4s;
|
|
float: left;
|
|
padding: 14px 16px;
|
|
font-size: x-large;
|
|
text-shadow: 0 0 2px white;
|
|
}
|
|
|
|
nav a:visited {
|
|
color: rgb(255, 255, 255);
|
|
text-decoration: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
nav a:link {
|
|
color: rgb(255, 255, 255);
|
|
text-decoration: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
nav a:active {
|
|
color: rgb(255, 255, 255);
|
|
text-decoration: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: rgb(255, 255, 255);
|
|
background-color: transparent;
|
|
text-decoration: underline;
|
|
background-color: var(--main-accent);
|
|
}
|
|
|
|
#navLogo a:hover {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.dropbtn {
|
|
font-size: x-large;
|
|
float: right;
|
|
background-color: transparent;
|
|
color: transparent;
|
|
border: none;
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
nav {
|
|
float: none;
|
|
width: none;
|
|
height: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
nav a {
|
|
float: left;
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.dropbtn {
|
|
text-shadow: 0 0 4px white;
|
|
}
|
|
|
|
.dropdown {
|
|
float: left;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dropdown .dropbtn {
|
|
font-size: 16px;
|
|
border: none;
|
|
outline: none;
|
|
color: white;
|
|
padding: 14px 16px;
|
|
background-color: inherit;
|
|
font-family: inherit;
|
|
margin: 0;
|
|
}
|
|
|
|
nav a:hover,
|
|
.dropdown:hover .dropbtn {
|
|
background-color: var(---main-accent);
|
|
}
|
|
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
background-image: url("../images/backgrouds/background.png");
|
|
min-width: 160px;
|
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
|
z-index: 1;
|
|
}
|
|
|
|
.dropdown-content a {
|
|
float: none;
|
|
color: var(--main-grey);
|
|
padding: 12px 16px;
|
|
text-decoration: none;
|
|
display: block;
|
|
text-align: left;
|
|
transition: 0.4s;
|
|
}
|
|
|
|
.dropdown-content a:hover {
|
|
background-color: var(--main-accent);
|
|
}
|
|
|
|
.dropdown:hover .dropdown-content {
|
|
display: block;
|
|
}
|
|
}
|