cnblogs 主题 summerGarden redesign

Intro

cnblogs 的 summerGarden 主题是一个宽屏版的,而且设计虽然很Qzone风格,不过我个人喜欢「简单,扁平」的设计风格,所以就修改了一下样式。

before

001

after

002

redesign stylesheet

::selection {
    background-color: #f90;
    color: #fff;
    text-shadow: none;
}
[type=button],
#commentbox_opt > a{
    display: inline-block;
    height: 50px;
     200px;
    color: white;
    font: 17px/50px Helvetica, Verdana, sans-serif;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    background: #00b7ea;
    background: -moz-linear-gradient(top, #00b7ea 0%, #009ec3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(100%,#009ec3));
    background: -webkit-linear-gradient(top, #00b7ea 0%,#009ec3 100%);
    background: -o-linear-gradient(top, #00b7ea 0%,#009ec3 100%);
    background: -ms-linear-gradient(top, #00b7ea 0%,#009ec3 100%);
    background: linear-gradient(top, #00b7ea 0%,#009ec3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b7ea', endColorstr='#009ec3',GradientType=0 );
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    border: 0px;
}
.postBody a:link, .postBody a:visited, .postBody a:active{
	font-weight:bold;
    text-decoration: none;
    color: #005782;
}
#navigator > ul,
#navigator > div{
 float:none !important;
}
#navList{
    display: -webkit-box !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: -o-box !important;
    display: flex !important;
    display: table;
    -webkit-box-pack: justify;
}
.blogStats{
        display: none;
}
#navList li{
    float:none !important;
    -moz-box-flex: 5;
    -webkit-box-flex: 3;
    -ms-flex: 3;
    flex: 3;
}
#navList li a{
    color: #fff !important;
    display: block;
     100%;
    text-align: center;
    margin-left:0 !important;
    padding-bottom: 10px;
}
#navList li a:hover {
    border-bottom: 3px solid #fff;
}
.postBody blockquote{
    margin: 20px 0;
    background-color: #f2f2f2;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px;
    background-image: none !important;
}
body{
    font-family: "Segoe UI",Arial,Sans-Serif;
    font-size: 14px;
    line-height: normal;
    background: none !important;
    -webkit-font-smoothing: antialiased;
}
#header,
#footer{
    background-image: none !important;
    -webkit-font-smoothing: antialiased;
    background-color: #7E4999 !important;
    height: 125px;
}
#footer{
    height:30px;
    height: 101px;
    line-height:101px;
    font-size: 1.5em;
    margin:0 !important;
    padding:0 !important;
    color:#fff;
}
#blogTitle h1,
#blogTitle h2{
    font-family: "Segoe UI",Arial,Sans-Serif;
    display:block;
     960px;
    margin:0 auto;
    float:none !important;
    color: #fff !important;
}
#blogTitle h2{
    display: none !important;
    font-size: 19px !important;
    padding: 10px 0px;
    text-align: center;
}
a#Header1_HeaderTitle:before {
    content: '❡';
    padding-right: 5px;
    color: #00ADCC;
}
#Header1_HeaderTitle{
    color: #fff !important;
    font-family: "Segoe UI",Arial,Sans-Serif;
    font-weight: 200;
    font-size:2.4em;
    text-align: center;
    margin: 0 auto;
    display: block;
}
#topics{
max- 710px;
    margin: 0 auto;
}
#topics .postTitle{
    margin: 0 0 15px 0;
    font-size: 29px;
    font-weight: 200;
	color: #333;
    padding: 0;
	font-family: "Segoe UI",Arial,Sans-Serif;
}
.postBody h2 {
    color: #f90;
    font-size: 29px !important;
    font-weight: 200 !important;
    margin: 20px 0 11px;
    padding: 0;
    padding-bottom: 10px;
    font-family: "Segoe UI",Arial,Sans-Serif;
}
.postBody p, .postCon p{
    font-family: "Segoe UI",Arial,Sans-Serif;
    font-size: 14px;
    line-height: normal;
    color: #111;
}
pre{
    color: #000;
    background-color: #fbedbb !important;
    padding: 6px;
    font: 9pt Consolas,"Courier New",Courier,mono;
    white-space: pre;
    overflow: auto !important;
    border: solid 1px #fbedbb !important;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    -webkit-tab-size: 4;
    tab-size: 4;
}
.cnblogs-markdown code{
    background-color:inherit !important;
    border:inherit !important;
    font-family: Consolas !important;
    margin: 0 !important;
    line-height: 1em !important;
    height: 0;
    padding: 0 2px!important;
    border-radius:0 !important;
    vertical-align: inherit;
    display: inline;
}
.cnblogs-markdown .hljs {
     font-family: Consolas, 'Courier New', Courier, mono !important;
}
.postBody{
     700px !important;
    margin: 0 auto !important;
}
#cnblogs_post_body img{
    max- 100%;
    height: auto;
}
#mainContent{
    margin-top: 30px;
    word-break: break-word;
  float:none !important;
    margin-left: 0px;
text-overflow:scroll;
}
.postTitle a:link, 
.postTitle a:visited, 
.postTitle a:active{
	color: #f60 !important;
}
#mainContent .forFlow{
    margin-left:0px !important;
}
#sideBar,
[id^=ad_],
[id^=under_post_]{
    display: none !important;
}
#comment_form{
max- 710px;
    margin: 0 auto;
}
div.commentform textarea.comment_textarea{
    line-height: 1.6;
    resize: none;
    height: 140px;
     100%;
    border-radius: 5px;
    border-color: #f2f2f2;
}
textarea#tbCommentBody:focus {
    border: #7E4999 1px solid!important;
    /*box-shadow: 0px 4px 7px #7e4999;*/
}
#div_digg > div {
    display: inline-block;
    float:none !important;
}
#blog_post_info{
    display:flex !important;
    border-top: 1px solid #345;
    padding-top: 3px;
    margin-top: 8px;
}
#green_channel{
   -webkit-box-flex: 3;
   flex:3;
   border:0 !important;
   margin-top:0 !important;
}
#author_profile{
   -webkit-box-flex: 1;
   flex:1;
}
#div_digg{
   -webkit-box-flex: 1;
   flex:1;
   margin-top:0 !important;
}
#tbCommentAuthor{
border:none;
  }
原文地址:https://www.cnblogs.com/raybiolee/p/5870472.html