/* 二级标题前缀装饰 */ h2 .mw-headline::before { content: ""; width: 50px; height: 50px; background-image: url("https://img.moegirl.org.cn/common/6/65/%E8%B5%9B%E9%A9%AC%E5%A8%98_%E9%87%91%E8%B9%84%E9%93%81%E5%9B%BE%E6%A0%87.png"); position: absolute; background-size: 25px; background-repeat: no-repeat; left: 3px; top: 3px; } h2 .mw-headline { font-family: "sans-serif"; position: relative; padding-left: 30px; } /* 无序列表前缀装饰(额外加了一些规则以免此显示规则影响目录、画廊的正常显示) */ ul { list-style: none; } ul > li::before { content: "🦒 "; } #toc ul > li::before { content: ""; display: none; } ul > li.gallerybox::before { content: ""; display: none; }