This commit is contained in:
1 parent
be99e069df
commit
646fe61839
1 file changed
+9
-2
+9
-2
@@ -1542,12 +1542,19 @@ footer section p:first-child {
|
||||
|
||||
/* 打印优化 */
|
||||
@media print {
|
||||
/* 隐藏目录、浮动按钮面板、页脚、顶栏导航 */
|
||||
/* 强制浏览器打印背景颜色和图片(解决代码块和 admonition 没有背景色的问题) */
|
||||
* {
|
||||
-webkit-print-color-adjust: exact !important;
|
||||
print-color-adjust: exact !important;
|
||||
}
|
||||
|
||||
/* 隐藏目录、浮动按钮面板、页脚、顶栏导航、代码块操作按钮 */
|
||||
.TOC,
|
||||
#ctrler-panel,
|
||||
footer,
|
||||
header nav,
|
||||
header .mobile-menu-btn {
|
||||
header .mobile-menu-btn,
|
||||
.code-header-actions {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user