forked from dope/lemonade
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed sass loop for the common widths
- Loading branch information
Joe Richardson
committed
Dec 2, 2014
1 parent
406c226
commit d2f9185
Showing
10 changed files
with
123 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.DS_Store | ||
node_modules | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,111 @@ | ||
*{margin:0;padding:0;box-sizing:border-box;}.frame{margin:0 auto;max-width:100%;}.frame:after{content:"";display:table;clear:both;}[class*='bit-']{float:left;padding:0.3em;}.bit-1{width:8.33333%;}.bit-2{width:16.66667%;}.bit-3{width:25%;}.bit-4{width:33.33333%;}.bit-5{width:41.66667%;}.bit-6{width:50%;}.bit-7{width:58.33333%;}.bit-8{width:66.66667%;}.bit-9{width:75%;}.bit-10{width:83.33333%;}.bit-11{width:91.66667%;}.bit-12{width:100%;}.bit-25{width:25%;}.bit-40{width:40%;}.bit-60{width:60%;}.bit-75{width:75%;}@media (max-width: 30em){.bit-1{width:100%;}.bit-2{width:100%;}.bit-3{width:100%;}.bit-4{width:100%;}.bit-5{width:100%;}.bit-6{width:100%;}.bit-7{width:100%;}.bit-8{width:100%;}.bit-9{width:100%;}.bit-10{width:100%;}.bit-11{width:100%;}.bit-12{width:100%;}}@media (min-width: 30em) and (max-width: 50em){.bit-4,.bit-6,.bit-8,.bit-10,.bit-12{width:50%;}.bit-1,.bit-2,.bit-3,.bit-5,.bit-7,.bit-9,.bit-11{width:100%;}}@media (min-width: 50em) and (max-width: 68.75em){.bit-2,.bit-7{width:100%;}.bit-4,.bit-8,.bit-10,.bit-12{width:50%;}}.box{background:#FCD920;font-family:"Futura",sans-serif;font-size:14px;text-align:center;padding:20px 0;}.box--new{background:#87D37C;} | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; } | ||
|
||
.frame { | ||
margin: 0 auto; | ||
max-width: 100%; } | ||
.frame:after { | ||
content: ""; | ||
display: table; | ||
clear: both; } | ||
|
||
[class*='bit-'] { | ||
float: left; | ||
padding: 0.3em; } | ||
|
||
.bit-1 { | ||
width: 100%; } | ||
|
||
.bit-2 { | ||
width: 50%; } | ||
|
||
.bit-3 { | ||
width: 33.33333%; } | ||
|
||
.bit-4 { | ||
width: 25%; } | ||
|
||
.bit-5 { | ||
width: 20%; } | ||
|
||
.bit-6 { | ||
width: 16.66667%; } | ||
|
||
.bit-7 { | ||
width: 14.28571%; } | ||
|
||
.bit-8 { | ||
width: 12.5%; } | ||
|
||
.bit-9 { | ||
width: 11.11111%; } | ||
|
||
.bit-10 { | ||
width: 10%; } | ||
|
||
.bit-11 { | ||
width: 9.09091%; } | ||
|
||
.bit-12 { | ||
width: 8.33333%; } | ||
|
||
.bit-25 { | ||
width: 25%; } | ||
|
||
.bit-40 { | ||
width: 40%; } | ||
|
||
.bit-60 { | ||
width: 60%; } | ||
|
||
.bit-75 { | ||
width: 75%; } | ||
|
||
@media (max-width: 30em) { | ||
.bit-1 { | ||
width: 100%; } | ||
.bit-2 { | ||
width: 100%; } | ||
.bit-3 { | ||
width: 100%; } | ||
.bit-4 { | ||
width: 100%; } | ||
.bit-5 { | ||
width: 100%; } | ||
.bit-6 { | ||
width: 100%; } | ||
.bit-7 { | ||
width: 100%; } | ||
.bit-8 { | ||
width: 100%; } | ||
.bit-9 { | ||
width: 100%; } | ||
.bit-10 { | ||
width: 100%; } | ||
.bit-11 { | ||
width: 100%; } | ||
.bit-12 { | ||
width: 100%; } } | ||
|
||
@media (min-width: 30em) and (max-width: 50em) { | ||
.bit-4, .bit-6, .bit-8, .bit-10, .bit-12 { | ||
width: 50%; } | ||
.bit-1, .bit-2, .bit-3, .bit-5, .bit-7, .bit-9, .bit-11 { | ||
width: 100%; } } | ||
|
||
@media (min-width: 50em) and (max-width: 68.75em) { | ||
.bit-2, .bit-7 { | ||
width: 100%; } | ||
.bit-4, .bit-8, .bit-10, .bit-12 { | ||
width: 50%; } } | ||
|
||
.box { | ||
background: #FCD920; | ||
font-family: "Futura", sans-serif; | ||
font-size: 14px; | ||
text-align: center; | ||
padding: 20px 0; } | ||
.box--new { | ||
background: #87D37C; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,4 @@ | |
"url": "https://github.com/dope/lemonade/issues" | ||
}, | ||
"homepage": "http://lemonade.im" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
&--new { | ||
background: $new-grid-color; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ | |
@import 'grid'; | ||
|
||
// Demo styles | ||
@import 'demo'; | ||
@import 'demo'; |