Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JUNCA24 RevealJS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PGI15-Teaching
JUNCA24 RevealJS
Commits
d66cba6e
Commit
d66cba6e
authored
9 years ago
by
Hakim El Hattab
Browse files
Options
Downloads
Patches
Plain Diff
remove out of sync comments from pdf css
parent
42babeb4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
css/print/pdf.css
+12
-26
12 additions, 26 deletions
css/print/pdf.css
with
12 additions
and
26 deletions
css/print/pdf.css
+
12
−
26
View file @
d66cba6e
/* Default Print Stylesheet Template
by Rob Glazebrook of CSSnewbie.com
Last Updated: June 4, 2008
Feel free (nay, compelled) to edit, append, and
manipulate this file as you see fit. */
/* SECTION 1: Set default width, margin, float, and
background. This prevents elements from extending
beyond the edge of the printed page, and prevents
unnecessary background images from printing */
/**
* This stylesheet is used to print reveal.js
* presentations to PDF.
*
* https://github.com/hakimel/reveal.js#pdf-export
*/
*
{
-webkit-print-color-adjust
:
exact
;
...
...
@@ -29,8 +23,7 @@ html {
overflow
:
visible
;
}
/* SECTION 2: Remove any elements not needed in print.
This would include navigation, ads, sidebars, etc. */
/* Remove any elements not needed in print. */
.nestedarrow
,
.reveal
.controls
,
.reveal
.progress
,
...
...
@@ -42,16 +35,7 @@ html {
display
:
none
!important
;
}
/* SECTION 3: Set body font face, size, and color.
Consider using a serif font for readability. */
body
,
p
,
td
,
li
,
div
{
}
/* SECTION 4: Set heading font face, sizes, and color.
Differentiate your headings from your body text.
Perhaps use a large sans-serif for distinction. */
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
text-shadow
:
0
0
0
#000
!important
;
}
...
...
@@ -60,8 +44,6 @@ h1,h2,h3,h4,h5,h6 {
font-family
:
Courier
,
'Courier New'
,
monospace
!important
;
}
/* SECTION 5: more reveal.js specific additions by @skypanther */
ul
,
ol
,
div
,
p
{
visibility
:
visible
;
position
:
static
;
...
...
@@ -99,6 +81,7 @@ ul, ol, div, p {
-ms-perspective-origin
:
50%
50%
;
perspective-origin
:
50%
50%
;
}
.reveal
.slides
section
{
page-break-after
:
always
!important
;
...
...
@@ -124,6 +107,7 @@ ul, ol, div, p {
-ms-transform
:
none
!important
;
transform
:
none
!important
;
}
.reveal
section
.stack
{
margin
:
0
!important
;
padding
:
0
!important
;
...
...
@@ -131,9 +115,11 @@ ul, ol, div, p {
height
:
auto
!important
;
min-height
:
auto
!important
;
}
.reveal
img
{
box-shadow
:
none
;
}
.reveal
.roll
{
overflow
:
visible
;
line-height
:
1em
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment