packer-cn/website/source/assets/stylesheets/_nav.scss

71 lines
1.1 KiB
SCSS
Raw Normal View History

nav {
2014-10-20 13:55:50 -04:00
height: $nav-height;
height: $nav-height;
padding: 0;
margin: 0;
min-width: 940px;
text-transform: uppercase;
color: $white;
font-family: $sans;
font-size: 16px;
border-bottom: 1px solid $border-dark;
ul {
margin-top: ($baseline * 2);
margin-left: $nav-height;
li {
display: inline-block;
margin-right: 50px;
}
}
.packer-logo {
background: image-url('logo_nav.png') no-repeat center top;
height: 80px;
width: 80px;
background-size: 34px 50px;
text-indent: -999999px;
display: inline-block;
margin-top: 25px;
}
2014-10-20 13:55:50 -04:00
@media (min-width: $screen-md-min) {
2013-06-20 22:00:05 -04:00
ul {
2014-10-20 13:55:50 -04:00
li {
&.featured {
margin: -20px 0 0 10px;
float: right;
2014-10-20 13:55:50 -04:00
a {
@include button;
font-weight: bold;
}
2013-06-20 22:00:05 -04:00
}
2014-10-20 13:55:50 -04:00
}
2013-06-20 22:00:05 -04:00
}
2014-10-20 13:55:50 -04:00
}
2014-10-20 13:55:50 -04:00
@media (max-width: $screen-sm-max) {
height: auto;
padding: 0;
min-width: auto;
ul {
margin: 1em 0 1em 80px;
2014-10-20 13:55:50 -04:00
li {
display: block;
margin: 0;
padding: 1em;
}
2013-06-20 22:00:05 -04:00
}
2014-10-20 13:55:50 -04:00
}
2014-10-20 13:55:50 -04:00
@media (max-width: $screen-xs-max) {
2013-06-20 22:00:05 -04:00
button {
2014-10-20 13:55:50 -04:00
}
}
}