Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
fix(website): hero section reworked
Browse files Browse the repository at this point in the history
  • Loading branch information
LukyVj committed Apr 6, 2016
1 parent cd8ab34 commit 1fc6c70
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/stylesheets/components/_containers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ section {
padding-top: $navigation-height*1.5;
position: relative;

.hero-container {
margin-top: 20px;
}

.icon {
width: 20px;
height: 20px;
Expand Down Expand Up @@ -108,6 +112,10 @@ section {
}

.fl-right svg {
max-width: 260px;
position: relative;
top: -20px;

path,
ellipse {
transform: translateY(12px);
Expand Down
11 changes: 11 additions & 0 deletions docs/source/stylesheets/components/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
padding: 0 16px;
margin: 0;

.container {
max-width: 100%;
width: 100%;
}

@include huge-min-mq {
.container {
max-width: calc(#{$max-width} + 260px)
}
}

.brand {
float: left;
}
Expand Down
5 changes: 5 additions & 0 deletions docs/source/stylesheets/vendors/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
@content
}
}
@mixin huge-min-mq {
@media (min-width: $bp-huge){
@content
}
}

@mixin big-mq {
@media (max-width: $bp-big){
Expand Down
1 change: 1 addition & 0 deletions docs/source/stylesheets/vendors/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ $debug: false;
/* Breakpoints
=====================*/
// breakpoints
$bp-huge: 2000px;
$bp-big: 1500px;
$bp-wide: 1200px;
$bp-medium: 960px;
Expand Down

0 comments on commit 1fc6c70

Please sign in to comment.