Git Product home page Git Product logo

cnblogs-theme's Introduction

简介

📖 本主题以阅读为核心,美化博客园的显示效果,提高用户体验。

🍰 基于博皮“SimpleMemory”进行的修改;

🧀 支持响应,尺寸分别为:(1200px,∞px),(960px,1200px],(720px,960px],(0px,720px]

原作者github

Docs

原作者文档

完整配置

<script type="text/javascript">
    window.cnblogsConfig = {
        GhUserName: 'wangyang0210',
        GhRepositories: 'Cnblogs-Theme',
        GhVersions: '2.0.1',
        CnVersions: "",
        blogUser      : "。思索",
        blogAvatar    : "https://pic.cnblogs.com/avatar/1334215/20180504110551.png",
        blogStartDate : "2018-2-12",
        menuCustomList: {},
        menuNavList: [
            ['随笔', 'https://i.cnblogs.com/posts/edit', 'icon-brush_fill'],
            ['GitHub', 'https://github.com/wangyang0210', 'icon-github'],
            ['Cnblogs', 'https://www.cnblogs.com/', 'icon-cnblogs'],
        ],
        menuUserInfoBgImg: '',
        webpageTitleOnblur: "(◍´꒳`◍) Hi,Dear",
        webpageTitleOnblurTimeOut: 500,
        webpageTitleFocus: "(*´∇`*) 欢迎回来!",
        webpageTitleFocusTimeOut: 1000,
        webpageIcon: "https://files.cnblogs.com/files/wangyang0210/blog_logo.gif",
        fontIconExtend: "",
        progressBar: {
            id: 'top-progress-bar',
            color: '#77b6ff',
            height: '2px',
            duration: 0.2
        },
        loading: {
            rebound: {
                tension: 16,
                friction: 5
            },
            spinner: {
                id: 'spinner',
                radius: 90,
                sides: 3,
                depth: 4,
                colors: {
                    background: '#f0f0f0',
                    stroke: '#272633',
                    base: null,
                    child: '#272633'
                },
                alwaysForward: true,
                restAt: 0.5,
                renderBase: false
            }
        },
        homeTopAnimationRendered: true,
        homeTopAnimation: {
            radius: 15,
            density: 0.2,
            color: 'rgba(255,255,255, .2)',
            clearOffset: 0.3
        },
        essayTopAnimationRendered: true,
        essayTopAnimation: {
            triW: 14,
            triH: 20,
            neighbours: ["side", "top", "bottom"],
            speedTrailAppear: .1,
            speedTrailDisappear: .1,
            speedTriOpen: 1,
            trailMaxLength: 30,
            trailIntervalCreation: 100,
            delayBeforeDisappear: 2,
            colorsRandom: false,
            colors: [
                '#96EDA6', '#5BC6A9',
                '#38668C', '#374D84',
                '#BED5CB', '#62ADC6',
                '#8EE5DE', '#304E7B'
            ]
        },
        bgAnimationRendered: true,
        backgroundAnimation: {
            colorSaturation: "60%",
            colorBrightness: "50%",
            colorAlpha: 0.5,
            colorCycleSpeed: 5,
            verticalPosition: "random",
            horizontalSpeed: 200,
            ribbonCount: 3,
            strokeSize: 0,
            parallaxAmount: -0.2,
            animateSections: true
        },
        homeTopImg: [
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-j55w9p_1920x1080.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-dgzkw3_1920x1080.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/home_top_bg.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-x1wroo.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/nothome_top_bg.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-13gom9.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-vg7lv3.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-odej2m.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-j5mz95.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/19059-wallhaven-3911w9.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-6k3oox.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/for.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-737jo3.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/42476-wallhaven-oxzk8m.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-oxdyvl.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/44817-wallhaven-p8rdq9.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/39093-wallhaven-oxkjgm"
             
        ],
        homeBannerText: "",
        homeBannerTextType: "one", // one 每天一句话 jinrishici 每天一句诗词
        essayTopImg: [
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/nothome_top_bg.webp",
            "https://cdn.jsdelivr.net/gh/wangyang0210/Cnblogs-Theme@theme-simpleMemory/img/webp/wallhaven-13gom9.webp"
     ],
        essayCodeHighlightingType: 'highlightjs',
        essayCodeHighlighting: 'a11y-dark',
        essayCodeLanguages: [],
        essayCode: {
            fontFamily: "'Ubuntu Mono',monospace",
            fontSize: "14px",
        },
        codeMaxHeight: false,
        codeLineNumber: false,
        essayTitleStyle: false,
        essaySuffix: {
            codeImgUrl: '',
            aboutHtml: '',
            copyrightHtml: '',
            supportHtml: ''
        },
        bottomBlogroll: [],
        bottomText: {
            iconFont: {
                icon:  "icon-xl",
                color: "red",
                fontSize: "16px"
            },
            left: "学无止境",
            right: "谦卑而行",
        },
        footerStyle: 2,
        consoleList: [
             ['wangyang0210 CNBlogs', 'https://www.cnblogs.com/wangyang0210'],
             ['wangyang0210 GitHub', 'https://github.com/wangyang0210'],
             ['wangyang0210 Email', '[email protected]'],
             ['主题计划', 'footer改为鱼跃']
         ],
        bookList: [],
        themeAuthor: false,
        isVersionMapping: false,
        switchDayNight: {
            enable: true,
            auto: {
                enable: false,
                dayHour: 5,
                nightHour: 19
            }
        },
        reward: {
            enable: false,
            wechatpay: '',
            alipay: ''
        },
        weChatOfficialAccounts: '',
        advertising: true,
    }
</script>

<script src="https://cdn.jsdelivr.net/gh/wangyang0210/[email protected]/src/script/simpleMemory.min.js" defer></script>

cnblogs-theme's People

Contributors

wangyang0210 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.