Skip to content

Commit 6ad3e10

Browse files
committed
consistent formatting
1 parent f8b64b0 commit 6ad3e10

File tree

7 files changed

+44
-44
lines changed

7 files changed

+44
-44
lines changed

src/scss/mixins/_position.scss

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
@mixin position ($position: relative, $coordinates: 0 0 0 0) {
22
@if type-of($position) == list {
3-
$coordinates:$position;
4-
$position:relative;
3+
$coordinates: $position;
4+
$position: relative;
55
}
66

7-
$top:nth($coordinates, 1);
8-
$right:nth($coordinates, 2);
9-
$bottom:nth($coordinates, 3);
10-
$left:nth($coordinates, 4);
7+
$top: nth($coordinates, 1);
8+
$right: nth($coordinates, 2);
9+
$bottom: nth($coordinates, 3);
10+
$left: nth($coordinates, 4);
1111

1212
position: $position;
1313

1414
@if $top == auto {
15-
top:$top;
15+
top: $top;
1616
}
1717
@else if not(unitless($top)) {
18-
top:$top;
18+
top: $top;
1919
}
2020
@if $right == auto {
21-
right:$right;
21+
right: $right;
2222
}
2323
@else if not(unitless($right)) {
24-
right:$right;
24+
right: $right;
2525
}
2626
@if $bottom == auto {
27-
bottom:$bottom;
27+
bottom: $bottom;
2828
}
2929
@else if not(unitless($bottom)) {
30-
bottom:$bottom;
30+
bottom: $bottom;
3131
}
3232
@if $left == auto {
33-
left:$left;
33+
left: $left;
3434
}
3535
@else if not(unitless($left)) {
36-
left:$left;
36+
left: $left;
3737
}
3838
}

src/scss/modules/_clearfix.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
%clear {
2-
content:' ';
3-
display:table;
2+
content: ' ';
3+
display: table;
44
}
55
.clear {
6-
*zoom:1;
6+
*zoom: 1;
77
&:before {
88
@extend %clear;
99
}
1010
&:after {
1111
@extend %clear;
12-
clear:both;
12+
clear: both;
1313
}
1414
}

src/scss/modules/_defaults.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
* {
2-
box-sizing:border-box;
3-
font-smoothing:antialiased;
4-
text-rendering:optimizeLegibility;
2+
box-sizing: border-box;
3+
font-smoothing: antialiased;
4+
text-rendering: optimizeLegibility;
55
}
66
html {
7-
font-size:62.5%;
7+
font-size: 62.5%;
88
}
99
body {
10-
font:300 13px/1.6 'Helvetica Neue', Helvetica, Arial;
11-
background:#fff;
12-
color:#444;
10+
font: 300 13px/1.6 'Helvetica Neue', Helvetica, Arial;
11+
background: #fff;
12+
color: #444;
1313
}

src/scss/modules/_misc.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
::selection{
2-
background:#333;
3-
color:#fff;
4-
text-shadow:none;
2+
background: #333;
3+
color: #fff;
4+
text-shadow: none;
55
}
66
::-moz-selection{
7-
background:#333;
8-
color:#fff;
9-
text-shadow:none;
7+
background: #333;
8+
color: #fff;
9+
text-shadow: none;
1010
}
1111
::-webkit-selection{
12-
background:#333;
13-
color:#fff;
14-
text-shadow:none;
12+
background: #333;
13+
color: #fff;
14+
text-shadow: none;
1515
}

src/scss/modules/_typography.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@font-face {
2-
font-family:'Font-Name';
3-
src:url('../fonts/font-name.eot');
4-
src:url('../fonts/font-name.eot?#iefix') format('embedded-opentype'),
5-
url('../fonts/font-name.woff') format('woff'),
6-
url('../fonts/font-name.ttf') format('truetype'),
7-
url('../fonts/font-name.svg#font-name') format('svg');
8-
font-weight:normal;
9-
font-style:normal;
2+
font-family: 'Font-Name';
3+
src: url('../fonts/font-name.eot');
4+
src: url('../fonts/font-name.eot?#iefix') format('embedded-opentype'),
5+
url('../fonts/font-name.woff') format('woff'),
6+
url('../fonts/font-name.ttf') format('truetype'),
7+
url('../fonts/font-name.svg#font-name') format('svg');
8+
font-weight: normal;
9+
font-style: normal;
1010
}

src/scss/partials/_header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
}
44
.logo {
5-
margin:-100px 0 0 -84px;
5+
margin: -100px 0 0 -84px;
66
@include position(absolute, 50% 0 0 50%);
77
img {
88

src/scss/partials/_nav.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.nav {
22
ul {
3-
list-style:none;
3+
list-style: none;
44
li {
55
a {
66

0 commit comments

Comments
 (0)