当前位置:   article > 正文

Alist网盘美化常用代码V3专用_alist美化

alist美化

  1. <!-- 自定义壁纸&文件列表透明30% -->
  2. <style>
  3. .hope-ui-light{
  4. background-image: url("自定义图片地址") !important;
  5. background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-position-x:center;
  6. }
  7. .obj-box.hope-stack.hope-c-dhzjXW.hope-c-PJLV.hope-c-PJLV-igScBhH-css {
  8. background-color: rgba(255, 255, 255, 0.3) !important;
  9. }
  10. .hope-c-PJLV.hope-c-PJLV-ikSuVsl-css{
  11. background-color: rgba(255, 255, 255, 0.3) !important;
  12. }
  13. .hope-c-ivMHWx-hZistB-cv.hope-icon-button{
  14. background-color: rgba(255, 255, 255, 0.3) !important;
  15. }
  16. .hope-c-PJLV-ijgzmFG-css{
  17. background-color: rgba(255, 255, 255, 0.3) !important;
  18. }
  1. <!-- 隐藏底部信息Alist&管理文字去除 -->
  2. <style>
  3. .hope-c-PJLV-idrWMwW-css {
  4. display:none;
  5. }
  6. .hope-c-iHuheP {
  7. display:none;
  8. }
  9. .hope-c-PJLV-ihQbspH-css {
  10. display:none;
  11. }
  1. <!-- 添加备案信息 -->
  2. </style>
  3. <font color="#FFFFFF">
  4. <link href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/6.0.0/css/all.min.css" rel=" stylesheet ">
  5. <div id="customize" style="display:none;
  6. text-align:center;
  7. ">
  8. <br />
  9. <div style="font-size:13px;
  10. ">
  11. <span class="nav-item">
  12. <a class="nav-link" href="http://www.baidu.com/" target="_blank">
  13. <i class="fa-solid fa-copyright" style="color:#9932CC" aria-hidden="true"></i>
  14. 百度一下 |
  15. </a>
  16. </span>
  17. <span class="nav-item">
  18. <a class="nav-link" href="https://beian.miit.gov.cn/" target="_blank">
  19. <i class="fa fa-balance-scale" style="color:#9932CC;
  20. " aria-hidden="true"></i>
  21. 鄂ICP备xxxxxx号-1 |
  22. </a>
  23. </span>
  24. <span class="nav-item">
  25. <a class="nav-link" href="https://github.com/Xhofe/alist" target="_blank">
  26. <i class="fa fa-heart" style="color:#9932CC;
  27. " aria-hidden="true"></i>
  28. 由Alist驱动
  29. </a>
  30. </span>
  31. </div>
  32. <br />
  33. </div>
  34. <script>
  35. let interval = setInterval(() => {
  36. if (document.querySelector(".footer")) {
  37. document.querySelector("#customize").style.display = "";
  38. clearInterval(interval);
  39. }
  40. },200);
  41. </script>
  42. </font>

备案信息效果图:

  1. <!-- 隐藏登陆头像 -->
  2. <style>
  3. .hope-c-PJLV-ibwASZs-css {
  4. display:none;
  5. }

隐藏登陆头像效果图:

  1. <!-- 右上角天气 -->
  2. <iframe allowtransparency="true" frameborder="0" width="290" height="96" scrolling="no" src="//tianqi.2345.com/plugin/widget/index.htm?s=1&z=1&t=0&v=0&d=2&bd=0&k=&f=&ltf=009944&htf=cc0000&q=1&e=1&a=1&c=54511&w=290&h=96&align=center"></iframe>

天气效果图:

  1. <!-- 强制日间模式 -->
  2. <script>window.onload=function(){localStorage.setItem("hope-ui-color-mode","light")}</script>

计数娘:https://github.com/journey-ad/Moe-counter

  1. <!--播放器​-->
  2. <script src="https://myhkw.cn/player/js/jquery.min.js" type="text/javascript"></script>
  3. <script src="https://myhkw.cn/api/player/165761088297" id="myhk" key="165761088297" m="1"></script>
  4. </style>

播放器效果图:

  1. <!--看板娘 - 小黑猫-->
  2. <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
  3. <script>
  4. L2Dwidget.init({
  5. "model": {
  6. jsonPath: "https://unpkg.com/live2d-widget-model-hijiki/assets/hijiki.model.json", <!--这里改模型,前面后面都要改-->
  7. "scale": 1
  8. },
  9. "display": {
  10. "position": "left", <!--设置看板娘的上下左右位置-->
  11. "width": 100,
  12. "height": 200,
  13. "hOffset": 0,
  14. "vOffset": 0
  15. },
  16. "mobile": {
  17. "show": true,
  18. "scale": 0.5
  19. },
  20. "react": {
  21. "opacityDefault": 0.7, <!--设置透明度-->
  22. "opacityOnHover": 0.2
  23. }
  24. });
  25. window.onload = function() {
  26. $("#live2dcanvas").attr("style", "position: fixed; opacity: 0.7; left: 70px; bottom: 0px; z-index: 1; pointer-events: none;")
  27. }
  28. </script>
  29. </div>

  1. <!--看板娘 - 小白猫-->
  2. <script src=" https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
  3. <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.0.min.js"></script>
  4. <script>
  5. L2Dwidget.init({
  6. "model": {
  7. jsonPath: " https://unpkg.com/live2d-widget-model-tororo@1.0.5/assets/tororo.model.json" ,
  8. "scale": 1
  9. },
  10. "display": {
  11. "position": "right",
  12. "width": 100,
  13. "height": 200,
  14. "hOffset": -20,
  15. "vOffset": -20
  16. },
  17. "mobile": {
  18. "show": true,
  19. "scale": 0.5
  20. },
  21. "react": {
  22. "opacityDefault": 1,
  23. "opacityOnHover": 1
  24. }
  25. });
  26. </script>
  1. <!--鼠标点击出随机颜色的爱心-->
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. </head>
  9. <body>
  10. <!-- 网页鼠标点击特效(爱心) -->
  11. <script type="text/javascript">
  12. ! function (e, t, a) {
  13. function r() {
  14. for (var e = 0; e < s.length; e++) s[e].alpha <= 0 ? (t.body.removeChild(s[e].el), s.splice(e, 1)) : (s[
  15. e].y--, s[e].scale += .004, s[e].alpha -= .013, s[e].el.style.cssText = "left:" + s[e].x +
  16. "px;top:" + s[e].y + "px;opacity:" + s[e].alpha + ";transform:scale(" + s[e].scale + "," + s[e]
  17. .scale + ") rotate(45deg);background:" + s[e].color + ";z-index:99999");
  18. requestAnimationFrame(r)
  19. }
  20. function n() {
  21. var t = "function" == typeof e.onclick && e.onclick;
  22. e.onclick = function (e) {
  23. t && t(), o(e)
  24. }
  25. }
  26. function o(e) {
  27. var a = t.createElement("div");
  28. a.className = "heart", s.push({
  29. el: a,
  30. x: e.clientX - 5,
  31. y: e.clientY - 5,
  32. scale: 1,
  33. alpha: 1,
  34. color: c()
  35. }), t.body.appendChild(a)
  36. }
  37. function i(e) {
  38. var a = t.createElement("style");
  39. a.type = "text/css";
  40. try {
  41. a.appendChild(t.createTextNode(e))
  42. } catch (t) {
  43. a.styleSheet.cssText = e
  44. }
  45. t.getElementsByTagName("head")[0].appendChild(a)
  46. }
  47. function c() {
  48. return "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math
  49. .random()) + ")"
  50. }
  51. var s = [];
  52. e.requestAnimationFrame = e.requestAnimationFrame || e.webkitRequestAnimationFrame || e
  53. .mozRequestAnimationFrame || e.oRequestAnimationFrame || e.msRequestAnimationFrame || function (e) {
  54. setTimeout(e, 1e3 / 60)
  55. }, i(
  56. ".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"
  57. ), n(), r()
  58. }(window, document);
  59. </script>
  1. <!--开站时间开始-->
  2. <center>
  3. <br />
  4. </span>
  5. <span class="nav-item">
  6. <span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span> <script language="javascript">
  7. var now = new Date();
  8. function createtime(){
  9. var grt= new Date("04/17/2022 00:00:00");/*---这里是网站的启用时间--*/
  10. now.setTime(now.getTime()+250);
  11. days = (now - grt ) / 1000 / 60 / 60 / 24;
  12. dnum = Math.floor(days);
  13. hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum);
  14. hnum = Math.floor(hours);
  15. if(String(hnum).length ==1 ){hnum = "0" + hnum;}
  16. minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum);
  17. mnum = Math.floor(minutes);
  18. if(String(mnum).length ==1 ){mnum = "0" + mnum;}
  19. seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
  20. snum = Math.round(seconds);
  21. if(String(snum).length ==1 ){snum = "0" + snum;}
  22. document.getElementById("timeDate").innerHTML = "⏱️本站已稳定运行"+dnum+"天";
  23. document.getElementById("times").innerHTML = hnum + "小时" + mnum + "分" + snum + "秒";
  24. }
  25. setInterval("createtime()",250);
  26. </script>

底部运行时间效果截图:

横向文字滚动:

  1. <marquee>
  2. <b id="nr">(。・∀・)ノ゙嗨,欢迎来到我的小破站。帅气漂亮的小哥哥小姐姐</b>
  3. </marquee></div>

炫彩横向文字滚动:

  1. <style>#nr{font-size:20px;margin: 0;background: -webkit-linear-gradient(left,#ffffff,#ff0000 6.25%,#ff7d00 12.5%,#ffff00 18.75%,#00ff00 25%,#00ffff 31.25%,#0000ff 37.5%,#ff00ff 43.75%,#ffff00 50%,#ff0000 56.25%,#ff7d00 62.5%,#ffff00 68.75%,#00ff00 75%,#00ffff 81.25%,#0000ff 87.5%,#ff00ff 93.75%,#ffff00 100%);-webkit-background-clip: text;-webkit-text-fill-color: transparent;background-size: 200% 100%;animation: masked-animation 2s infinite linear;}@keyframes masked-animation {0% {background-position: 0 0;}100% {background-position: -100%, 0;}}</style><div style="background-color:#333;border-radius:25px;box-shadow:0px 0px 5px #f200ff;padding:5px;margin-top:10px;margin-bottom:0px;"><marquee>
  2. <b id="nr">(。・∀・)ノ゙嗨,欢迎来到我的小破站。帅气漂亮的小哥哥小姐姐</b> </marquee></div>

效果图:

添加备案信息:

  1. <span style="width:300px;margin:0 auto; padding:20px 0;">
  2. <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=xxxxxxxxx"
  3. style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
  4. <img src="https://www.beian.gov.cn/img/ghs.png
  5. " style="float:left;">
  6. <p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">
  7. 吉公网安备 xxxxx号
  8. </p>
  9. </a>
  10. <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=22032202000104"
  11. style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
  12. <img src="https://www.beian.gov.cn/img/ghs.png
  13. " style="float:left;">
  14. <p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">
  15. 吉公网安备 xxxxx号
  16. </p>
  17. </a>
  18. <a target="_blank" href="/@manage" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
  19. <p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">
  20. 管理
  21. </p>
  22. </a>
  23. </span>
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/227203
推荐阅读
相关标签
  

闽ICP备14008679号