From 0935814699e316fc83e5b842b5dce1fa5bc6773a Mon Sep 17 00:00:00 2001 From: Dan Hughes Date: Thu, 1 Jan 2015 11:56:58 +0000 Subject: [PATCH] Reorder fraction aliases to remove repeated width declarations --- css/skeleton.css | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/css/skeleton.css b/css/skeleton.css index f28bf6c..73ad99c 100644 --- a/css/skeleton.css +++ b/css/skeleton.css @@ -63,21 +63,20 @@ .one.columns { width: 4.66666666667%; } .two.columns { width: 13.3333333333%; } .three.columns { width: 22%; } - .four.columns { width: 30.6666666667%; } + .four.columns, + .one-third.column, + .one-thirds.column { width: 30.6666666667%; } .five.columns { width: 39.3333333333%; } - .six.columns { width: 48%; } + .six.columns, + .one-half.column { width: 48%; } .seven.columns { width: 56.6666666667%; } - .eight.columns { width: 65.3333333333%; } + .eight.columns, + .two-thirds.column { width: 65.3333333333%; } .nine.columns { width: 74.0%; } .ten.columns { width: 82.6666666667%; } .eleven.columns { width: 91.3333333333%; } .twelve.columns { width: 100%; margin-left: 0; } - .one-third.column { width: 30.6666666667%; } - .two-thirds.column { width: 65.3333333333%; } - - .one-half.column { width: 48%; } - /* Offsets */ .offset-by-one.column, .offset-by-one.columns { margin-left: 8.66666666667%; } @@ -86,15 +85,21 @@ .offset-by-three.column, .offset-by-three.columns { margin-left: 26%; } .offset-by-four.column, - .offset-by-four.columns { margin-left: 34.6666666667%; } + .offset-by-four.columns, + .offset-by-one-third.column, + .offset-by-one-third.columns { margin-left: 34.6666666667%; } .offset-by-five.column, .offset-by-five.columns { margin-left: 43.3333333333%; } .offset-by-six.column, - .offset-by-six.columns { margin-left: 52%; } + .offset-by-six.columns, + .offset-by-one-half.column, + .offset-by-one-half.columns { margin-left: 52%; } .offset-by-seven.column, .offset-by-seven.columns { margin-left: 60.6666666667%; } .offset-by-eight.column, - .offset-by-eight.columns { margin-left: 69.3333333333%; } + .offset-by-eight.columns, + .offset-by-two-thirds.column, + .offset-by-two-thirds.columns { margin-left: 69.3333333333%; } .offset-by-nine.column, .offset-by-nine.columns { margin-left: 78.0%; } .offset-by-ten.column, @@ -102,14 +107,6 @@ .offset-by-eleven.column, .offset-by-eleven.columns { margin-left: 95.3333333333%; } - .offset-by-one-third.column, - .offset-by-one-third.columns { margin-left: 34.6666666667%; } - .offset-by-two-thirds.column, - .offset-by-two-thirds.columns { margin-left: 69.3333333333%; } - - .offset-by-one-half.column, - .offset-by-one-half.columns { margin-left: 52%; } - }