Skip to content

Instantly share code, notes, and snippets.

@import "compass";
$experimental-support-for-webkit: false;
$experimental-support-for-mozilla: false;
.box {
@include border-radius(8px);
@include box-shadow(
rgba(#ccc, 0.5) 3px 3px 5px
);
@import "compass";
.box {
@include border-radius(8px);
@include box-shadow(
rgba(#ccc, 0.5) 3px 3px 5px
);
}
@import "compass";
.linear {
@include background(linear-gradient(top left, #333, #0c0));
}
@import "compass";
section {
@include clearfix;
}
.evil {
@include pie-clearfix;
}
%error {
border: 1px #f00;
background-color: #fdd;
}
.seriousError {
@extend %error;
border-width: 3px;
}
.inputError {
@extend %error;
#admin .tabbar a {
font-weight: bold;
}
#demo .overview .fakelink {
@extend a;
}
.error {
border: 1px #f00;
background-color: #fdd;
}
.error.intrusion {
background-image: url("/image/hacked.png");
}
.seriousError {
@extend .error;
border-width: 3px;
.error {
border: 1px #f00;
background-color: #fdd;
}
.seriousError {
@extend .error;
border-width: 3px;
}
@mixin respond-to($media) {
@if $media == handhelds {
@media only screen and (max-width: 479px) { @content; }
}
@else if $media == wide-handhelds {
@media only screen and (min-width: 480px) and (max-width: 767px) { @content; }
}
@else if $media == tablets {
@media only screen and (min-width: 768px) and (max-width: 959px) { @content; }
}