Sha256: d5285f86b194929bc26c84e029c714a6e76dedefab48a39488e829067b822721

Contents?: true

Size: 831 Bytes

Versions: 3

Compression:

Stored size: 831 Bytes

Contents

/* New test using em output */
$base-font-size: 18px;
$base-line-height: $base-font-size * 1.4;
$rhythm-unit: em;
$default-rhythm-border-style: solid #aaa;

@import "compass/typography/vertical_rhythm";

@include establish-baseline;

.container {
	@include debug-vertical-alignment;
}

p {
	@include margin-leader;
	@include margin-trailer;
}

th,
td {
	@include rhythm-padding(.25);
}

// Incremental leading made easy!
.caption {
	@include adjust-font-size-to(13px, 4/5);
}

.spaced-out {
	@include adjust-leading-to(1.5);
}

blockquote {
	@include rhythm-margins;
	padding: 0 rhythm();
}

.fig-quote {
	> blockquote {
		@include trailer(.5);
	}
	.source {
		@include adjust-font-size-to(13px, auto);
		@include trailer(.5, 13px);
	}
}

.panel {
	@include adjust-font-size-to(16px);
	@include rhythm-borders($font-size: 16px);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
compass-1.0.0.alpha.18 test/fixtures/stylesheets/compass/sass/vertical_rhythm_with_ems.scss
compass-1.0.0.alpha.17 test/fixtures/stylesheets/compass/sass/vertical_rhythm_with_ems.scss
compass-1.0.0.alpha.16 test/fixtures/stylesheets/compass/sass/vertical_rhythm_with_ems.scss