Permalink
Browse files

unit-right class added. Reformated back to an original

  • Loading branch information...
1 parent 91053f5 commit 3cff48106696490206d4d1f8d3c7b5ff29b16839 @iurevych iurevych committed Jul 6, 2011
Showing with 16 additions and 74 deletions.
  1. +16 −74 core/grid/grids.css
View
@@ -1,74 +1,16 @@
-.line:after,
-.lastUnit:after {
- clear: both;
- display: block;
- visibility: hidden;
- overflow: hidden;
- height: 0 !important;
- line-height: 0;
- font-size: xx-large;
- content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
-}
-
-.line {
- *zoom: 1;
-}
-
-.unit {
- float: left;
-}
-
-.unit-right {
- float: right;
-}
-
-.size1of1 {
- float: none;
-}
-
-.size1of2 {
- width: 50%;
-}
-
-.size1of3 {
- width: 33.33333%;
-}
-
-.size2of3 {
- width: 66.66666%;
-}
-
-.size1of4 {
- width: 25%;
-}
-
-.size3of4 {
- width: 75%;
-}
-
-.size1of5 {
- width: 20%;
-}
-
-.size2of5 {
- width: 40%;
-}
-
-.size3of5 {
- width: 60%;
-}
-
-.size4of5 {
- width: 80%;
-}
-
-.lastUnit {
- display: table-cell;
- float: none;
- width: auto;
- *display: block;
- *zoom: 1;
- _position: relative;
- _left: -3px;
- _margin-right: -3px;
-}
+.line:before,.line:after{content:"";display:table;}
+.line:after{clear:both;}
+.line{*zoom:1;}
+.unit{float:left;}
+.unit-right{float:right;}
+.size1of1{float:none;}
+.size1of2{width:50%;}
+.size1of3{width:33.33333%;}
+.size2of3{width:66.66666%;}
+.size1of4{width:25%;}
+.size3of4{width:75%;}
+.size1of5{width:20%;}
+.size2of5{width:40%;}
+.size3of5{width:60%;}
+.size4of5{width:80%;}
+.lastUnit{float:none;display:block;display:table-cell;width:9999em;*width:auto;*zoom:1;_position:relative;_left:-3px;_margin-right:-3px;}

0 comments on commit 3cff481

Please sign in to comment.