模版:CSS/图标.css

来自失传媒体中文维基
HW留言 | 贡献2026年5月17日 (日) 13:46的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索
/*=========================*/
 /*========链接后加logo========*/
/*=========================*/

/*= Youtube =*/
#mw-content-text a.external[href*="youtube.com"]:after , #mw-content-text a.external[href*="youtu.be"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/6/63/Icon_youtube.png');
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*= BiliBili =*/
#mw-content-text a.external[href*="bilibili.com"]:after , #mw-content-text a.external[href*="b23.tv"]:after {
content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
background-image: url('https://lostmediawiki.cn/images/e/ea/Icon_bilibili.png');
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}


.bilibili-player-link a:after{
width: 0px !important;
height: 0px !important;
background-image: url(#) !important;
}


/*= LM英站 =*/
#mw-content-text a.external[href*="lostmediawiki.com"]:after{
content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
background-image: url('https://lostmediawiki.cn/images/c/ca/Icon_LMW.png');
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*= Fandom =*/
#mw-content-text a.external[href*="fandom.com"]:after{
content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/9/98/Icon_Fandom.png');
    transform: translateY(-3px) scale(0.9);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*= WatZaSong =*/
#mw-content-text a.external[href*="watzatsong.com"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/c/c2/Icon_watzatsong.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*= 百度、百度知道、百度百科、贴吧 =*/
#mw-content-text a.external[href*="baidu.com"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/d/d1/Icon_baidu.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*= 豆瓣 =*/
#mw-content-text a.external[href*="douban.com"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/8/84/Icon_douban.jpg');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*= atwiki =*/
#mw-content-text a.external[href*="w.atwiki.jp"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/6/61/Icon_atwiki.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/* Reddit*/
#mw-content-text a.external[href*="reddit.com"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/c/c7/Icon_Reddit.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/* 维基百科*/
#mw-content-text a.external[href*="wikipedia.org"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/b/b3/Icon_Wikipedia.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/* 维基共享资源 */
#mw-content-text a.external[href*="commons.wikimedia.org"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/3/31/Icon_commons.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/* lost waves wiki*/
#mw-content-text a.external[href*="lostwaves.org"]:after,
#mw-content-text a.external[href*="lostwaves.wiki"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/9/91/Icon_lww.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*求闻百科*/
#mw-content-text a.external[href*="qiuwenbaike.cn"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/4/44/Icon_qiuwenbaike.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*萌娘百科*/
#mw-content-text a.external[href*="moegirl.org.cn"]:after , #mw-content-text a.external[href*="moegirl.org"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/1/11/Icon_mengniangbaike.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}


/*微博*/
#mw-content-text a.external[href*="weibo.cn"]:after , #mw-content-text a.external[href*="weibo.com"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/7/76/Icon_weibo.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/* 网易云音乐 */
#mw-content-text a.external[href*="music.163.com"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/d/d9/Icon_wyy.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/* 酷狗音乐 */
#mw-content-text a.external[href*="kugou.com"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/3/3f/Icon_kugou.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*推特*/
#mw-content-text a.external[href*="://x.com"]:after , #mw-content-text a.external[href*="twitter.com"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/b/b4/Icon_x.png');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}

/*= 互联网档案馆 =*/
#mw-content-text a.external[href*="://archive.org"]:after , #mw-content-text a.external[href*=".archive.org"]:after{
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    vertical-align: middle;
    background-image: url('https://lostmediawiki.cn/images/6/6b/Icon_archive.jpg');
    transform: translateY(-3px) scale(0.8);
    mask-image: unset;
    -webkit-mask-image: unset;
    background-color: unset;
}