Update Ansible docsite CSS to fix multi-page printing issue (#51472) (#55666)

* Update css to fix multi-page printing issue
* Add margin edit

(cherry picked from commit 51ac4d3441)
pull/55714/head
Sandra McCann 6 years ago committed by Alicia Cozine
parent e093b8a07e
commit 22194345d0

@ -52,6 +52,7 @@ td{vertical-align:top}
.relative{position:relative}
big,small{font-size:100%}
@media print{html,body,section{background:none !important}
.wy-nav-content{position:relative!important}
*{box-shadow:none !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}
a,a:visited{text-decoration:underline}
.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}
@ -59,7 +60,8 @@ pre,blockquote{page-break-inside:avoid}
thead{display:table-header-group}
tr,img{page-break-inside:avoid}
img{max-width:100% !important}
@page{margin:0.5cm}
@page{margin:20px!important}
.DocSite-nav{display:none!important}
p,h2,.rst-content .toctree-wrapper p.caption,h3{orphans:3;widows:3}
h2,.rst-content .toctree-wrapper p.caption,h3{page-break-after:avoid}
}
@ -1854,4 +1856,3 @@ span[id*='MathJax-Span']{color:#404040}
@font-face{font-family:"Lato";font-style:italic;font-weight:700;src:local("Lato Bold Italic"),local("Lato-BoldItalic"),url(../fonts/Lato-BoldItalic.ttf) format("truetype")}
@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:400;src:local("Roboto Slab Regular"),local("RobotoSlab-Regular"),url(../fonts/RobotoSlab-Regular.ttf) format("truetype")}
@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:700;src:local("Roboto Slab Bold"),local("RobotoSlab-Bold"),url(../fonts/RobotoSlab-Bold.ttf) format("truetype")}

Loading…
Cancel
Save