Skip to content

Commit

Permalink
Reduce each CSS rule to a single line
Browse files Browse the repository at this point in the history
It was already the case for most of the rules in the layout/ folder;
I completed the change.
  • Loading branch information
Eric Bréchemier committed May 14, 2012
1 parent bd5c4e7 commit 60d37cb
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 102 deletions.
7 changes: 1 addition & 6 deletions lab/css/layout/bottom-half.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.bottom-half {
left: 0px;
top: 270px;
width: 960px;
height: 270px;
}
.bottom-half {left: 0px; top: 270px; width: 960px; height: 270px;}
7 changes: 1 addition & 6 deletions lab/css/layout/center.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.center {
left: 327px;
top: 187px;
width: 306px;
height: 166px;
}
.center {left: 327px; top: 187px; width: 306px; height: 166px;}
7 changes: 1 addition & 6 deletions lab/css/layout/east.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.east {
left: 642px;
top: 187px;
width: 306px;
height: 166px;
}
.east {left: 642px; top: 187px; width: 306px; height: 166px;}
7 changes: 1 addition & 6 deletions lab/css/layout/fullscreen.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.fullscreen {
left: 0px;
top: 0px;
width: 960px;
height: 540px;
}
.fullscreen {left: 0px; top: 0px; width: 960px; height: 540px;}
7 changes: 1 addition & 6 deletions lab/css/layout/left-half.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.left-half {
left: 0px;
top: 0px;
width: 480px;
height: 540px;
}
.left-half {left: 0px; top: 0px; width: 480px; height: 540px;}
7 changes: 1 addition & 6 deletions lab/css/layout/north-east.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.north-east {
left: 642px;
top: 12px;
width: 306px;
height: 166px;
}
.north-east {left: 642px; top: 12px; width: 306px; height: 166px;}
7 changes: 1 addition & 6 deletions lab/css/layout/north-west.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.north-west {
left: 12px;
top: 12px;
width: 306px;
height: 166px;
}
.north-west {left: 12px; top: 12px; width: 306px; height: 166px;}
7 changes: 1 addition & 6 deletions lab/css/layout/north.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.north {
left: 327px;
top: 12px;
width: 306px;
height: 166px;
}
.north {left: 327px; top: 12px; width: 306px; height: 166px;}
4 changes: 1 addition & 3 deletions lab/css/layout/one-third-high.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.one-third-high {
height: 166px;
}
.one-third-high {height: 166px;}
4 changes: 1 addition & 3 deletions lab/css/layout/one-third-wide.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.one-third-wide {
width: 306px;
}
.one-third-wide {width: 306px;}
7 changes: 1 addition & 6 deletions lab/css/layout/right-half.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.right-half {
left: 480px;
top: 0px;
width: 480px;
height: 540px;
}
.right-half {left: 480px; top: 0px; width: 480px; height: 540px;}
7 changes: 1 addition & 6 deletions lab/css/layout/south-east.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.south-east {
left: 642px;
top: 362px;
width: 306px;
height: 166px;
}
.south-east {left: 642px; top: 362px; width: 306px; height: 166px;}
7 changes: 1 addition & 6 deletions lab/css/layout/south-west.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.south-west {
left: 12px;
top: 362px;
width: 306px;
height: 166px;
}
.south-west {left: 12px; top: 362px; width: 306px; height: 166px;}
7 changes: 1 addition & 6 deletions lab/css/layout/south.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.south {
left: 327px;
top: 362px;
width: 306px;
height: 166px;
}
.south {left: 327px; top: 362px; width: 306px; height: 166px;}
4 changes: 1 addition & 3 deletions lab/css/layout/three-thirds-high.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.three-thirds-high {
height: 516px;
}
.three-thirds-high {height: 516px;}
4 changes: 1 addition & 3 deletions lab/css/layout/three-thirds-wide.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.three-thirds-wide {
width: 936px;
}
.three-thirds-wide {width: 936px;}
7 changes: 1 addition & 6 deletions lab/css/layout/top-half.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.top-half {
left: 0px;
top: 0px;
width: 960px;
height: 270px;
}
.top-half {left: 0px; top: 0px; width: 960px; height: 270px;}
4 changes: 1 addition & 3 deletions lab/css/layout/two-thirds-high.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.two-thirds-high {
height: 341px;
}
.two-thirds-high {height: 341px;}
4 changes: 1 addition & 3 deletions lab/css/layout/two-thirds-wide.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.two-thirds-wide {
width: 621px;
}
.two-thirds-wide {width: 621px;}
7 changes: 1 addition & 6 deletions lab/css/layout/west.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
.west {
left: 12px;
top: 187px;
width: 306px;
height: 166px;
}
.west {left: 12px; top: 187px; width: 306px; height: 166px;}

0 comments on commit 60d37cb

Please sign in to comment.