Skip to content

Commit

Permalink
Merge pull request #1 from mattercomm/performance-enhancements
Browse files Browse the repository at this point in the history
Performance enhancing styles
  • Loading branch information
marekhrabe committed Oct 2, 2014
2 parents 70bf59a + 9d669cc commit cfd86be
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/style.css

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions src/less/website.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
.din() {
font-family: 'din-condensed-web', sans-serif;
}
.performance() {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
-webkit-perspective: 1000;
-moz-perspective: 1000;
-ms-perspective: 1000;
perspective: 1000;
}


@darkBrown: #c3a995;

Expand Down Expand Up @@ -813,11 +824,15 @@ body.loaded {
position: fixed;
top: 0;
left: 0;
.performance();
}
.description {
height: 50%;
}
.materials {
& * {
.performance();
}
.material {
&.leather, &.felt {
margin-top: 0;
Expand Down

0 comments on commit cfd86be

Please sign in to comment.