样式代码来源于互联网
<!-- 引入霞鹜文楷字体 -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.href = 'https://cdn.bootcdn.net/ajax/libs/lxgw-wenkai-screen-webfont/1.7.0/style.min.css';
document.head.appendChild(link);
</script>
<!-- 设置页面字体 -->
<style>
* {
font-family: 'LXGW WenKai Screen'; /* 设置所有元素使用霞鹜文楷字体 */
}
h1, h2, h3, h4, h5 {
font-family: 'LXGW WenKai Screen', sans-serif; /* 设置标题使用霞鹜文楷字体 */
}
</style>
<script>
window.CustomLogo = "https://oss.qumingla.online/images/IMG_2.jpg"; /* 自定义Logo */
window.DisableAnimatedMan = "true"; /* 关掉动画人物插图 */
window.ShowNetTransfer = "true"; /* 卡片显示上下行流量 */
window.CustomDesc ="Darling"; /* 自定义描述 */
window.CustomBackgroundImage="https://oss.qumingla.online/images/IMG_1_low.jpeg"; /* 页面背景图 */
window.CustomMobileBackgroundImage="https://oss.qumingla.online/images/IMG_1_low.jpeg"; /* 手机端背景图 */
</script>
<!-- 调整02半身图 -->
<script>
var observer = new MutationObserver(function(mutationsList, observer) {
var xpath = "/html/body/div/div/main/div[2]/section[1]/div[4]/div";
var container = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
if (container) {
observer.disconnect();
var existingImg = container.querySelector("img");
if (existingImg) {
container.removeChild(existingImg);
}
var imgElement = document.createElement("img");
imgElement.src = "https://oss.qumingla.online/images/IMG_3.gif"; /* 02半身图 */
imgElement.style.position = "absolute";
imgElement.style.right = "-5px";
imgElement.style.top = "-127px";
imgElement.style.zIndex = "10";
imgElement.style.width = "90px";
container.appendChild(imgElement);
}
});
var config = { childList: true, subtree: true };
observer.observe(document.body, config);
</script>