-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d6ab5d
commit 56ead17
Showing
3 changed files
with
144 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
:root { | ||
--color-white: #fdfdfd; | ||
--shadow-black: rgba(0, 0, 0, 0.2); | ||
--margin: 4px; | ||
font-size: 18px; | ||
} | ||
html { | ||
color: #393939; | ||
font-family: "Heebo"; | ||
/* font-size: 22px; */ | ||
font-weight: 300; | ||
font-size: 11pt; | ||
line-height: 1.5; | ||
margin: 0 auto; | ||
max-width: 768px; | ||
} | ||
|
||
html body h1 { | ||
color: #002b3d; | ||
/* color: #fff; */ | ||
font-size: 28pt; | ||
margin: 0cm 0cm 0cm 0cm; | ||
break-before: always; | ||
width: 100%; | ||
} | ||
|
||
.pagedjs_page { | ||
background-color: var(--color-white); | ||
margin: 10px auto; | ||
flex: none; | ||
box-shadow: 0 0 0 1px var(--shadow-black); | ||
} | ||
|
||
@page { | ||
size: A4; | ||
@top-left { | ||
background: #4ac7f0; | ||
content: ""; | ||
display: block; | ||
height: 0.05cm; | ||
opacity: 0.5; | ||
width: 100%; | ||
} | ||
|
||
@top-center { | ||
background: #4ac7f0; | ||
content: ""; | ||
display: block; | ||
height: 0.05cm; | ||
opacity: 0.5; | ||
width: 100%; | ||
} | ||
|
||
@top-right { | ||
content: string(heading); | ||
font-size: 9pt; | ||
height: 1cm; | ||
vertical-align: middle; | ||
width: 100%; | ||
} | ||
|
||
@bottom-center { | ||
background: #4ac7f0; | ||
content: ""; | ||
display: block; | ||
height: 0.05cm; | ||
opacity: 0.5; | ||
width: 100%; | ||
} | ||
|
||
@bottom-right { | ||
background: #4ac7f0; | ||
content: "Page " counter(page) " of " counter(pages); | ||
height: 1cm; | ||
text-align: center; | ||
width: 1cm; | ||
} | ||
} | ||
|
||
@media print { | ||
h1 { | ||
page-break-before: always !important; | ||
break-before: always !important; | ||
-webkit-break-before: always !important; | ||
} | ||
} |