Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
fix(homepage): Changes max width of homepage
Browse files Browse the repository at this point in the history
closes #91
  • Loading branch information
Autalyst committed Nov 10, 2015
1 parent b277610 commit c938c5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/jade/partials/home.jade
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ script(type="text/ng-template", id="/home")
div(flex)
.text-center.padding-top-20 TournamentMango is a great way to manage your tournaments. It supports many features.

.text-center(layout-gt-sm="row", layout="column", flex, layout-wrap)
.text-center.max-width-1200(layout-gt-sm="row", layout="column", flex, layout-wrap)
.text-center.padding-50(flex-gt-sm="33", flex-sm="40", ng-repeat="block in blocks")
ng-md-icon(icon="{{block.icon}}", size="100", ng-if="!block.link")
.md-title {{block.name}}
Expand Down
7 changes: 6 additions & 1 deletion src/scss/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
height: $height;
}

.max-width-1200 {
max-width: 1200px;
margin: auto;
}

$duel-bg: #eee;
$card-border: 1px solid #eee;

Expand Down Expand Up @@ -376,4 +381,4 @@ $paddings: top bottom left right;
.padding-#{$padding}-#{$size*5} { padding-#{$padding}: #{$size*5}px }
.margin-#{$padding}-#{$size*5} { margin-#{$padding}: #{$size*5}px }
}
}
}

0 comments on commit c938c5e

Please sign in to comment.