.center {
    display: block;
    margin: 0 auto;
}

.right {
    float: right;
}

.md-typeset .grid.cards>ul>li {
    display: flex;
    flex-direction: column;
    outline: 1px solid green;
    /* font-size: 100px; */
}

.grid.cards>ul>li {
    width: 880px;
    font-size: 18pt;
}

.md-typeset .grid {
    grid-gap: 10px 10px;
    display: block; 
    /* grid */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    margin: 10px 0;
}

.md-typeset .admonition>*, .md-typeset details>* {
    box-sizing: border-box;
    /* font-size: 16pt; */
}

.grid.cards {
    flex-grow: 5;
    /* Probably 2 would be enough, as the grids shouldn't hold too much text to begin with, but to be safe I set it to 5 */
}

/* .md-typeset pre>code {
    background-color: antiquewhite;
} */

.jp-InputPrompt,
.jp-OutputPrompt {
    display: none !important;
}
/* 页面顶部一级标题 */
/* article h1:first-of-type {
    display: none;
} */
 

/* 目录缩进 */
.md-nav__list {
    margin-left: 1em;
}
/* annoation tooltip */
/* .md-tooltip--active
{
    width: 50%;
} */

/* 去掉表格容器的固定滚动条，只有超宽才出现 */
.md-typeset table:not([class]) {
  overflow-x: hidden;
  overflow-y: hidden;
}

/* 表格公式字体 */
.md-typeset table .katex,
.md-typeset table mjx-container {
  font-size: 1em !important;
}

/* See: https://mkdocstrings.github.io/recipes/#prevent-selection-of-prompts-and-output-in-python-code-blocks */
.highlight .gp, .highlight .go { /* Generic.Prompt, Generic.Output */
  user-select: none;
}


/* 亮色模式 */
[data-md-color-scheme="default"] {
  --md-footer-bg-color: #4351af;
  --md-footer-fg-color: #1f2937;
}

/* 暗色模式 */
[data-md-color-scheme="slate"] {
  --md-footer-bg-color: #0f172a;
  --md-footer-fg-color: #cbd5e1;
}
