优化单页打印

This commit is contained in:
Minho
2018-06-06 19:52:49 +08:00
parent c50895d6ba
commit d0d7af0ff1
4 changed files with 22 additions and 3 deletions

View File

@@ -139,6 +139,7 @@ table>tbody>tr:hover{
border-right: 1px solid #ddd;
background-color: #fafafa;
}
.m-manual .manual-tab .tab-navg {
zoom:1;border-bottom: 1px solid #ddd
}
@@ -467,6 +468,7 @@ table>tbody>tr:hover{
min-width: inherit;
}
}
.manual-article .article-content .article-body{
min-height: 90px;
padding: 5px;

View File

@@ -2,6 +2,7 @@ body {
position: relative;
font-family: Verdana, "Lantinghei SC", "Hiragino Sans GB", "Microsoft Yahei", Helvetica, arial, \5b8b\4f53, sans-serif;
}
a{
text-decoration: none;
}

6
static/css/print.css Normal file
View File

@@ -0,0 +1,6 @@
body {font-size: 12pt !important;}
.m-manual .manual-left,.navbar {display: none;}
.m-manual .manual-right{left: 0;}
pre, code {white-space: pre-wrap !important;word-wrap: break-word !important;}
a:link, a:visited {color: blue !important;text-decoration: underline !important;}
body a:link:after, body a:visited:after {content: " (" attr(href) ") ";}