Skip to content

Instantly share code, notes, and snippets.

@Sutto
Created December 16, 2008 17:33
Show Gist options
  • Save Sutto/36673 to your computer and use it in GitHub Desktop.
Save Sutto/36673 to your computer and use it in GitHub Desktop.
// General PowWow Stylesheets
=round_corners( !radius_tl = 1em, !radius_tr = !radius_tl, !radius_br = !radius_tl, !radius_bl = !radius_tr )
:-moz-border-radius-topleft= !radius_tl
:-moz-border-radius-topright= !radius_tr
:-moz-border-radius-bottomleft= !radius_bl
:-moz-border-radius-bottomright= !radius_br
:-webkit-border-top-left-radius= !radius_tl
:-webkit-border-top-right-radius= !radius_tr
:-webkit-border-bottom-left-radius= !radius_bl
:-webkit-border-bottom-right-radius= !radius_br
=shadowed_background(!color)
:background= !color url('/images/relayrelay/gradient-tile.png') center top repeat-x
/*
Example Usage:
#my-main-container
+round_corners(1em)
+shadowed_background(#444)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment