SAKURA--博客园主题

效果预览

TqIqKm444Vpu.png

GQlPzz03H0Hz.png

页面定制 CSS 代码

.cnblogs-markdown .hljs {
    display: block;
    color: #333;
    overflow-x: auto;
    background: #F2F4F5 !important;
    border: none !important;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important;
    padding: 1em !important;
    font-size: 14px !important
}

.hljs-comment, .hljs-meta {
    color: #969896
}

.hljs-emphasis, .hljs-quote, .hljs-string, .hljs-strong, .hljs-template-variable, .hljs-variable {
    color: #df5000
}

.hljs-keyword, .hljs-selector-tag, .hljs-type {
    color: #a71d5d
}

.hljs-attribute, .hljs-bullet, .hljs-literal, .hljs-symbol {
    color: #0086b3
}

.hljs-name, .hljs-section {
    color: #63a35c
}

.hljs-tag {
    color: #333
}

.hljs-attr, .hljs-selector-attr, .hljs-selector-class, .hljs-selector-id, .hljs-selector-pseudo, .hljs-title {
    color: #795da3
}

.hljs-addition {
    color: #55a532;
    background-color: #eaffea
}

.hljs-deletion {
    color: #bd2c00;
    background-color: #ffecec
}

.hljs-link {
    text-decoration: underline
}

body {
    cursor: url(https://files-cdn.cnblogs.com/files/zouwangblog/cursor.ico), auto;
    background: #fff;
    color: #314659;
    min-height: 100% !important;
    font-family: Lato, "PingFang SC", "Microsoft YaHei", sans-serif !important;
}

body::before {
    background: url(https://img2018.cnblogs.com/blog/1646268/201907/1646268-20190709145111387-899901278.jpg) center/cover no-repeat;
}

body:before {
    content: '';
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

a {
    transition: all .3s ease !important
}

a:hover {
    color: #FE9600 !important;
    text-decoration: none !important
}

#ad_c1, #ad_c2, #ad_t2, #author_profile, #blogCalendar, #blogTitle h2, #comment_form_container p:nth-of-type(3), #comments_pager_top, #green_channel, #homepage_top_pager, #sidebar_imagecategory, #sidebar_postarchive, #sidebar_recentcomments, #sidebar_recentposts, #sidebar_scorerank, #sidebar_search, #sidebar_shortcut, #sidebar_topcommentedposts, #tip_comment2, #under_post_kb, #under_post_news, .blogStats, .c_ad_block, .commentbox_title_left, .commentform p {
    display: none
}

#home {
    width: 100%
}

#header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    border-top: 0;
    background: #fff;
    border-bottom: 0px #ffebf2 solid;
    padding-bottom: 0;
    width: 100%;
    height: 75px;
    z-index: 999;
    opacity: 0;
    transition: all .4s ease;
}

#header #blogTitle {
    position: absolute;
}

#header #blogTitle h1 {
    font-size: 25px;
    font-family: Georgia;
    width: auto;
    margin-left: 0;
    margin-top: 12px;
    padding-left: 15px
}

#header #blogTitle h1 a {
    color: #61687C
}

#header #navigator {
    height: inherit;
    top: 0;
    background-color: transparent;
    z-index: 999;

}

#header #navList {
    height: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 100px;
    transition: all .4s ease;
}

#header #navList li {
    position: relative
}

#header #navList li:hover i {
    width: 100%;
    left: 0
}

#header #navList li i {
    width: 0;
    height: 4px;
    background-color: #FE9600;
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transition: 1s
}

#navList .fa,#navList .iconfont {
    width: 30px!important;
    height: 4px!important;
    background-color: #fff!important;
    content: ""!important;
    position: static!important;
}

#header #navList a:active, #header #navList a:link, #header #navList a:visited {
    font-size: 16px;
    border-right: 0;
    color: #61687C;
    display: block;
    font-weight: 300;
    padding: 28px 0;
    height: inherit;
    -webkit-transition: all .3s;
    transition: all .3s
}

#header #navList a:hover {
    background: 0 0
}

#main {
    width: 800px;
    margin: 100vh auto 0;
    min-height: 750px;
    padding: 70px 10px 0 10px;
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-iteration-count: 1;
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: 1;
    z-index: 9999;
}

#main #mainContent {
    background-color: transparent
}

#main #mainContent .forFlow {
    margin: 0 auto;
    margin-left: 0;
    max-width: 800px
}

#sideBar {
    width: 0px;
    border-right: 1px solid #EEF2F8;
    font-weight: 300;
    display: none;
    min-height: 750px;
    padding: 0
}

#sideBar .newsItem:hover {
    background: url(https://files-cdn.cnblogs.com/files/zouwangblog/caidai.gif);
    background-size: cover;
    color: #999;
}

.newsItem {
    padding: 15px 0 5px 0px;
    margin-bottom: 8px;
}

#sideBar #profile_block {
    margin-top: 0;
    font-size: 15px;
    padding-left: 15px
}

#sideBar #profile_block #p_b_follow {
    margin-top: 10px
}

#sideBar #profile_block a {
    color: #61687C
}

.catListTitle {
    position: relative;
    text-align: left;
    margin-top: 20px;
    padding-left: 30px !important;
    font-size: 20px;
    font-weight: 300;
    border-bottom: none
}

.catListTitle::before {
    color: #61687C;
    position: absolute;
    top: 1px;
    left: -2px
}

#sidebar_categories li, #sidebar_toptags li {
    font-size: 15px;
    height: 40px;
    margin: 0;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 42px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

#sidebar_categories li a, #sidebar_toptags li a {
    color: #61687C
}

#sidebar_categories li:active, #sidebar_categories li:link, #sidebar_categories li:visited, #sidebar_toptags li:active, #sidebar_toptags li:link, #sidebar_toptags li:visited {
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

#sidebar_categories li:hover, #sidebar_toptags li:hover {
    margin-left: 10px;
    border-radius: 5px;
    margin: 0 5px;
    font-size: 17px
}

#sidebar_topdiggedposts li, #sidebar_topviewedposts li {
    margin: 12px 0;
    font-size: 15px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: justify
}

#sidebar_topdiggedposts li a:active, #sidebar_topdiggedposts li a:hover, #sidebar_topdiggedposts li a:link, #sidebar_topdiggedposts li a:visited, #sidebar_topviewedposts li a:active, #sidebar_topviewedposts li a:hover, #sidebar_topviewedposts li a:link, #sidebar_topviewedposts li a:visited {
    color: #61687C
}

#taglist_title, .PostListTitle, .entrylistTitle, .myposts_title, .thumbTitle {
    padding-bottom: 3px;
    padding-right: 10px;
    width: 100%;
    text-align: left;
    border-bottom: 0 !important;
    font-size: 20px !important;
    font-weight: 300;
    margin-top: 15px
}

#myposts {
    margin-left: 0
}

#myposts .PostList {
    font-size: 13px;
    font-weight: 300;
    border-bottom: 1px solid #EEF2F8;
    padding: 6px 0 10px 0;
    margin-right: 0
}

#myposts .pager:first-of-type {
    display: none
}

#myposts a:link, #myposts a:visited {
    color: #61687C
}

#myposts .postDesc2 {
    color: inherit
}

.c_b_p_desc a:before {
    content: '🔎';
}

.day .postDesc, .entrylist .entrylistItemPostDesc, .post .postDesc {
    font-size: 13px;
    font-weight: 300;
    padding-right: 0;
    color: #61687C !important;
}

.post .postTitle {
    font-size: 25px !important;
    font-weight: 300 !important;
    padding-left: 15px !important;
    border-bottom: none !important
}

.post .postTitle a {
    color: #61687C
}

.post .postBody {
    font-weight: 300;
    font-size: 15px;
    padding: 5px 15px;
    line-height: 1.7;
    color: #61687C;
    border-bottom: 1px solid #EEF2F8
}

.post .postBody a:active, .post .postBody a:link, .post .postBody a:visited {
    color: #e67474;
    position: relative;
    text-decoration: none;
}

.post .postBody a:hover {
    color: orange;
    text-decoration: none
}

.post .postBody a:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: orange;
    transform-origin: bottom right;
    transition: transform .25s ease-out
}

.post .postBody a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left
}

.post .postBody h1 {
    font-size: 21px !important;
    color: #61687C
}

.post .postBody h5, .post .postBody h3 {
    font-size: 17px !important;
    color: #314659;
}

.post .postBody h4 {
    font-size: 15px !important;
    color: #314659;
}

.post .postBody p {
    margin: 17px auto
}

.post .postBody hr {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #EEF2F8
}

.post .postBody blockquote {
    border: none;
    color: #61687C;
    margin: 20px 0;
    padding: 0 0 0 10px;
    min-height: 20px;
    background: 0 0;
    border-left: 4px solid #FFC6DE
}

.post .postBody em {
    padding-right: 3px
}

.post .postBody strong {
    margin: 0 3px
}

.post .postBody img {
    max-width: 930px !important;
    display: block;
    margin: 30px auto;
    border-radius: 3px
}

.post .postBody ol li, .post .postBody ul li {
    margin: 3px 0;
    font-size: 15px;
    color: #61687C
}

.post .postBody ol li p, .post .postBody ul li p {
    margin: 0 !important
}

.post .postBody table {
    font-size: 13px;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    border: 1px solid #fbdfeb;
    width: 100%;
    margin-bottom: 24px
}

.post .postBody table th {
    font-family: inherit;
    font-size: inherit;
    background: #f9f9f9 !important;
    white-space: nowrap;
    font-weight: 600;
    border: 1px solid #fbdfeb !important;
    padding: 8px 16px !important
}

.post .postBody table td {
    border: 1px solid #fbdfeb !important;
    padding: 8px 16px !important
}

.post .postBody h1 code, .post .postBody h2 code, .post .postBody h3 code, .post .postBody h4 code, .post .postBody h5 code, .post .postBody h6 code, .post .postBody li code, .post .postBody p code, .post .postBody table code {
    color: #61687C;
    line-height: 1;
    font-family: consolas !important;
    vertical-align: middle;
    margin: 0 3px;
    background: #fbfbfb !important;
    font-size: 14px !important;
    padding: .2em .3em !important;
    border-radius: 3px !important;
    border: 1px solid #eee !important
}

.post .postBody #BlogPostCategory {
    font-size: 13px;
    margin-bottom: 0
}

.post .postBody #BlogPostCategory a {
    margin-left: 5px
}

.post .postBody #EntryTag {
    font-size: 13px;
    color: #61687C
}

.post .postBody #EntryTag a {
    color: #FE9600
}

.post .postBody #post_next_prev {
    font-size: 13px
}

.cnblogs_code {
    background-color: #f2f4f5;
    padding-left: 1em;
    padding-right: 1em;
    border: none !important;
    border-radius: 3px !important;
    font-family: Lucida Console, Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace !important
}

.cnblogs_code div {
    background-color: transparent;
    color: #656c73
}

.cnblogs_code img {
    margin: 0 !important
}

.cnblogs_code pre {
    color: #656c73;
    font-family: inherit !important
}

.cnblogs_code pre span {
    font-family: inherit !important;
    color: inherit !important
}

.cnblogs_code textarea {
    font-family: inherit !important;
    padding: 5px;
    border: 1px solid #3e4c42;
    color: #c5d4ef;
    background-color: #282c34
}

.cnblogs_code textarea:focus {
    outline: 0
}

.cnblogs_code .code_img_closed, .cnblogs_code .code_img_opened {
    display: none !important
}

.cnblogs_code .cnblogs_code_toolbar {
    width: 20px
}

.cnblogs_code .cnblogs_code_toolbar span {
    padding-right: 0
}

.cnblogs_code .cnblogs_code_toolbar a:link img {
    background-color: transparent !important
}

.cnblogs_code .cnblogs_code_collapse {
    color: #656c73;
    border: 1px solid #989fa6;
    border-radius: 2px;
    background-color: transparent;
    display: inline-block;
    cursor: pointer;
    padding: 5px 5px 2px 5px
}

.github-corner svg {
    fill: #FFC6DE
}

#footer {
    border-top: 1px solid #EEF2F8;
    font-weight: 300;
    z-index: 9999;
}

#footer div {
    margin: 5px auto
}

#footer a {
    color: #61687C
}

#footer:after {
    content: '❤';
    color: #ef6b6b;
    font-size: 16px
}

.cnblogs-markdown pre {
    white-space: pre !important;
    position: relative !important
}

#taglist_main {
    margin-top: 0
}

#taglist_main table {
    width: 100%
}

#taglist_main table tr td {
    padding: 5px 20px 5px 0
}

#taglist_main table tr td .small {
    display: none
}

#taglist_main table tr td a {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
    margin: 0;
    width: 100%;
    text-align: center;
    border: 1px solid #61687C;
    border-radius: 2px;
    color: #61687C;
    background-color: transparent
}

#taglist_main table tr td a:hover {
    color: #FE9600 !important;
    border: 1px solid #FE9600;
    text-decoration: none
}

.topicListFooter {
    margin-right: 0
}

#homepage1_HomePageDays_homepage_bottom_pager .pager, #comments_pager_bottom .pager {
    display: inline-block;
    font-size: 12px !important;
    font-weight: 100;
    color: #61687C;
    background-color: transparent !important;
    border-radius: 6px;
}

#nav_next_page, .pager {
    margin-right: 0;
    color: #61687C
}

#nav_next_page a, .pager a {
    padding: 3px 7px;
    border: 1px solid #6168
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值