All Downloads are FREE. Search and download functionalities are using the official Maven repository.

css.default.scss Maven / Gradle / Ivy

/*
 * Parameters injected by html-to-pef.convert
 */

$page-width: 40 !default;
$page-height: 25 !default;
$maximum-number-of-sheets: 70 !default;
$levels-in-footer: 6 !default;
$hyphenation: true !default;
$line-spacing: single !default;
$capital-letters: true !default;
$include-captions: true !default;
$include-images: true !default;
$include-line-groups: true !default;
$include-production-notes: false !default;
$show-braille-page-numbers: true !default;
$show-print-page-numbers: true !default;
$force-braille-page-break: false !default;

@page {
	size: $page-width $page-height;
}

@volume {
	max-length: $maximum-number-of-sheets;
}

#generated-document-toc {
	flow: document-toc;
	display: -obfl-toc;
	-obfl-toc-range: document;
}

#generated-volume-toc {
	flow: volume-toc;
	display: -obfl-toc;
	-obfl-toc-range: volume;
}

@for $level from 1 through 6 {
	@if $levels-in-footer >= $level {
		h#{$level} {
			string-set: footer content();
		}
	}
}

@if $hyphenation {
	:root {
		hyphens: auto;
	}
}

@if $line-spacing == double {
	:root {
		line-height: 2;
	}
}

@if $capital-letters != true {
	:root {
		text-transform: lowercase;
	}
}

caption {
	display: if($include-captions, block, none);
}

@if $include-images {
	img::after {
		content: attr(alt);
	}
}

.linegroup .line {
	display: if($include-line-groups, block, inline);
}

.prodnote {
	display: if($include-production-notes, block, none);
}

.page-front,
.page-normal,
.page-special {
	@if $show-print-page-numbers {
		string-set: print-page attr(title);
	}
	@if $force-braille-page-break {
		page-break-before: always;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy