major whitespace cleanup!

This commit is contained in:
captainill 2015-11-14 17:12:59 -08:00
parent b61dae9142
commit 7d1aac6079
13 changed files with 1111 additions and 1114 deletions

View File

@ -35,7 +35,7 @@
&:focus { &:focus {
} //focus }
} }
button { button {
@ -44,8 +44,8 @@
} }
} //search }
} //search bar }
//pagination //pagination
.pagination { .pagination {

View File

@ -1,12 +1,12 @@
// footer // footer
footer { footer {
padding: 80px 0; padding: 80px 0;
background: @black url(/images/footer_background.png) center center; background: @black url(/images/footer_background.png) center center;
text-align: center; text-align: center;
color: @white; color: @white;
z-index: 999; z-index: 999;
position: relative; //z-index needs position! position: relative; //z-index needs position!
ul.footer-nav { ul.footer-nav {
color: @blue; color: @blue;
@ -98,4 +98,4 @@ position: relative; //z-index needs position!
} //footer } //footer

View File

@ -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 {

View File

@ -149,15 +149,15 @@
/* /*
.sidebar-nav-selected { .sidebar-nav-selected {
background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(71,101,118,1) 100%); background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(71,101,118,1) 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(71,101,118,1))); background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(71,101,118,1)));
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(71,101,118,1) 100%); background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(71,101,118,1) 100%);
background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(71,101,118,1) 100%); background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(71,101,118,1) 100%);
background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(71,101,118,1) 100%); background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(71,101,118,1) 100%);
background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(71,101,118,1) 100%); background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(71,101,118,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#476576',GradientType=1 ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#476576',GradientType=1 );
} }
*/ */
// helpers // helpers

View File

@ -1,14 +1,14 @@
/* page */ /* page */
.page { //style all pages .page { //style all pages
.page-background { //page background color .page-background {
width: 100%; width: 100%;
height: 100%; height: 100%;
left:50%; left:50%;
top: 0; top: 0;
position: fixed; position: fixed;
z-index: 1; //keep it in the back z-index: 1; //keep it in the back
} //.background }
.page-contents { .page-contents {
@ -26,7 +26,7 @@
&:first-child { &:first-child {
margin-top: 0; margin-top: 0;
} //h1 first child }
} }
h2 { h2 {
@ -36,12 +36,12 @@
&:first-child { &:first-child {
margin-top: @baseline * .5; margin-top: @baseline * .5;
} //h2 first child }
} //h2 }
} //page-contents }
/* home */ /* home */
&.home { //style homepage &.home {
h1 { h1 {
text-align: center; text-align: center;
@ -74,11 +74,11 @@
line-height: 40px; line-height: 40px;
} }
} //hero hgroup }
} //hero-content }
} //homepage hero }
.why-vagrant { .why-vagrant {
.padded; .padded;
@ -91,7 +91,7 @@
text-align: center; text-align: center;
font-size: 40px; font-size: 40px;
line-height: 40px; line-height: 40px;
} //h1 }
hgroup { hgroup {
margin: (@baseline * 3) 0; margin: (@baseline * 3) 0;
@ -104,15 +104,15 @@
margin-bottom: @baseline; margin-bottom: @baseline;
color: @purple-text; color: @purple-text;
.museo-sans-light; .museo-sans-light;
} //h3 }
h4 { h4 {
font-size: 20px; font-size: 20px;
line-height: @baseline * 1.5; line-height: @baseline * 1.5;
.museo-sans-light; .museo-sans-light;
} //h4 }
} //hgroup }
} //why-vagrant }
.get-started { .get-started {
.padded; .padded;
@ -133,7 +133,7 @@
//background: fade(@white, 20%); //background: fade(@white, 20%);
} }
} //get-started }
.customers { .customers {
.padded; .padded;
@ -164,19 +164,19 @@
img { img {
} //img
} //li
} //ul.cusotmer-logos
} }
} //home }
}
}
}
/* inner */ /* inner */
&.inner { //style inner pages &.inner {
.inner-bg-large; //sidebar background .inner-bg-large; //sidebar background
.page-background { //change inner background color! .page-background {
background-color: @gray-background; //page background background-color: @gray-background; //page background
} }
@ -194,13 +194,13 @@
} }
} //inner }
/* docs */ /* docs */
&.docs { //style all docs &.docs {
.docs-bg-large; //sidebar background .docs-bg-large; //sidebar background
.page-background { //change the sidebar background color! .page-background {
background: @white; //page background background: @white; //page background
} }
@ -218,12 +218,12 @@
margin-top: -7px; margin-top: -7px;
} }
&.docs-home { //style docs-home &.docs-home {
} //documentation-home }
&.docs-inner { //style docs-inner &.docs-inner {
h3 { h3 {
color: @docs-blue; color: @docs-blue;
@ -252,9 +252,9 @@
//text-transform: uppercase; //text-transform: uppercase;
} }
} //documentation-inner }
} //documentation }
&.vmware { &.vmware {
@ -290,7 +290,7 @@
line-height: 28px; line-height: 28px;
} }
} //hero hgroup }
.button { .button {
font-size: 18px; font-size: 18px;
@ -302,9 +302,9 @@
background-color: #F26C4F; background-color: #F26C4F;
} }
} //hero-content }
} //vmware hero }
.why { .why {
.padded; .padded;
@ -318,17 +318,17 @@
font-size: 40px; font-size: 40px;
line-height: 40px; line-height: 40px;
margin-bottom: 20px; margin-bottom: 20px;
} //h1 }
.reasons { .reasons {
h2 { h2 {
font-size: 20px; font-size: 20px;
letter-spacing: 1px; letter-spacing: 1px;
} //h2 }
p { p {
line-height: 28px; line-height: 28px;
} //p }
} }
.row { .row {
@ -339,7 +339,7 @@
font-size: 12px; font-size: 12px;
margin-bottom: 0px; margin-bottom: 0px;
} }
} //why }
.pricing { .pricing {
.padded; .padded;
@ -427,7 +427,7 @@
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
} }
} //.pricing }
.customers { .customers {
.padded; .padded;
@ -453,15 +453,12 @@
} }
ul.customer-logos { ul.customer-logos {
li { li {
img { img {
} //img
} //li
} //ul.cusotmer-logos
} }
} }
} //page }
}
}
}

View File

@ -134,4 +134,4 @@
} //li } //li
} //ul } //ul
} //.documentation .sidebar } //.documentation .sidebar
} //sidebar } //sidebar

View File

@ -1,36 +1,36 @@
//typogrpahy //typogrpahy
.museo-sans-light { .museo-sans-light {
font-family: "museo-sans", helvetica, arial, sans-serif; font-family: "museo-sans", helvetica, arial, sans-serif;
font-style: normal; font-style: normal;
font-weight: 100; font-weight: 100;
} }
.museo-sans-regular { .museo-sans-regular {
font-family: "museo-sans", helvetica, arial, sans-serif; font-family: "museo-sans", helvetica, arial, sans-serif;
font-style: normal; font-style: normal;
font-weight: 300; font-weight: 300;
} }
.museo-sans-bold { .museo-sans-bold {
font-family: "museo-sans", helvetica, arial, sans-serif; font-family: "museo-sans", helvetica, arial, sans-serif;
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
} }
.museo-sans-light-italic { .museo-sans-light-italic {
font-family: "museo-sans", helvetica, arial, sans-serif; font-family: "museo-sans", helvetica, arial, sans-serif;
font-style: italic; font-style: italic;
font-weight: 100; font-weight: 100;
} }
.museo-sans-regular-italic { .museo-sans-regular-italic {
font-family: "museo-sans", helvetica, arial, sans-serif; font-family: "museo-sans", helvetica, arial, sans-serif;
font-style: italic; font-style: italic;
font-weight: 300; font-weight: 300;
} }
.museo-sans-bold-italic { .museo-sans-bold-italic {
font-family: "museo-sans", helvetica, arial, sans-serif; font-family: "museo-sans", helvetica, arial, sans-serif;
font-style: italic; font-style: italic;
font-weight: 700; font-weight: 700;
} }