66 lines
942 B
CSS
66 lines
942 B
CSS
#mainNav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
font-family: 'Orbitron-Ligth', sans-serif;
|
|
line-height: 1.6;
|
|
margin: .5em 0;
|
|
padding: 0;
|
|
border: 1px solid #a2a2a2;
|
|
background-color: #FF8100;
|
|
border-radius: .25em;
|
|
}
|
|
|
|
#mainNav > a {
|
|
color: #34495e;
|
|
text-decoration: none;
|
|
padding: 10px 15px;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
display: block;
|
|
color: #34495e;
|
|
}
|
|
|
|
#mainNav > a > img{
|
|
height: 1em;
|
|
width: auto;
|
|
}
|
|
|
|
#mainNav a:hover {
|
|
background-color: #FFAE00;
|
|
color: #718daa;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* =================================
|
|
Media Queries
|
|
==================================== */
|
|
|
|
|
|
|
|
|
|
@media (min-width: 640px) {
|
|
#mainNav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-end;
|
|
}
|
|
#mainNav > a > img{
|
|
display: none;
|
|
}
|
|
#mainNav > a > span{
|
|
display: initial;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
#mainNav{
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
#mainNav > a > img{
|
|
display: initial;
|
|
}
|
|
}
|