This commit is contained in:
1 parent
646fe61839
commit
33c0c53dfd
1 file changed
+3
-1
+3
-1
@@ -1542,10 +1542,12 @@ footer section p:first-child {
|
||||
|
||||
/* 打印优化 */
|
||||
@media print {
|
||||
/* 强制浏览器打印背景颜色和图片(解决代码块和 admonition 没有背景色的问题) */
|
||||
/* 强制浏览器打印背景颜色和图片,并移除所有阴影(解决分页处的奇怪阴影) */
|
||||
* {
|
||||
-webkit-print-color-adjust: exact !important;
|
||||
print-color-adjust: exact !important;
|
||||
box-shadow: none !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
/* 隐藏目录、浮动按钮面板、页脚、顶栏导航、代码块操作按钮 */
|
||||
|
||||
Reference in new issue
Block a user