Skip to content

Commit

Permalink
Merge pull request #6 from giulianobg/master
Browse files Browse the repository at this point in the history
  • Loading branch information
giulianobg authored Jun 20, 2016
2 parents 0735ca1 + 052c247 commit 5e36162
Show file tree
Hide file tree
Showing 8 changed files with 135 additions and 123 deletions.
112 changes: 46 additions & 66 deletions css/polvo.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 4 additions & 12 deletions scss/_polvo.scss
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
//@import url(https://fonts.googleapis.com/css?family=Raleway:100,300,500,700);
@import url(https://fonts.googleapis.com/css?family=Dosis:400,200,700);
@import url(https://fonts.googleapis.com/css?family=Raleway:100,300,500,700);
@import 'https://fonts.googleapis.com/css?family=Cormorant';

// Core variables and mixins
@import "polvo/variables";
@import "polvo/mixins";

// Reset and dependencies
//@import "bootstrap/normalize";
//@import "bootstrap/print";
//@import "bootstrap/glyphicons";

// Core CSS
@import "polvo/scaffolding";
@import "polvo/type";

// Components
@import "polvo/buttons";
@import "polvo/cards";
@import "polvo/navbar";
@import "polvo/panels";

// Pages
@import "polvo/faq";
@import "polvo/footer";
@import "polvo/hero-carousel";
@import "polvo/navbar";
@import "polvo/panels";

// Utility classes
@import "polvo/utilities";
7 changes: 0 additions & 7 deletions scss/polvo/_faq.scss

This file was deleted.

57 changes: 23 additions & 34 deletions scss/polvo/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,68 +1,57 @@
$transiton: all 0.65s;

.navbar-pplural {
//
// Navbar
// --------------------------------------------------

.navbar-polvo {
background-color: transparent;
border-color: transparent;
-webkit-transition: $transiton;
-moz-transition: $transiton;
transition: $transiton;
min-height: 80px;

.navbar-brand {
color: color('grey', '100');
font-size: 30px;
font-weight: 700;
line-height: 50px;
height: 80px;

&:hover,
&:focus {
color: map-get(map-get($material-colors, 'grey'), '200');
color: color('grey', '300');
background-color: transparent;
}

img {
width: 42px;
display: inline;
}
}

.navbar-text {
color: color('grey', '200');
font-weight: 100;
color: color('grey', '400');
}

.nav {
> li > a {
color: color('grey', '100');
background: transparent;

&:hover,
&:focus {
color: color('grey', '300');
}
}
}
}

@media (min-width: $screen-md-min) {
.affix {
background-color: color('blue-grey', '700');
/*opacity: 0.925;*/
/*border-color: rgba(34, 34, 34, 0.05);*/
min-height: 50px;
background-color: color('grey', '900');
border-color: color('grey', '800');

.navbar-header .navbar-brand {
color: color('grey', '100');
font-size: 18px;
line-height: 20px;
height: 50px;

&:hover,
&:focus {
color: color('grey', '200');
}

img {
width: 24px;
color: color('grey', '300');
}
}

.nav > li > a,
.nav > li > a:focus {
color: #222222;
}

.nav > li > a:hover,
.nav > li > a:focus:hover {
color: #f05f40;
}
}
}
15 changes: 15 additions & 0 deletions scss/polvo/_scaffolding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ body {
}


// Page blocks
.page-block {
&-image {
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
height: 450px;
}

&-video {

}
}


// Horizontal rules
// -------------------------
.hr {
Expand Down
26 changes: 26 additions & 0 deletions scss/polvo/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@
// Typography
// --------------------------------------------------

.type {
&-xs {
font-size: $font-size-xs;
}

&-sm {
font-size: $font-size-sm;
}

&-md {
font-size: $font-size-md;
}

&-lg {
font-size: $font-size-lg;
}

&-xl {
font-size: $font-size-xl;
}

&-serif {
font-family: $polvo-font-family-serif;
}
}


// Headings
// -------------------------
Expand Down
13 changes: 12 additions & 1 deletion scss/polvo/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// --------------------------------------------------


// Spacers
// Spacers, margins and paddings
// -------------------------

.space {
Expand Down Expand Up @@ -68,6 +68,17 @@
}
}

// Pullers
// -------------------------
.pull {
&up {
margin-top: -75px;
}

&down {
margin-bottom: -75px;
}
}

// Stretch
// -------------------------
Expand Down
12 changes: 9 additions & 3 deletions scss/polvo/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,14 @@ $polvo-cta: #41724d;
//
//## Font, line-height, and color for body text, headings, and more.

$font-family-sans-serif: 'Dosis', "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$polvo-font-family-base: $font-family-sans-serif !default;
$polvo-font-family-base: 'Raleway', "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$polvo-font-family-serif: 'Cormorant', serif;

$font-size-xs: 14px;
$font-size-sm: 18px;
$font-size-md: 24px;
$font-size-lg: 36px;
$font-size-xl: 48px;

//$font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
//$font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
Expand Down Expand Up @@ -388,7 +394,7 @@ $card-deck-margin: .625rem !default;
//== Utilities
//
//## Spacers
$space-sm: 20px;
$space-sm: 25px;
$space-md: $space-sm * 2;
$space-lg: $space-md * 2;

Expand Down

0 comments on commit 5e36162

Please sign in to comment.