1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

* Update css to fix multi-page printing issue

* Add margin edit
This commit is contained in:
Bianca Henderson 2019-01-31 19:36:38 -05:00 committed by Alicia Cozine
parent c8484e19ca
commit 51ac4d3441

View file

@ -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")}