Skip to content

Commit

Permalink
Remove experimental CSS features, might be related to #22
Browse files Browse the repository at this point in the history
  • Loading branch information
timvink committed Oct 21, 2020
1 parent ac2a17a commit 277f196
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mkdocs_print_site_plugin/css/print-site.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ ul li.toc-nav-section-title {
/* included bookmarks on h1 and h2
Doesn't work, but included In case Chrome gets support
for these experimental CSS features that define PDF bookmarks */
#print-site-page h1 {
/* #print-site-page h1 {
bookmark-level: 1;
bookmark-label: content();
-ah-bookmark-level: 1;
Expand All @@ -172,7 +172,7 @@ ul li.toc-nav-section-title {
bookmark-label: content();
-ah-bookmark-level: 2;
-ro-pdf-bookmark-level: 2;
}
} */

/* Remove print site banner */
#print-site-banner { display: none; }
Expand Down Expand Up @@ -224,14 +224,14 @@ ul li.toc-nav-section-title {
}


@page {
/* @page { */

/*
Note this CSS file is added to all MkDocs pages
So this @page logic will affect print of all pages
*/

/* Prevent image page overflow */
img { max-width: 500px !important; }
/* img { max-width:500px !important; } */

}
/* } */

0 comments on commit 277f196

Please sign in to comment.