Skip to content

Instantly share code, notes, and snippets.

@ltackett
Created March 31, 2011 21:09
Show Gist options
  • Save ltackett/897261 to your computer and use it in GitHub Desktop.
Save ltackett/897261 to your computer and use it in GitHub Desktop.
=ui-box($custom-image-suffix: "")
$base-path: "/images/cristalcard/v2/background_content_"
$top-path: $base-path + "top" + $custom-image-suffix + ".png"
$mid-path: $base-path + "mid" + $custom-image-suffix + ".png"
$bottom-path: $base-path + "bottom" + $custom-image-suffix + ".png"
.box_top
height: 3px
background: url($top-path) no-repeat left top
.box_bottom
height: 5px
background: url($bottom-path) no-repeat left top
margin-bottom: -2px
.box_content
padding: 10px $ui-padding $ui-padding $ui-padding
background: url($mid-path) repeat-y left top
color: #fff
.QandA
float: left
width: 639px
+ui-box("_frontpage")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment