From d59f95c54a65bf7e2d9ded0ecfc1af51a0f6ade4 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Sun, 24 Feb 2013 10:41:51 +0800 Subject: [PATCH] css comments --- share/base.css | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/share/base.css b/share/base.css index dce781a..aaf3f02 100644 --- a/share/base.css +++ b/share/base.css @@ -41,18 +41,18 @@ position:absolute; top:0; left:0px; - margin:0; /* required by pdf2htmlEX.js for page visibility test */ + margin:0; padding:0; - border-width:0; + border-width:0; /* required for lazy page loading in pdf2htmlEX.js (page visibility test) */ } @media screen { /* for sidebar */ #pdf-outline.opened { display:block; } #pdf-outline.opened + #pdf-main { left:200px; } - /* `bottom' and `right' are required by pdf2htmlEX.js if you want lazy page loading - * you can also limit width and/or height of #pdf-main - */ #pdf-main { + /* `bottom' and `right' are required for lazy page loading in pdf2htmlEX.js (page visibility test) + * alternatively you may set width and height + */ bottom:0; right:0; overflow:auto; @@ -64,8 +64,7 @@ html { margin:0; } body { margin:0; - /* enable printing background images for WebKit */ - -webkit-print-color-adjust:exact; + -webkit-print-color-adjust:exact; /* enable printing background images for WebKit */ } #pdf-main { width:auto; @@ -74,7 +73,6 @@ background-color:transparent; } } - /* Part 2: Page Elements: Modify with caution * The followings are base classes, which are meant to be override by PDF specific classes * So do not increase the specificity (e.g. ".d" -> "#pdf-main .d") @@ -94,8 +92,8 @@ height:100%; background-color:white; overflow: hidden; - margin:0; /* required by pdf2htmlEX.js for page visibility test */ - border-width:0; + margin:0; + border-width:0; /* required by pdf2htmlEX.js for page visibility test */ } .b { /* content of a page */ position:absolute;