remove 'underline.png' reference from vertical-rhythms.
This commit is contained in:
parent
298a97d7bb
commit
33ee8b0969
@ -1,3 +1,5 @@
|
|||||||
|
@import "compass/layout/grid-background";
|
||||||
|
|
||||||
// The base font size
|
// The base font size
|
||||||
$base-font-size: 16px !default;
|
$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.
|
// Show a background image that can be used to debug your alignments.
|
||||||
@mixin debug-vertical-alignment($img: 'underline.png') {
|
// include the $img argument if you would rather use your own image than the
|
||||||
background: url($img);
|
// 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.
|
// Adjust a block to have a different font size and leading to maintain the rhythm.
|
||||||
|
Loading…
Reference in New Issue
Block a user