Skip to content

Instantly share code, notes, and snippets.

@pehrlich
Created June 14, 2012 17:22
Show Gist options
  • Save pehrlich/2931613 to your computer and use it in GitHub Desktop.
Save pehrlich/2931613 to your computer and use it in GitHub Desktop.
.block-centered {
margin-left: auto;
margin-right: auto;
}
.center, .centered {
text-align: center;
}
.absolute {
position: absolute;
top: 0;
left: 0;
}
.inline {
display: inline;
}
.nowrap {
white-space: nowrap;
}
.dim {
color: rgba(0, 0, 0, 0.7);
}
.lighter {
font-weight: lighter;
}
p.regular{
font-size: 13px;
}
.bold {
font-weight: bold;
}
.italic {
font-style: italic;
}
.small {
font-size: 9pt;
}
.unfuck {
margin: 0;
}
.nopadding {
padding: 0;
}
.dropdown-menu a.unfuck {
display: inline;
padding: 0;
}
.raise_half_bump {
margin-top: -9px;
margin-bottom: 9px;
}
ul.halfmargin {
margin-left: 9px;
}
ul.wholemargin {
/* default for some reason is 25 */
margin-left: 18px;
}
.tight {
margin-bottom: -7px; /* nix the gap above 'created at' */
}
h1.tight {
/* used on home page */
margin-bottom: -24px;
}
.lower_half_bump {
margin-top: 9px;
}
.skipline {
padding-top: 18px;
}
.space, .padded {
padding: 9px;
}
div.shim {
height: 9px;
}
.wholly_padded {
padding: 18px;
}
.half_padding {
padding: 9px;
}
.space_right, .spaceright {
padding-right: 9px;
}
.space_left, .spaceleft {
padding-left: 9px;
}
.marginright, .margin_right{
margin-right: 9px;
}
.marginleft, .margin_left{
margin-left: 9px;
}
.space_below, .spacebelow {
padding-bottom: 9px;
}
.linebelow, .line_below {
padding-bottom: 18px;
}
.wholewidth, .fullwidth {
@include border_box;
width: 100%;
}
.btn-success.fuzzy {
box-shadow: 0px 0px 6px #6c9;
}
.navbar .nav .dropdown-toggle .caret, .navbar .nav .open.dropdown .caret {
border-top-color: black;
}
.white_gradient, .post_bar_gradient {
@include post-bar-gradient;
}
.post_body_gradient{
@include post-body-gradient;
}
a.disabled {
/* this isint the greatest, will fuck up another classes on the same el's coloring*/
cursor: default;
color: inherit;
background: inherit;
&:hover {
cursor: default;
color: inherit;
background: inherit;
}
}
#main_mug {
position: absolute;
top: 2px;
left: -45px;
@include border_radius(3px);
box-shadow: 0px 0px 3px #666;
height: 50px;
}
img.profile {
box-shadow: 0px 0px 3px #555;
@include border_radius(4px);
}
img.icon {
width: 50px;
height: 50px;
}
img.icon-shrunk{
width: 31px;
height: 31px;
// todo: may need to re enable for badges
//margin-right: 3px;
}
img.hoverable {
opacity: 0.8;
&:hover {
opacity: 1;
}
}
.drawer{
@include transition(all 0.3s ease-out);
}
.drawer-closed{
margin-top: -100%;
}
.drawer-open{
margin-top: 0;
}
.drawer-below{
// todo: make this work: http://jsfiddle.net/pehrlich/dNLLa/
position: absolute;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment