remove 'underline.png' reference from vertical-rhythms.

This commit is contained in:
Eric Meyer 2011-11-10 15:04:49 -07:00
parent 298a97d7bb
commit 33ee8b0969

View File

@ -1,3 +1,5 @@
@import "compass/layout/grid-background";
// The base font size
$base-font-size: 16px !default;
@ -58,8 +60,14 @@ $base-half-leader: $base-leader / 2;
}
// Show a background image that can be used to debug your alignments.
@mixin debug-vertical-alignment($img: 'underline.png') {
background: url($img);
// include the $img argument if you would rather use your own image than the
// Compass default gradient image.
@mixin debug-vertical-alignment($img: false) {
@if $img {
background: image-url($img);
} @else {
@include baseline-grid-background($base-rhythm-unit);
}
}
// Adjust a block to have a different font size and leading to maintain the rhythm.