Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
refs-specifications
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julie Blanc
refs-specifications
Commits
40b59b2a
Commit
40b59b2a
authored
Aug 01, 2018
by
Julie Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change link to the script
parent
a52e8ed1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
14 deletions
+5
-14
counter-page.html
counter-page/counter-page.html
+2
-7
counter-pages.html
counter-pages/counter-pages.html
+3
-7
counter-pages.pdf
counter-pages/counter-pages.pdf
+0
-0
No files found.
counter-page/counter-page.html
View file @
40b59b2a
...
...
@@ -4,10 +4,10 @@
<meta
http-equiv=
"Content-Type"
content=
"text/html;charset=utf-8"
/>
<meta
http-equiv=
"Content-Style-Type"
content=
"text/css"
/>
<title>
Fichier test
counter(page)
</title>
<script
src=
"http
://localhost:9090
/dist/paged.polyfill.js"
></script>
<script
src=
"http
s://unpkg.com/pagedjs
/dist/paged.polyfill.js"
></script>
<style>
...
...
@@ -17,16 +17,11 @@
@page
{
size
:
6in
8in
;
margin
:
20mm
20mm
;
/* border: solid 1px black; */
@bottom-left{
content
:
counter
(
page
);
}
}
/* h1{
break-before: page;
page-break-before: always;
} */
p
{
line-height
:
22px
;
...
...
counter-pages/counter-pages.html
View file @
40b59b2a
...
...
@@ -4,10 +4,10 @@
<meta
http-equiv=
"Content-Type"
content=
"text/html;charset=utf-8"
/>
<meta
http-equiv=
"Content-Style-Type"
content=
"text/css"
/>
<title>
Fichier test
counter(pages)
</title>
<script
src=
"http
://localhost:9090
/dist/paged.polyfill.js"
></script>
<script
src=
"http
s://unpkg.com/pagedjs
/dist/paged.polyfill.js"
></script>
<style>
...
...
@@ -17,16 +17,12 @@
@page
{
size
:
6in
8in
;
margin
:
20mm
20mm
;
/* border: solid 1px black; */
@bottom-left{
content
:
counter
(
page
)
" / "
counter
(
pages
)
;
}
}
h1
{
break-before
:
page
;
page-break-before
:
always
;
}
p
{
line-height
:
22px
;
...
...
counter-pages/counter-pages.pdf
View file @
40b59b2a
No preview for this file type
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