博客园自定义主题

自定义博客主题的历史长河

css样式2019.9.18版本

/*-----------------------body start---------------------------*/
body {
    /*全局字体设置*/
    font-family: Consolas, "楷体" !important;
    /*加载图片*/
    background-image: url("https://images.cnblogs.com/cnblogs_com/nightrainlemon/1548521/o_%E5%88%9D%E9%9F%B3%E6%9C%AA%E6%9D%A501.jpg");
    /*水平垂直居中*/
    background-position: center, center;
    /*图片不平埔*/
    background-repeat: no-repeat;
    /*图片位置固定在窗口中*/
    background-attachment: fixed;
    /*图片填充*/
    background-size: cover;
}
/*-----------------------body end---------------------------*/



/*-----------------------home start---------------------------*/
#home {
    /*设置背景透明度*/
    background-color:rgba(255, 255, 255, 0.5);
}
/*-----------------------home end---------------------------*/



/*-----------------------code highlight start---------------------------*/
/*

Original highlight.js style (c) Ivan Sagalaev 

*/

.cnblogs-markdown .hljs {
  display: block !important;
  overflow-x: auto !important;
  padding: 0.5em !important;
  background: #FFFFcc !important;
}


/* Base color: saturation 0 !important; */

.hljs,
.hljs-subst {
  color: #444 !important;
}

.hljs-comment {
  color: #888888 !important;
}

.hljs-keyword,
.hljs-attribute,
.hljs-selector-tag,
.hljs-meta-keyword,
.hljs-doctag,
.hljs-name {
  font-weight: bold !important;
}


/* User color: hue: 0 */

.hljs-type,
.hljs-string,
.hljs-number,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
  color: #880000 !important;
}

.hljs-title,
.hljs-section {
  color: #880000 !important;
  font-weight: bold !important;
}

.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo {
  color: #BC6060 !important;
}


/* Language color: hue: 90 !important; */

.hljs-literal {
  color: #78A960 !important;
}

.hljs-built_in,
.hljs-bullet,
.hljs-code,
.hljs-addition {
  color: #397300 !important;
}


/* Meta color: hue: 200 */

.hljs-meta {
  color: #1f7199 !important;
}

.hljs-meta-string {
  color: #4d99bf !important;
}


/* Misc effects */

.hljs-emphasis {
  font-style: italic !important;
}

.hljs-strong {
  font-weight: bold !important;
}
/*-----------------------code highlight end---------------------------*/

2019.9.19版本

页面定制CSS 无更新
博客侧边栏公告 无更新
页首Html 无更新
页脚Html 更新

/*-----------------------music play start---------------------------*/



/*-----------------------music play end---------------------------*/

转载于:https://www.cnblogs.com/nightrainlemon/p/11536792.html

你可能感兴趣的:(博客园自定义主题)