Created
July 29, 2014 04:20
-
-
Save JeongInyoung/fb4065c6a3b87e7dc645 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<div class="foo">foo</div> | |
<div class="bar">bar</div> | |
<div class="baz">baz</div> | |
<div class="gar"> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse | |
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non | |
proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
</div> | |
<div class="footer"> | |
<button>button</button> | |
</div> | |
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
// ---- | |
// Sass (v3.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// Bitters (v0.10.0) | |
// Blend Modes (v0.0.2) | |
// Bourbon (v4.0.2) | |
// Color Schemer (v0.2.8) | |
// Fancy Buttons (v1.2.0) | |
// Susy (v2.1.2) | |
// Toolkit (v2.4.0) | |
// ---- | |
@import "bourbon/bourbon"; | |
@import "bitters/bitters"; | |
@import "blend-modes"; | |
@import "color-schemer"; | |
@import "fancy-buttons"; | |
@import "susy"; | |
@import "toolkit"; | |
// settings | |
$susy: ( | |
flow: ltr, | |
math: fluid, | |
output: float, | |
gutter-position: inside, | |
container: auto, | |
container-position: center, | |
columns: 6, | |
gutters: .25, | |
column-width: false, | |
global-box-sizing: content-box, | |
last-flow: to, | |
); | |
body { | |
@include container(60em); | |
} | |
div { | |
outline: 1px solid pink; | |
} | |
.foo { | |
@include span(6 last); | |
} | |
.bar { | |
@include span(6 narrow); | |
} | |
.baz { | |
@include span(3); | |
} | |
.gar { | |
@include span(3); | |
} |
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
button, | |
input[type="submit"] { | |
-webkit-font-smoothing: antialiased; | |
background-color: #477dca; | |
border-radius: 0.1875em; | |
color: white; | |
display: inline-block; | |
font-size: 1em; | |
font-weight: bold; | |
line-height: 1; | |
padding: .75em 1em; | |
text-decoration: none; | |
} | |
button:hover, | |
input[type="submit"]:hover { | |
background-color: #2c5999; | |
color: white; | |
} | |
body { | |
-webkit-font-smoothing: antialiased; | |
background-color: white; | |
color: #333333; | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
font-size: 1em; | |
line-height: 1.5; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
line-height: 1.25em; | |
margin: 0; | |
text-rendering: optimizeLegibility; | |
} | |
h1 { | |
font-size: 2.25em; | |
} | |
h2 { | |
font-size: 2em; | |
} | |
h3 { | |
font-size: 1.75em; | |
} | |
h4 { | |
font-size: 1.5em; | |
} | |
h5 { | |
font-size: 1.25em; | |
} | |
h6 { | |
font-size: 1em; | |
} | |
p { | |
margin: 0 0 0.75em; | |
} | |
a { | |
-webkit-transition: color 0.1s linear; | |
-moz-transition: color 0.1s linear; | |
transition: color 0.1s linear; | |
color: #477dca; | |
text-decoration: none; | |
} | |
a:hover { | |
color: #2c5999; | |
} | |
a:active, a:focus { | |
color: #2c5999; | |
outline: none; | |
} | |
hr { | |
border-bottom: 1px solid #dddddd; | |
border-left: none; | |
border-right: none; | |
border-top: none; | |
margin: 1.5em 0; | |
} | |
img { | |
margin: 0; | |
max-width: 100%; | |
} | |
blockquote { | |
border-left: 2px solid #dddddd; | |
color: #595959; | |
margin: 1.5em 0; | |
padding-left: 0.75em; | |
} | |
cite { | |
color: #737373; | |
font-style: italic; | |
} | |
cite:before { | |
content: '\2014 \00A0'; | |
} | |
fieldset { | |
background: #f7f7f7; | |
border: 1px solid #dddddd; | |
margin: 0 0 0.75em 0; | |
padding: 1.5em; | |
} | |
input, | |
label, | |
select { | |
display: block; | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
font-size: 1em; | |
} | |
label { | |
font-weight: bold; | |
margin-bottom: 0.375em; | |
} | |
label.required:after { | |
content: "*"; | |
} | |
label abbr { | |
display: none; | |
} | |
textarea, | |
input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], | |
select[multiple=multiple] { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
-webkit-transition: border-color; | |
-moz-transition: border-color; | |
transition: border-color; | |
background-color: white; | |
border-radius: 0.1875em; | |
border: 1px solid #dddddd; | |
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06); | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
font-size: 1em; | |
margin-bottom: 0.75em; | |
padding: 0.5em 0.5em; | |
width: 100%; | |
} | |
textarea:hover, | |
input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover, | |
select[multiple=multiple]:hover { | |
border-color: #c4c4c4; | |
} | |
textarea:focus, | |
input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, | |
select[multiple=multiple]:focus { | |
border-color: #477dca; | |
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(55, 112, 192, 0.7); | |
outline: none; | |
} | |
textarea { | |
resize: vertical; | |
} | |
input[type="search"] { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
-ms-appearance: none; | |
-o-appearance: none; | |
appearance: none; | |
} | |
input[type="checkbox"], input[type="radio"] { | |
display: inline; | |
margin-right: 0.375em; | |
} | |
input[type="file"] { | |
margin-bottom: 0.75em; | |
padding-bottom: 0.5em; | |
width: 100%; | |
} | |
select { | |
width: auto; | |
max-width: 100%; | |
margin-bottom: 1.5em; | |
} | |
table { | |
border-collapse: collapse; | |
margin: 0.75em 0; | |
table-layout: fixed; | |
width: 100%; | |
} | |
th { | |
border-bottom: 1px solid #b7b7b7; | |
font-weight: bold; | |
padding: 0.75em 0; | |
text-align: left; | |
} | |
td { | |
border-bottom: 1px solid #dddddd; | |
padding: 0.75em 0; | |
} | |
tr, td, th { | |
vertical-align: middle; | |
} | |
ul, ol { | |
margin: 0; | |
padding: 0; | |
list-style-type: none; | |
} | |
dl { | |
margin-bottom: 0.75em; | |
} | |
dl dt { | |
font-weight: bold; | |
margin-top: 0.75em; | |
} | |
dl dd { | |
margin: 0; | |
} | |
button, | |
input[type="submit"] { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
-ms-appearance: none; | |
-o-appearance: none; | |
appearance: none; | |
border: none; | |
cursor: pointer; | |
user-select: none; | |
vertical-align: middle; | |
white-space: nowrap; | |
} | |
/* incase an inverted custom gradient isn't specified */ | |
.fancy-button-reset-base-class { | |
font-family: "Lucida Grande", Lucida, Arial, sans-serif; | |
background: url('/images/button_bg.png') repeat-x bottom left; | |
margin: 0; | |
width: auto; | |
overflow: visible; | |
display: inline-block; | |
cursor: pointer; | |
text-decoration: none; | |
border-style: solid; | |
font-weight: bold; | |
} | |
.fancy-button-reset-base-class::-moz-focus-inner { | |
border: none; | |
padding: 0; | |
} | |
.fancy-button-reset-base-class:focus { | |
outline: none; | |
} | |
body { | |
max-width: 60em; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
body:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
div { | |
outline: 1px solid pink; | |
} | |
.foo { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
width: 100%; | |
float: right; | |
padding-left: 1.66667%; | |
padding-right: 1.66667%; | |
} | |
.bar { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
width: 96.66667%; | |
float: left; | |
padding-left: 1.66667%; | |
padding-right: 1.66667%; | |
} | |
.baz { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
width: 50%; | |
float: left; | |
padding-left: 1.66667%; | |
padding-right: 1.66667%; | |
} | |
.gar { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
width: 50%; | |
float: left; | |
padding-left: 1.66667%; | |
padding-right: 1.66667%; | |
} |
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
<div class="foo">foo</div> | |
<div class="bar">bar</div> | |
<div class="baz">baz</div> | |
<div class="gar"> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse | |
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non | |
proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
</div> | |
<div class="footer"> | |
<button>button</button> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment