置顶公告:【置顶】关于临时开启评论区所有功能的公告(2022.10.22) | 【置顶】关于本站Widget恢复使用的公告
  • 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
  • 本镜像站和其他萌娘百科的镜像站无关,请注意分别。

Template:粉丝勋章/styles.css

贴贴♀百科,万娘皆可贴的百科全书!转载请标注来源页面的网页链接,并声明引自贴贴百科。内容不可商用。
跳到导航 跳到搜索
  1. .fans-medal-item {
  2. display: inline-flex;
  3. box-sizing: content-box;
  4. height: 14px;
  5. line-height: 14px;
  6. color: #fff;
  7. border: 1px solid transparent;
  8. white-space: nowrap;
  9. border-radius: 2px;
  10. 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;
  11. font-size: 12px;
  12. position: relative;
  13. }
  14. .fans-medal-item a {
  15. text-decoration: none;
  16. }
  17. .fans-medal-item.medal-guard {
  18. margin-left: 10px;
  19. }
  20. .fans-medal-label,
  21. .fans-medal-level {
  22. display: inline-block;
  23. box-sizing: border-box;
  24. height: 100%;
  25. text-align: center;
  26. float: left;
  27. border-top-left-radius: 1px;
  28. border-bottom-left-radius: 1px;
  29. }
  30. .fans-medal-level {
  31. width: 16px;
  32. background: #fff;
  33. color: transparent;
  34. }
  35. .fans-medal-label {
  36. justify-content: center;
  37. align-items: center;
  38. min-width: 12px;
  39. padding: 0 4px;
  40. color: #fff;
  41. }
  42. .fans-medal-label.medal-guard {
  43. padding-left: 13px;
  44. }
  45. .fans-medal-label .medal-deco {
  46. position: absolute;
  47. left: -10px;
  48. top: -4px;
  49. width: 22px;
  50. height: 22px;
  51. }
  52. .fans-medal-content {
  53. display: inline-block;
  54. }
  55. /* [[Category:在模板名字空间下的CSS页面]] */