模版:CSS/图标.css:修订间差异
< 模版:CSS
HW(留言 | 贡献) (创建页面,内容为“ →=========================: →========链接后加logo========: →=========================: →= Youtube =: #page-content a[href*="youtube.com"]:after , .hovertip .f-content a[href*="youtube.com"]:after , #page-content a[href*="youtu.be"]:after , .hovertip .f-content a[href*="youtu.be"]:after{ content: ''; display: inline-block; width: 24px; height: 24px; background-size: cover; vertical-align: middle; background-image: url(…”) |
|||
| 第1行: | 第1行: | ||
/*=========================*/ | |||
/*========链接后加logo========*/ | /*========链接后加logo========*/ | ||
/*=========================*/ | /*=========================*/ | ||
/*= Youtube =*/ | /*= Youtube =*/ | ||
# | #mw-content-text a[href*="youtube.com"]:after , #mw-content-text a[href*="youtu.be"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第11行: | 第11行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/6/63/Icon_youtube.png'); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*= BiliBili =*/ | /*= BiliBili =*/ | ||
# | #mw-content-text a[href*="bilibili.com"]:after , #mw-content-text a[href*="b23.tv"]:after { | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第22行: | 第25行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/e/ea/Icon_bilibili.png'); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
.bilibili-player- | .bilibili-player-link a:after{ | ||
width: 0px !important; | width: 0px !important; | ||
height: 0px !important; | |||
background-image: url(#) !important; | background-image: url(#) !important; | ||
} | } | ||
| 第34行: | 第40行: | ||
/*= LM英站 =*/ | /*= LM英站 =*/ | ||
# | #mw-content-text a[href*="lostmediawiki.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第42行: | 第48行: | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https://lostmedia.wikidot.com/local--files/nav:side/LMW'); | background-image: url('https://lostmedia.wikidot.com/local--files/nav:side/LMW'); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*= Fandom =*/ | /*= Fandom =*/ | ||
# | #mw-content-text a[href*="fandom.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第54行: | 第63行: | ||
background-image: url('https://lostmedia.wikidot.com/local--files/nav:side/Fandom'); | background-image: url('https://lostmedia.wikidot.com/local--files/nav:side/Fandom'); | ||
transform: translateY(-3px) scale(0.9); | transform: translateY(-3px) scale(0.9); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*= WatZaSong =*/ | /*= WatZaSong =*/ | ||
# | #mw-content-text a[href*="watzatsong.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第64行: | 第76行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/c/c2/Icon_watzatsong.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*= 百度、百度知道、百度百科、贴吧 =*/ | /*= 百度、百度知道、百度百科、贴吧 =*/ | ||
# | #mw-content-text a[href*="baidu.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第76行: | 第91行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/d/d1/Icon_baidu.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*= 豆瓣 =*/ | /*= 豆瓣 =*/ | ||
# | #mw-content-text a[href*="douban.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第88行: | 第106行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/8/84/Icon_douban.jpg'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*= atwiki =*/ | /*= atwiki =*/ | ||
# | #mw-content-text a[href*="w.atwiki.jp"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第102行: | 第123行: | ||
background-image: url('https://lostmedia.wikidot.com/local--files/start/atwiki_logo_small.svg'); | background-image: url('https://lostmedia.wikidot.com/local--files/start/atwiki_logo_small.svg'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/* Reddit*/ | /* Reddit*/ | ||
# | #mw-content-text a[href*="reddit.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第112行: | 第136行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/c/c7/Icon_Reddit.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/* 维基百科*/ | /* 维基百科*/ | ||
# | #mw-content-text a[href*="wikipedia.org"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第124行: | 第151行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/b/b3/Icon_Wikipedia.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/* 维基共享资源 */ | /* 维基共享资源 */ | ||
# | #mw-content-text a[href*="commons.wikimedia.org"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第136行: | 第166行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/3/31/Icon_commons.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/* lost waves wiki*/ | /* lost waves wiki*/ | ||
# | #mw-content-text a[href*="lostwaves.org"]:after, | ||
#mw-content-text a[href*="lostwaves.wiki"]:after{ | |||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第148行: | 第182行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/9/91/Icon_lww.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*求闻百科*/ | /*求闻百科*/ | ||
# | #mw-content-text a[href*="qiuwenbaike.cn"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第160行: | 第197行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/4/44/Icon_qiuwenbaike.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*萌娘百科*/ | /*萌娘百科*/ | ||
# | #mw-content-text a[href*="moegirl.org.cn"]:after , #mw-content-text a[href*="moegirl.org"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第172行: | 第212行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/1/11/Icon_mengniangbaike.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*微博*/ | /*微博*/ | ||
# | #mw-content-text a[href*="weibo.cn"]:after , #mw-content-text a[href*="weibo.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第185行: | 第228行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/7/76/Icon_weibo.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/* 网易云音乐 */ | /* 网易云音乐 */ | ||
# | #mw-content-text a[href*="music.163.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第197行: | 第243行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/d/d9/Icon_wyy.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/* 酷狗音乐 */ | /* 酷狗音乐 */ | ||
# | #mw-content-text a[href*="kugou.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第209行: | 第258行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/3/3f/Icon_kugou.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*推特*/ | /*推特*/ | ||
# | #mw-content-text a[href*="://x.com"]:after , #mw-content-text a[href*="twitter.com"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第221行: | 第273行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/b/b4/Icon_x.png'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
} | } | ||
/*= 互联网档案馆 =*/ | /*= 互联网档案馆 =*/ | ||
# | #mw-content-text a[href*="://archive.org"]:after , #mw-content-text a[href*=".archive.org"]:after{ | ||
content: ''; | content: ''; | ||
display: inline-block; | display: inline-block; | ||
| 第233行: | 第288行: | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
background-image: url('https:// | background-image: url('https://lostmediawiki.cn/images/6/6b/Icon_archive.jpg'); | ||
transform: translateY(-3px) scale(0.8); | transform: translateY(-3px) scale(0.8); | ||
mask-image: unset; | |||
-webkit-mask-image: unset; | |||
background-color: unset; | |||
background- | |||
} | } | ||
2026年5月17日 (日) 13:28的版本
/*=========================*/
/*========链接后加logo========*/
/*=========================*/
/*= Youtube =*/
#mw-content-text a[href*="youtube.com"]:after , #mw-content-text a[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[href*="bilibili.com"]:after , #mw-content-text a[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[href*="lostmediawiki.com"]:after{
content: '';
display: inline-block;
width: 24px;
height: 24px;
background-size: cover;
vertical-align: middle;
background-image: url('https://lostmedia.wikidot.com/local--files/nav:side/LMW');
mask-image: unset;
-webkit-mask-image: unset;
background-color: unset;
}
/*= Fandom =*/
#mw-content-text a[href*="fandom.com"]:after{
content: '';
display: inline-block;
width: 24px;
height: 24px;
background-size: cover;
vertical-align: middle;
background-image: url('https://lostmedia.wikidot.com/local--files/nav:side/Fandom');
transform: translateY(-3px) scale(0.9);
mask-image: unset;
-webkit-mask-image: unset;
background-color: unset;
}
/*= WatZaSong =*/
#mw-content-text a[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[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[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[href*="w.atwiki.jp"]:after{
content: '';
display: inline-block;
width: 24px;
height: 24px;
background-size: cover;
vertical-align: middle;
background-image: url('https://lostmedia.wikidot.com/local--files/start/atwiki_logo_small.svg');
transform: translateY(-3px) scale(0.8);
mask-image: unset;
-webkit-mask-image: unset;
background-color: unset;
}
/* Reddit*/
#mw-content-text a[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[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[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[href*="lostwaves.org"]:after,
#mw-content-text a[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[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[href*="moegirl.org.cn"]:after , #mw-content-text a[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[href*="weibo.cn"]:after , #mw-content-text a[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[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[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[href*="://x.com"]:after , #mw-content-text a[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[href*="://archive.org"]:after , #mw-content-text a[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;
}