.center {
    display: block;
    margin: 0 auto;
}
@page {
    size: A4;
    margin: 20mm 10mm 20mm 10mm;
    counter-increment: page;
    font-family: "Material Icons", "Roboto", Arial, sans-serif;
    white-space: pre;
    color: grey;
    @top-right {
        content: 'Chipintelli';
    }
    @top-center {
        content: string(chapter);
    }
    @bottom-center {
        content: 'page ' counter(page);
    }
}


/*margin去除多余间距*/
/* 强制移除 md-nav__container 的 margin */
.md-nav__link.md-nav__container {
    margin: 0 !important;  /* 用 !important 确保覆盖 */
}


/*在 MkDocs 中，要实现点击按钮或链接即可将当前页面下载为 PDF 的功能-样式*/
/* 打印样式 */
@media print {
    .md-sidebar, .md-header, .md-footer {
        display: none;
    }
    .md-content {
        margin: 0;
        padding: 0;
    }
}

/* 按钮样式 */
button[onclick="window.print()"] {
    color: rgb(32, 148, 243);  /* 蓝色（Google Blue） */
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
}

button[onclick="window.print()"]:hover {
    color: rgb(66, 135, 255);  /* 浅紫色（Lilac） */
}