Created
December 13, 2011 04:00
-
-
Save racheldonovan/1470503 to your computer and use it in GitHub Desktop.
Twitter Bootstrap Addons
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
/* Default styles I wish were included in Twitter Bootstrap */ | |
/* allow for easy vertical alignment of elements */ | |
.media_block { | |
display: table; | |
overflow: hidden; | |
.cell { | |
display:table-cell; | |
vertical-align:middle; | |
} | |
} | |
.clear { | |
clear: both; | |
} | |
.center-text { | |
text-align: center; | |
} | |
.center-block { | |
display: inline; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.pull-down5 { | |
margin-top: 5px; | |
} | |
.pull-down10 { | |
margin-top: 10px; | |
} | |
.pull-down20 { | |
margin-top: 20px; | |
} | |
.extend-down10 { | |
margin-bottom: 10px; | |
} | |
.extend-down20 { | |
margin-bottom: 20px; | |
} | |
/* mixins */ | |
@mixin no-margin-or-padding(){ | |
margin: 0; | |
padding: 0; | |
} | |
@mixin kill-filter() { | |
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); | |
-ms-filter: none; | |
} | |
@mixin ie-linear-gradient($start-color, $end-color) { | |
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#{$start-color}', endColorstr='#{$end-color}'); | |
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$start-color}', endColorstr='#{$end-color}')"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment