官网:https://doc.oplist.org/

教程
隐藏底部版权信息:去掉页面底部的“由 AList 驱动和管理”字样 。
<style>.footer { display: none !important; }</style>
· 自定义全局字体:引入并设置一个优雅的字体,例如“霞鹜文楷” 。
<!– 在自定义头部引入字体库 –>
<link rel=”stylesheet” href=”https://cdn.staticfile.net/lxgw-wenkai-screen-webfont/1.7.0/lxgwwenkaigbscreen.min.css”>
<style>
* { font-family: ‘LXGW WenKai Screen’, sans-serif; } /* 应用字体 */
</style>
点击特效
<script>
(function() {
var a_idx = 0;
window.onclick = function(event) {
var a = new Array("❤富强❤", "❤民主❤", "❤文明❤", "❤和谐❤"); // 在这里修改点击出现的文字
var heart = document.createElement("b");
heart.onselectstart = new Function('event.returnValue=false');
document.body.appendChild(heart).innerHTML = a[a_idx];
a_idx = (a_idx + 1) % a.length;
heart.style.cssText = "position: fixed;left:-100%;";
var f = 13, x = event.clientX - f / 2 - 30, y = event.clientY - f, c = "rgb(" + (~~(Math.random() * 255)) + "," + (~~(Math.random() * 255)) + "," + (~~(Math.random() * 255)) + ")", a = 1, s = 0.8;
var timer = setInterval(function() {
if (a <= 0) { document.body.removeChild(heart); clearInterval(timer); }
else {
heart.style.cssText = "font-size:16px;cursor: default;position: fixed;color:" + c + ";left:" + x + "px;top:" + y + "px;opacity:" + a + ";transform:scale(" + s + ");";
y--; a -= 0.016; s += 0.002;
}
}, 15)
};
}());
</script>
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END












暂无评论内容