ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

博客美化

2022-09-13 10:00:08  阅读:194  来源: 互联网

标签:cnblogs xyz jpg 博客 https com 美化 2022


CSS

  • @import url(https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@2.1.0/dist/simpleMemory.css);
    
    

侧边栏

<!-- <input id="linkListFlg" type="hidden" /> -->

<script type="text/javascript">
  window.cnblogsConfig = {
    info: {
      name: '北游山河', // 用户名
      startDate: '2022-07-29', // 入园时间,年-月-日。入园时间查看方法:鼠标停留园龄时间上,会显示入园时间
      avatar: 'https://www.icode9.com/i/l/?n=22&i=blog/2942345/202208/2942345-20220815092323924-1470339245.jpg', // 用户头像
      blogIcon: 'https://s1.328888.xyz/2022/08/05/jSIhg.png',  //站点图标
    },

    fontIconExtend: "//at.alicdn.com/t/font_2746409_iuah9idc2x.css",


    sidebar: { // 列表数据 ['导航名称', '链接', 'icon']
        navList: [
          ['收藏', 'https://wz.cnblogs.com/my/', 'icon-shoucang'],
          ['个人博客', 'https://northfuck.github.io/blog/', 'icon-blog'],
          ['Github', 'https://github.com/NorthFUck', 'icon-github'],
          ['说说', 'https://github.com/ajream/', 'icon-gitee2'],
          // ['友链', 'https://www.cnblogs.com/ajream/p/15412977.html', 'icon-Link']
          
      ],
      
      // infoBackground: 'https://images.cnblogs.com/cnblogs_com/blogs/710456/galleries/2128122/o_220319124339_erciyaun52.jpg',    // 个人信息背景
      infoBackground: 'https://www.icode9.com/i/l/?n=22&i=blog/2942345/202208/2942345-20220824172238124-1894313728.png',
    },

    banner: {
      // 主页图片
      home: {
          background: [
            "https://s1.328888.xyz/2022/08/30/CWhp6.jpg",
            "https://s1.328888.xyz/2022/09/02/kgXh7.jpg",
            "https://images.cnblogs.com/cnblogs_com/blogs/710456/galleries/2046180/o_220319141626_jijianbizhi20220319_04.jpg",
            "https://s1.328888.xyz/2022/08/26/GNp6B.jpg",
            "https://images.cnblogs.com/cnblogs_com/blogs/710456/galleries/2046180/o_220319141653_jijianbizhi20220319_09.jpg",
            "https://s1.328888.xyz/2022/08/05/jSUNo.jpg",
            "https://s1.328888.xyz/2022/08/25/wiomr.png",
            "https://s1.328888.xyz/2022/09/06/1vVMn.jpg",
            "https://images.cnblogs.com/cnblogs_com/blogs/710456/galleries/2046180/o_220320120525_jijianbizhi20220320_04.jpg",
            "https://s1.328888.xyz/2022/09/06/1vsXs.jpg",
            "https://s1.328888.xyz/2022/09/06/1vgSo.jpg",

            
          ],
      },
      article: {
          background: [

              "https://s1.328888.xyz/2022/08/30/CWhp6.jpg",
            "https://s1.328888.xyz/2022/09/02/kgXh7.jpg",
            "https://images.cnblogs.com/cnblogs_com/blogs/710456/galleries/2046180/o_220319141626_jijianbizhi20220319_04.jpg",
            "https://s1.328888.xyz/2022/08/26/GNp6B.jpg",
            "https://images.cnblogs.com/cnblogs_com/blogs/710456/galleries/2046180/o_220319141653_jijianbizhi20220319_09.jpg",
            "https://s1.328888.xyz/2022/08/05/jSUNo.jpg",
            "https://s1.328888.xyz/2022/08/25/wiomr.png",
            "https://s1.328888.xyz/2022/09/06/1vVMn.jpg",
            "https://images.cnblogs.com/cnblogs_com/blogs/710456/galleries/2046180/o_220320120525_jijianbizhi20220320_04.jpg",
            "https://s1.328888.xyz/2022/09/06/1vsXs.jpg",
            "https://s1.328888.xyz/2022/09/06/1vgSo.jpg",
          ],
      },
    },

    // links: {
    //     page: [
    //       {
    //         name: 'aJream', // 昵称
    //         introduction: '我的个人博客', // 简介
    //         avatar: 'https://ajream.github.io/img/avatar2.jpg', // 头像
    //         url: 'https://ajream.github.io' // 友链地址
    //       },
    //       {
    //         name: 'BNDong', // 昵称
    //         introduction: 'IT技术类博客', // 简介
    //         avatar: 'https://blog.dbnuo.com/images/avatar.gif', // 头像
    //         url: 'https://www.cnblogs.com/bndong' // 友链地址
    //       },
    //       {
    //         name: '浇筑菜鸟',
    //         avatar: 'https://gitee.com/ajream/images/raw/master/images/img/uxylxsozub_2022119131{S}308.png1642571399290.png',
    //         url: 'https://www.cnblogs.com/jzcn/'
    //       },
    //       {
    //         name: 'YJLAugus',
    //         avatar: 'https://pic.cnblogs.com/avatar/1176586/20211228162343.png',
    //         url: 'https://www.cnblogs.com/yjlaugus/#/c/subject/category/default.html'
    //       },
    //       {
    //         name: 'Fluid',
    //         avatar: 'https://hexo.fluid-dev.com/img/avatar.png',
    //         url: 'https://hexo.fluid-dev.com/'
    //       },

    //     ],
    //   },

    switchDayNight: {
        enable: true,
        auto: {
            enable: true
        }
    },

    //主页动态效果 
    animate: {
      homeBanner: {
        enable: false,
        options: {
          radius: 15,
        }
      },
    },

    //代码栏限制高度
    code: {
      options: {
        line: true,             // 显示行号
        macStyle: true,         //mac风格代码框
        maxHeight: '100vh',
        hljs: {
          theme: 'monokai-sublime', //default/atom-one-dark-reasonable/qtcreator_dark/darkula/xcode(白色good)/mono-blue/monokai-sublime(好看)/atom-one-dark(good)/vs2015(good)
          languages: ['Bash', 'CSS', 'Dockerfile', 'Go', 'HTML', 'HTTP']
        },

      },
      type: 'hljs',
    },

    title: {
      onblur: '>︿<别走,再看看呀',
      onblurTime: 500,   // 失去焦点延时 500ms
      focus: 'q(≧▽≦q)欢迎回来!',
      focusTime: 500,   //获得焦点延时
    },

  }
</script>
<script src="https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@v2.1.0/dist/simpleMemory.js" defer></script>





  • <!-- 悬挂的喵-返回顶部 -->
    <script type="text/javascript" src="https://files.cnblogs.com/files/blogs/710456/returntop.js?t=1647784434"></script>
    <link rel="stylesheet" type="text/css" href="https://files.cnblogs.com/files/blogs/710456/returntop.css?t=1647784440" />
    <div class="back-to-top cd-top faa-float animated cd-is-visible" style="top: -999px;"></div>
    <!-- 悬挂的喵-返回顶部 -->
    
    <!-- 樱花特效 -->
    <script src="https://files.cnblogs.com/files/blogs/710456/yinghua.js?t=1647783220"></script>
    <script type="text/javascript">//樱花 
        var system ={}; 
        var p = navigator.platform; 
        system.win = p.indexOf("Win") == 0; 
        system.mac = p.indexOf("Mac") == 0; 
        system.x11 = (p == "X11") || (p.indexOf("Linux") == 0); 
        if(system.win||system.mac||system.xll){//如果是电脑  
            $.getScript("https://files.cnblogs.com/files/blogs/710456/yinghua.js?t=1647783220"); 
        }else{ //如果是手机  
        } 
    </script>
    <!-- 樱花特效 -->
    
    <!-- 背景黑色线条 -->
    <!-- <script src="https://files.cnblogs.com/files/blogs/710456/xiantiao.js?t=1647783507"></script> -->
    <!-- 背景黑色线条 -->
    
    
    
    

  • <!--   网站统计  -->
    <div id="cnzzProtocol"  style="display: none;">
        <span class="id_cnzz_stat_icon" id='cnzz_stat_icon_1279442252'></span>
        <script src='//v1.cnzz.com/z_stat.php?id=1279442252&online=1&show=line' type='text/javascript'></script>
    </div>
    
    
    
    <script type="text/javascript">
    /* 鼠标特效 */
    var a_idx = 0;
    jQuery(document).ready(function($) {
        $("body").click(function(e) {
            var a = new Array("❤开心❤","❤快乐❤","❤高兴❤","❤开心❤","❤快乐❤","❤开心❤","❤开心❤","❤开心❤","❤开心❤","❤开心❤","❤开心❤","❤开心❤");
            var $i = $("<span></span>").text(a[a_idx]);
            a_idx = (a_idx + 1) % a.length;
            var x = e.pageX,
            y = e.pageY;
            $i.css({
                "z-index": 999999999999999999999999999999999999999999999999999999999999999999999,
                "top": y - 20,
                "left": x,
                "position": "absolute",
                "font-weight": "bold",
                "color": "rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")"
            });
            $("body").append($i);
            $i.animate({
                "top": y - 180,
                "opacity": 0
            },
            1500,
            function() {
                $i.remove();
            });
        });
    });
    </script>
    <div class="Snow">
        <canvas id="Snow"></canvas>
    </div>
    
    <script src="https://blog-static.cnblogs.com/files/Return-blog/xue.js"></script>
     <script src="https://blog-static.cnblogs.com/files/yjlblog/cursor-effects.js"></script>
     <canvas width="1366" height="520" style="position: fixed; left: 0px; top: 0px; z-index: 2147483647; pointer-events: none;"></canvas>
    <div class="Snow">
        <canvas id="Snow"></canvas>
    </div>
    
    <!-- 看板娘配置 -->
    <!-- font-awesome图标加载 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css">  
    <!-- 文件加载 -->
    <script src="https://files.cnblogs.com/files/blogs/710456/loads.js"></script>  
    <!-- 看板娘配置 -->
    
    
    

标签:cnblogs,xyz,jpg,博客,https,com,美化,2022
来源: https://www.cnblogs.com/NorthFot/p/16627026.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有