Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tools.html2print
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
osp
tools.html2print
Commits
03eeb654
Commit
03eeb654
authored
Mar 04, 2015
by
colm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates the content to Flatland
parent
aba73052
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
138 additions
and
49 deletions
+138
-49
assets/css/page.less
assets/css/page.less
+4
-4
assets/css/typography.less
assets/css/typography.less
+2
-1
assets/js/page.js
assets/js/page.js
+1
-1
content.html
content.html
+130
-42
index.html
index.html
+1
-1
No files found.
assets/css/page.less
View file @
03eeb654
/* __________________________________ LOCAL SETTINGS __________________________________ */
@header-height: 10mm;
@header-text: "
testing printing in html
";
@header-text: "
A Romance of Many Dimensions
";
@footer-height: 10mm;
@footer-text: counter(page-counter);
...
...
@@ -84,7 +84,7 @@
body {
font-size: 85%;
line-height: 1.
2
5;
line-height: 1.5;
}
h1,
h2,
...
...
@@ -93,11 +93,11 @@ h3 {
margin-bottom: 0;
}
h1 {
font-size:
1.5
em;
font-size:
2
em;
padding: 1.45833em 0;
}
h2 {
font-size: 1.
33333
em;
font-size: 1.
5
em;
padding: 1.25em 0;
}
h3 {
...
...
assets/css/typography.less
View file @
03eeb654
p{
margin-bottom: 20px;
font-family: 'Lora', serif;
text-indent: 15px;
text-rendering: optimizeLegibility;
}
assets/js/page.js
View file @
03eeb654
$
(
function
()
{
// Choose the number of pages of the document
var
nb_page
=
4
;
var
nb_page
=
6
;
for
(
i
=
1
;
i
<
nb_page
;
i
++
){
$
(
"
#master-page
"
).
clone
().
attr
(
"
id
"
,
"
page-
"
+
i
).
insertBefore
(
$
(
"
#master-page
"
));
...
...
content.html
View file @
03eeb654
This diff is collapsed.
Click to expand it.
index.html
View file @
03eeb654
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
class=
"normal"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Belgian Cook Book
</title>
<title>
HTML2print
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"assets/lib/reset.css"
/>
<link
rel=
"stylesheet"
href=
"main.less"
type=
"text/less"
media=
"all"
charset=
"utf-8"
>
...
...
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