模板:粉丝勋章/styles.css

来自维阿百科
< 模板:粉丝勋章
霓虹灯鱼讨论 | 贡献2022年7月8日 (五) 21:15的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索
.fans-medal-item {
    display: inline-flex;
    height: 14px;
    line-height: 14px;
    color: #fff;
    border: 1px solid transparent;
    white-space: nowrap;
    border-radius: 2px;
    font-family: "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", "微软雅黑", "Microsoft Sans Serif", -apple-system, "Noto Sans", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
    font-size: 12px;
    position: relative;
}

.fans-medal-item a {
    text-decoration: none;
}

.fans-medal-item.medal-guard {
    margin-left: 10px;
}

.fans-medal-label,
.fans-medal-level {
    display: inline-block;
    box-sizing: border-box;
    height: 100%;
    text-align: center;
    float: left;
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
}

.fans-medal-level {
    width: 16px;
    background: #fff;
    color: transparent;
}

.fans-medal-label {
    justify-content: center;
    align-items: center;
    min-width: 12px;
    padding: 0 4px;
    color: #fff;
}

.fans-medal-label.medal-guard {
    padding-left: 13px;
}

.fans-medal-label .medal-deco {
    position: absolute;
    left: -10px;
    top: -4px;
    width: 22px;
    height: 22px;
}

.fans-medal-content {
    display: inline-block;
}
/* [[Category:在模板名字空间下的CSS页面]] */