header
This commit is contained in:
parent
38616ca7bc
commit
558c1773c4
|
@ -52,7 +52,7 @@
|
||||||
<ul class="main-links nav navbar-nav">
|
<ul class="main-links nav navbar-nav">
|
||||||
<li class="pill"><a href="/vmware">VMware Integration</a></li>
|
<li class="pill"><a href="/vmware">VMware Integration</a></li>
|
||||||
<li><a href="/downloads.html">Downloads</a></li>
|
<li><a href="/downloads.html">Downloads</a></li>
|
||||||
<li><a href="https://docs.vagrantup.com/">Documentation</a></li>
|
<li><a href="https://docs.vagrantup.com/">Docs</a></li>
|
||||||
<li><a href="/blog.html">Blog</a></li>
|
<li><a href="/blog.html">Blog</a></li>
|
||||||
<li><a href="/about.html">About</a></li>
|
<li><a href="/about.html">About</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
background: @gray-background;
|
background: @gray-background;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar-toggle{
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
float: left;
|
float: left;
|
||||||
.logo{
|
.logo{
|
||||||
|
@ -83,31 +87,54 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-links {
|
.main-links {
|
||||||
li > a {
|
margin-right: 0;
|
||||||
color: white;
|
|
||||||
|
|
||||||
&:hover{
|
li {
|
||||||
|
&.pill{
|
||||||
|
background-color: #48b4fb;
|
||||||
|
border-radius: 25px;
|
||||||
|
padding: 5px 2px;
|
||||||
|
line-height: 26px;
|
||||||
|
margin-top: 22px;
|
||||||
|
a{
|
||||||
|
color: #FFF;
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> a {
|
||||||
color: @project-link-color;
|
color: @project-link-color;
|
||||||
|
|
||||||
|
&:hover{
|
||||||
|
color: @black;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
#header {
|
.hidden-xs{
|
||||||
.navbar-brand {
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
.navbar-header{
|
||||||
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 414px) {
|
@media (max-width: 414px) {
|
||||||
#header {
|
#header {
|
||||||
|
height: auto;
|
||||||
|
|
||||||
|
.navbar-toggle{
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
.logo{
|
.logo{
|
||||||
padding-left: 37px;
|
width: @project-logo-width * .75;
|
||||||
font-size: 18px;
|
background-size: (@project-logo-width * .75) (@project-logo-height * .75);
|
||||||
.img-retina('/images/logo-header.png', @project-logo-width * .75, @project-logo-height * .75, no-repeat);
|
|
||||||
//background-position: 0 45%;
|
//background-position: 0 45%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -115,12 +142,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 320px) {
|
// @media (max-width: 320px) {
|
||||||
#header {
|
// #header {
|
||||||
.navbar-brand {
|
// .navbar-brand {
|
||||||
.logo{
|
// .logo{
|
||||||
font-size: 0 !important; //hide terraform text
|
// font-size: 0 !important; //hide terraform text
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
|
@ -1,50 +1,50 @@
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
nav {
|
// nav {
|
||||||
height: auto;
|
// height: auto;
|
||||||
font-size: 13px;
|
// font-size: 13px;
|
||||||
padding: 10px 0;
|
// padding: 10px 0;
|
||||||
.drop-shadow;
|
// .drop-shadow;
|
||||||
|
//
|
||||||
a.vagrant-docs-logo {
|
// a.vagrant-docs-logo {
|
||||||
background: url(/images/logo_docs_small.png) no-repeat center center !important;
|
// background: url(/images/logo_docs_small.png) no-repeat center center !important;
|
||||||
display: inline-block !important;
|
// display: inline-block !important;
|
||||||
float: none !important;
|
// float: none !important;
|
||||||
position: relative;
|
// position: relative;
|
||||||
width: 200px !important;
|
// width: 200px !important;
|
||||||
left: 50%;
|
// left: 50%;
|
||||||
padding: 10px 0;
|
// padding: 10px 0;
|
||||||
.reset;
|
// .reset;
|
||||||
margin-left: -100px !important;
|
// margin-left: -100px !important;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
a.vagrant-logo {
|
// a.vagrant-logo {
|
||||||
background: url(/images/logo_vagrant.png) no-repeat center center !important;
|
// background: url(/images/logo_vagrant.png) no-repeat center center !important;
|
||||||
display: inline-block !important;
|
// display: inline-block !important;
|
||||||
float: none !important;
|
// float: none !important;
|
||||||
position: relative;
|
// position: relative;
|
||||||
width: 80% !important;
|
// width: 80% !important;
|
||||||
left: 50%;
|
// left: 50%;
|
||||||
padding: 10px 0;
|
// padding: 10px 0;
|
||||||
.reset;
|
// .reset;
|
||||||
margin-left: -130px !important;
|
// margin-left: -130px !important;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
ul {
|
// ul {
|
||||||
position: relative;
|
// position: relative;
|
||||||
margin: 0 auto;
|
// margin: 0 auto;
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
text-align: center;
|
// text-align: center;
|
||||||
padding: 10px 0 0;
|
// padding: 10px 0 0;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
a.brand {
|
// a.brand {
|
||||||
display: none !important;
|
// display: none !important;
|
||||||
position: static !important;
|
// position: static !important;
|
||||||
width: 200px !important;
|
// width: 200px !important;
|
||||||
margin: 0 0 0 0 !important;
|
// margin: 0 0 0 0 !important;
|
||||||
background-position: center center !important;
|
// background-position: center center !important;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
input {
|
input {
|
||||||
|
|
|
@ -2,6 +2,23 @@
|
||||||
// Hashicorp nav
|
// Hashicorp nav
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
.nav{
|
||||||
|
float: left;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
|
li{
|
||||||
|
display: block;
|
||||||
|
float: left;
|
||||||
|
|
||||||
|
a{
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.navigation {
|
.navigation {
|
||||||
color: black;
|
color: black;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
@ -334,3 +351,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (min-width: 768px){
|
||||||
|
.navbar-toggle {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -11,13 +11,15 @@
|
||||||
|
|
||||||
// Mixins
|
// Mixins
|
||||||
.project-a-style{
|
.project-a-style{
|
||||||
font-weight: 300;
|
font-weight: 600;
|
||||||
opacity: .75;
|
font-size: 14px;
|
||||||
|
letter-spacing: 0;
|
||||||
|
text-transform: none;
|
||||||
color: @project-link-color;
|
color: @project-link-color;
|
||||||
|
.anti-alias();
|
||||||
|
|
||||||
&:hover{
|
&:hover{
|
||||||
color: $white;
|
color: @black;
|
||||||
opacity: 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue