欢迎来到好人卡资源网,专注网络技术资源收集,我们不仅是网络资源的搬运工,也生产原创资源。寻找资源请留言或关注公众号:烈日下的男人

dz论坛自定义个人空间bug版分享

hacker sky995 2年前 (2022-03-12) 511次浏览 0个评论

本文及资源最后更新时间 2022-03-12 by sky995

效果
https://hostloc.com/space-uid-53947.html

以下代码,
①打开pastebin,Ctrl+A全选RAW Paste Data,复制
②在一个有回复评论框的帖子,F12 – Console – 粘贴 – 回车执行
③然后他会弹出一个框,你再把css输入进那个框里面
④确定,然后到自己空间看效果

https://pastebin.com/YEqpfbbt

把背景图片、id和头像图片替换一下

代码:

  1. html,body {
  2.         width:100%;
  3.         height:100%;
  4. }
  5. body {
  6.         display:flex;
  7.         justify-content:center;
  8.         align-items:center;
  9.         background:none!important;
  10.         background-image:url(‘https://i.suut.cn/bg.jpg’)!important;
  11.         background-repeat:no-repeat;
  12.         background-size:cover!important;
  13.         background-position:center center!important;
  14. }
  15. #toptb,#ft,#hd,.cl:after,#visitor,#friend,#personalinfo,.blocktitle,#statistic,#profile_content  div  ul,#profile_content  div  div  p  a  img,#profile_content  div  div  h2  a {
  16.         display:none!important;
  17. }
  18. #ct {
  19.         background-color:rgb(255,255,255,0)!important;
  20.         background:none!important;
  21. }
  22. #profile_content  div  div  p  a {
  23.         width:120px!important;
  24.         height:120px!important;
  25.         display:block!important;
  26.         position:relative!important;
  27. }
  28. #profile_content  div  div  p  a::after {
  29.         content:”;
  30.         width:120px!important;
  31.         height:120px!important;
  32.         position:absolute;
  33.         left:0;
  34.         top:0;
  35.         z-index:3;
  36.         background-image:url(‘https://hostloc.com/uc_server/data/avatar/000/05/39/47_avatar_big.jpg’);
  37.         background-size:100% 100%;
  38.         margin-left:45px;
  39.         border-radius:120px;
  40.     border: 2px solid #fff;
  41. }
  42. #profile_content  div  div  h2{
  43.     margin-top: 8px!important;
  44. }
  45. #thread_content  ul {
  46.         position:fixed!important;
  47.         top:0!important;
  48.         left:0!important;
  49.         z-index:1!important;
  50.         width:280px!important;
  51.         height:100vh!important;
  52.         background-color:rgb(255,255,255,0.66)!important;
  53.         padding-top:245px!important;
  54. }
  55. #frame1_left {
  56.         position:fixed!important;
  57.         top:36px!important;
  58.         left:20px!important;
  59.         z-index:2!important;
  60. }
  61. #profile_content  div  div  h2::after {
  62.         content:’Tip’;
  63.         font-size:18px!important;
  64.         cursor:pointer;
  65. }
  66. #thread_content  ul  li {
  67.         box-sizing:border-box;
  68.         width:100%;
  69.         height:45px;
  70.         line-height:45px;
  71.         padding-left:32px;
  72.         padding-right:32px;
  73.         background-color:rgb(0,0,0,0.1)!important;
  74.         margin:0!important;
  75.         margin-bottom:1px!important;
  76. }
  77. #thread_content  ul  li:hover {
  78.         background-color:rgb(0,0,0,0.66)!important;
  79.         color:#fff!important;
  80. }
  81. #thread_content  ul  li a {
  82.         box-sizing:border-box;
  83.         display:block;
  84.         width:208px;
  85.         height:45px;
  86.         line-height:45px;
  87.         white-space:nowrap;
  88.         text-overflow:ellipsis;
  89.         overflow:hidden;
  90.         word-break:break-all;
  91. }
  92. #thread_content  ul  li a:hover {
  93.         color:#fff!important;
  94. }

好人卡资源网 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:dz论坛自定义个人空间bug版分享
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址