-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsheets-of-paper-a4.css
More file actions
29 lines (23 loc) · 1017 Bytes
/
sheets-of-paper-a4.css
File metadata and controls
29 lines (23 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*!
* HTML-Sheets-of-Paper (https://github.com/delight-im/HTML-Sheets-of-Paper)
* Copyright (c) delight.im (https://www.delight.im/)
* Licensed under the MIT License (https://opensource.org/licenses/MIT)
*/
@import "sheets-of-paper.css";
.page {
/* Styles for better appearance on screens only -- are reset to defaults in print styles later */
/* Reflect the paper width in the screen rendering (must match size from @page rule) */
width: 21cm;
/* Reflect the paper height in the screen rendering (must match size from @page rule) */
min-height: 29.7cm;
/* Reflect the actual page margin/padding on paper in the screen rendering (must match margin from @page rule) */
padding: 1.5cm;
}
/* Use CSS Paged Media to switch from continuous documents to sheet-like documents with separate pages */
@page {
/* You can only change the size, margins, orphans, widows and page breaks here */
/* Paper size and page orientation */
size: A4 portrait;
/* Margin per single side of the page */
margin: 1cm;
}