[svnbook] r4474 committed - * www/bin/build-and-deploy.py...
svnbook at googlecode.com
svnbook at googlecode.com
Fri May 3 11:53:03 CDT 2013
Revision: 4474
Author: cmpilato at gmail.com
Date: Fri May 3 09:52:53 2013
Log: * www/bin/build-and-deploy.py
(adsense_css): Add media overrides to avoid showing AdSense ads and
remove crazy body margins when printing.
http://code.google.com/p/svnbook/source/detail?r=4474
Modified:
/www/bin/build-and-deploy.py
=======================================
--- /www/bin/build-and-deploy.py Thu Aug 11 09:51:36 2011
+++ /www/bin/build-and-deploy.py Fri May 3 09:52:53 2013
@@ -204,6 +204,14 @@
#adsense_bottom
{
}
+ at media print {
+ body {
+ margin: 0;
+ }
+ #adsense_left, #adsense_bottom {
+ display: none;
+ }
+}
"""
def add_adsense_left_html(file):
More information about the svnbook-dev
mailing list