Go to Top

02- 博客园定制

1、 参考blog

https://github.com/clsn-git/cnblogs.theme

https://github.com/linianhui/cnblogs.theme

2、定制

主题 : LessIsMore

页首代码

<script type="text/javascript">$("#mobile-style").remove();</script>
<link href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<link href="//files.cnblogs.com/files/linianhui/lnh.cnblogs.css" rel="stylesheet"/>

页脚代码

<script type="text/javascript" src="//files.cnblogs.com/files/linianhui/lnh.cnblogs.js"></script>

3、我的自定制

css页面定制

#cnblogs_post_body h1 {
    box-shadow: rgb(95, 90, 75) 0px 0px 0px 1px, rgba(10, 10, 0, 0.5) 1px 1px 6px 1px;
    color: rgb(255, 255, 255);
    font-family: 微软雅黑, 宋体, 黑体, Arial;
    font-size: 20px;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    text-shadow: rgb(34, 34, 34) 2px 2px 3px;
    background: #383533;
    border-radius: 6px;
    padding: 8px 0 8px 10px !important;
    margin: 18px 0px !important;
}

/* h2标题 */
#cnblogs_post_body h2 {
    background: #00688B;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    color: white;
    font-family: Futura;
    font-size: 18px;
    font-weight: bold;
    height: 20px;
    line-height: 20px;
    margin: 12px 0 !important;
    padding: 8px 0 8px 10px !important;
    text-shadow: 2px 2px 3px #222222;
    margin-bottom: 20px;
    width:65%;
    text-align:left;
}


/* h3标题 */
#cnblogs_post_body h3 {
    background: #009ACD;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px; 
    font-family: Futura;
    font-size: 16px;
    font-weight: bold;
    height: 26px;
    line-height: 26px;
    margin: 12px 0 !important;
    padding: 2px 0 2px 10px  !important;
    text-shadow: 2px 2px 3px #222222;
    width: 35%;
    margin-bottom: 20px;
}


/*点赞和踩你*/
#div_digg{
 display: none !important;
}
/*内容和边栏*/
#sideBar {
    width: 15%  !important;
}
#mainContent {
    width: 85% !important;
}
/*图片格式*/
#cnblogs_post_body img {
    display: inline-block !important;
}
posted @ 2020-03-11 12:16  一分耕耘一分收获  阅读(152)  评论(0)    收藏  举报