ICode9

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

尝试一下新主题?

2021-04-25 19:35:40  阅读:153  来源: 互联网

标签:尝试 enable name 一下 主题 com https true cnblogs


目录

正文部分

本主题基于:https://gitee.com/guangzan/awescnb

博主地址:https://www.cnblogs.com/guangzan/

安装步骤详见这篇文章:https://www.yuque.com/awescnb/user/tmpomo

个性化设置详见这篇文章:https://guangzan.gitee.io/awescnb-docs/options

就没了

下面是我的配置

博客皮肤

选择 Custom

页面定制CSS代码

#loading {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
    background-color: #f4f5f5;
    pointer-events: none;
}
.loader-inner {
    will-change: transform;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
    background-color: #3742fa;
    border-radius: 50%;
    animation: scaleout 0.6s infinite ease-in-out forwards;
    text-indent: -99999px;
    z-index: 999991;
}
@keyframes scaleout {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

博客侧边栏公告

<script src="https://guangzan.gitee.io/awescnb/index.js"></script>
 <script src="https://files.cnblogs.com/files/Silymtics/postcss.config.js"></script>
<script src="https://files.cnblogs.com/files/Silymtics/awes.config.js"></script>

 
<script>
$.awesCnb({
// 基本配置,在线切换主题
theme: {
name: 'geek', // 极客风格主题
//name: 'view', //宽阔视野主题
//name: 'simple', //  简约风格主题
//name: 'reacg', //二次元风格
//name: 'bilibili', //Bilibili
 
 
        color: '#FFB3CC',
        title: '',
        contentSize: 'mid',
        //背景图片地址
        headerBackground: 'https://acg.toubiec.cn/random.php',
        //头像图片地址
        avatar: 'https://pic.cnblogs.com/avatar/2140595/20210117162517.png',
        favicon: '',
    },
links: [
 {
        name: '收藏夹',
        link: 'https://wz.cnblogs.com/',
    }
    //,
    //{
    //    name: '自定义菜单名',
    //    link: '跳转链接',
    //}
],
notice:{
    enable: false
},
signature: {
    enable: true, //是否开启个性签名
    contents: [
    "我不会再逃避了"
    ],
},
darkMode: {
    enable: true    
},
postTopimage: {
    enable: true,
    imgs: [],
    position: 'top',
},
highLight: {
    type: 'atomOneLight'
},
lineNumbers: {
    enable: true
},
catalog: {
    enable: true,
    position: 'left',
},
back2top: {
    enable: true,
    type: 'simple',
},
tools: {
    enable: true,
    initialOpen: false,
    draggable: true,
},
bodyBackground: {
    enable: true,
    value:
        'https://images.cnblogs.com/cnblogs_com/Silymtics/1861572/o_201226095435%E5%B1%A0%E9%BE%99%E5%A5%B3.jpg',
    opacity: 0.85,
    repeat: false,
},

emoji: {
    enable: true,
    showRecents: true,
    recentsCount: 20,
    showPreview: true,
    showSearch: true,
},
tools: {
    enable: true,
    initialOpen: true,
},

topProgress: {
    enable: true,
    page: 'all',
    agent: 'pc',
    background: '#FFB3CC',
    height: '5px',
},

links: [
    {
        name: '日记',
        link: 'https://www.cnblogs.com/Silymtics/p/13961219.html',
    },
    {
        name: '友链',
        link: 'https://www.cnblogs.com/Silymtics/p/14127999.html',
    },
    {
        name: '洛谷主页',
        link: 'https://www.luogu.com.cn/user/230580',
    },
    // ....
],

})
</script>

### 页首 HTML 代码

```cpp
<div id="loading"><div class="loader-inner"></div></div>

标签:尝试,enable,name,一下,主题,com,https,true,cnblogs
来源: https://www.cnblogs.com/Silymtics/p/14701622.html

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

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

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

ICode9版权所有