其他分享
首页 > 其他分享> > 博客美化

博客美化

作者:互联网

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>





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