Sha256: 9a8c04cf05a9cfe9b5f2835ee11801bebb1b4065c59702a14539271f77e4ed24

Contents?: true

Size: 933 Bytes

Versions: 4

Compression:

Stored size: 933 Bytes

Contents

/*
 * Boxes
 */

.box {
	clear: both; /* Don't let hanging sidenotes overlap over boxes */
	background-color: inherit;
	color: inherit;
	font-weight: inherit;
	font-size: inherit;
	border: 0.5pt solid #ccc;
	margin: $line-height-default 0;
	padding: $line-height-default $line-height-default 0 $line-height-default;
}
p.box {
	padding-bottom: $line-height-default;
	text-indent: 0;
}
.box + p {
	text-indent: 0;
}
// But paragraphs after a box floated out of the flow must still be indented
.box.float-top + p,
.box.float-bottom + p
{
	text-indent: $line-height-default;
}
.box h1, .box h2, .box h3, .box h4, .box h5, .box h6 {
	margin-top: 0;
}
.box li p:last-of-type { /* Paragraphs within list items in a box */
	margin-bottom: 0;
}
.box dl:first-of-type { /* Definition lists inside a box */
	margin-top: 0;
}
.box dl:last-of-type { /* Definition lists inside a box */
	margin-bottom: 0;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
electric-book-classic-theme-0.1.3 _sass/partials/_print-boxes.scss
electric-book-classic-theme-0.1.2 _sass/partials/_print-boxes.scss
electric-book-classic-theme-0.1.1 _sass/partials/_print-boxes.scss
electric-book-classic-theme-0.1.0 _sass/partials/_print-boxes.scss