@import url("https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css");
@import url("https://cdn.jsdelivr.net/npm/misans@3.1.1/lib/misans-400-regular.min.css");

body {
    font-family: Misans, Helvetica, Tahoma, Arial, STXihei, "华文细黑", Heiti, "黑体", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", sans-serif;
}

code { font-family: 'Fira Code', monospace; }

@supports (font-variation-settings: normal) {
    code { font-family: 'Fira Code VF', monospace; }
}

/* add images center*/
.post-content img {
    margin: auto;
    display: block;
}

.powers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.powers > .power {
    font-size: 12px;
    padding: 2px 12px;
    margin: 12px 0 0 12px;
    border: 1px solid var(--primary);
    border-radius: 3px;
    position: relative;
    font-weight: bold;
}

.powers > .power:first-child {
    margin: 12px 0 0 0;
}


.powers > .power > .level {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;*/
    /*background: #4CAF50;*/
    display: block;
    height: 100%;
    z-index: -999;
}


.powers > .power > .level-proficient {
    width: 100%;
    background: #F06292;
}

.powers > .power > .level-mastered {
    width: 80%;
    background: #FFB74D;
}

.powers > .power > .level-competent {
    width: 60%;
    background: #64B5F6;
}

.powers > .power > .level-beginner {
    width: 40%;
    background: #4DB6AC;
}