.box {
    border-radius: 3px;
    padding: 1px 4px;
    /* font-family: 'Lato', 'SimHei', 'STHeiti', 'SimHei', 'Serif'; */
    font-size: 85%;
}

.box-blue,
.badge-primary {
    background-color: rgba(66, 139, 202, 0.5);
    color: #1d4ed8;
}

.box-green,
.badge-success {
    background-color: rgba(92, 184, 92, 0.5);
    color: #15803d;
}

.box-red,
.badge-danger {
    background-color: rgba(217, 83, 79, 0.5);
    color: #b91c1c;
}

.box-yellow,
.badge-warning {
    background-color: rgba(240, 173, 78, 0.5);
    color: #a16207;
}

.box-gray {
    background-color: #a0a0a0;
}

/* 修复 \overline 不显示的问题（非最优解）, src: https://github.com/mathjax/MathJax/issues/2701#issuecomment-1209302827 */
mjx-stretchy-h.mjx-c2013 {
    border-top: 1px solid;
}

/* xg 纠正偏航的 icon */
.md-typeset :is(.emojione, .twemoji, .gemoji) {
    vertical-align: sub;
}

.md-typeset .admonition,
.md-typeset details {
    font-size: inherit;
}

/*
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
*/

.milestone {
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 16px;
    background: linear-gradient(to right, #7ED56F, #28B485);
    color: white;
    font-size: 0.8em;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.milestone-blue {
    background: linear-gradient(to right, #3498db, #2980b9);
}

.milestone-green {
    background: linear-gradient(to right, #2ecc71, #27ae60);
}

.milestone-red {
    background: linear-gradient(to right, #e74c3c, #c0392b);
}

.milestone-orange {
    background: linear-gradient(to right, #e67e22, #d35400);
}

.milestone-purple {
    background: linear-gradient(to right, #8e44ad, #8e44ad);
}

.milestone-yellow {
    background: linear-gradient(to right, #f1c40f, #f39c12);
}

.milestone-grey {
    background: linear-gradient(to right, #95a5a6, #7f8c8d);
}