Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.html2print
Commits
84c80d23
Commit
84c80d23
authored
Apr 30, 2015
by
svilayphiou
Browse files
readme small fixes
parent
5e369b47
Changes
1
Hide whitespace changes
Inline
Side-by-side
assets/css/html2print.less
View file @
84c80d23
...
...
@@ -2,29 +2,31 @@
* Computation
*/
/* the size of a 2 pages spread */
@spread: @page-width * 2;
/* the extra space around the page */
@crop: @crop-size + @bleed; // TODO: find a more appropriate name
/* EXTRA SPACE AROUND THE PAGE: BLEED + CROP */
// TODO: find a more appropriate name
@crop: @crop-size + @bleed;
/*
geometry of the print sheet
*/
/*
GEOMETRY OF THE PAPER SHEET
*/
@paper-width: @page-width + ( @crop * 2 );
@paper-height: @page-height + ( @crop * 2 );
/* SIZE OF SPREAD */
@spread: @page-width * 2;
/**
* D
efinition of the page
* D
EFINITION OF THE PAPER SHEET
*/
@page {
/* Support for `marks` is missing in every single web browser out there*/
size: @paper-width @paper-height; // format avec cropmarks
size: @paper-width @paper-height;
margin: 0;
}
/**
* C
anvas
* C
ANVAS
*/
@media all {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment