微件:CustomBackground
来自UTASOY
<style> .Cbackground {
position: fixed; background-size: cover!important; top: 0; width: 100%; height: 100%; z-index: -1; background-position: center!important;
}
- mw-content-container{background: rgba(255,255,255,0.6);}
- mw-content,.sidebar-chunk
{ background: rgba(255,255,255,0.7)!important; backdrop-filter: blur(20px); } </style> <script> RLQ.push(function() { var Cbackground = document.getElementById("Cbackground"); var file = Cbackground.getAttribute("data-file"); Cbackground.setAttribute('style','background:url('+file+')'); var wrapper = document.getElementById("mw-wrapper"); wrapper.appendChild(Cbackground); }); </script>
描述
来源
复制于OTOMAD WIKI,https://otomad.wiki。