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

after

redesign stylesheet
::selection {
background-color: #f90;
color: #fff;
text-shadow: none;
}
[type=button],
#commentbox_opt > a{
display: inline-block;
height: 50px;
width: 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;
width: 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;
width: 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-width: 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{
width: 700px !important;
margin: 0 auto !important;
}
#cnblogs_post_body img{
max-width: 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-width: 710px;
margin: 0 auto;
}
div.commentform textarea.comment_textarea{
line-height: 1.6;
resize: none;
height: 140px;
width: 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;
}
cnblogs 主题 summerGarden redesign的更多相关文章
- Cnblogs 主题设置
https://www.cnblogs.com/enjoy233/p/cnblogs-markdown-code-display-opt.html 复制: 右上角添加复制按钮:https://www. ...
- Cnblogs 主题2
洪卫:https://www.cnblogs.com/shwee/p/9060226.html https://sunhwee.com 1 #header{display:none;} /* 将默认的 ...
- 我cnblogs的主题
我的cnblogs主题 这里记录的是本博客的主题存档 主题代码参考自:流云诸葛的博客 博客皮肤选择 选择 LessIsMore 页面定制CSS代码 div.post div.entry { font- ...
- cnblogs博客主题原来可以弄得这么美观
参考了网友 https://www.cnblogs.com/maybreath/p/5253824.html的做法,没想到真的可以耶. 总想弄个方便的.简洁的.可以被搜索引擎搜到的博客.以前用过wor ...
- cnblogs 美化主题
Silence主题 一个简洁的主题, 不带广告,我很喜欢 cnblogs 域名解析 这需要注意一点是:github.io项目名需要和用户名一致才能正确访问,否则会报404 Markdown格式化编辑 ...
- cnblogs 自定义主题字体渲染方案
渲染效果图 由于我一直偏好衬线字体,所以在采用 Silence 主题 之后,还参照谢益辉的博客字体方案进行了改进 首先,在页首代码中添加盘古之白,如果你同时编写 中/英 文博客,你当然应该学习谢益辉的 ...
- CodingLife主题更新
收到反馈说CodingLife主题某些地方显示有问题,于是进行了更新,并且已提交.官方那边正在进行测试,我自己这边测完应该是没问题的,但不知道官方啥时候会进行更新,所以把CSS代码贴出来,有需要的可以 ...
- kafka主题offset各种需求修改方法
简要:开发中,常常因为需要我们要认为修改消费者实例对kafka某个主题消费的偏移量.具体如何修改?为什么可行?其实很容易,有时候只要我们换一种方式思考,如果我自己实现kafka消费者,我该如何让我们的 ...
- Eclipse设置黑色主题
1点击help--->install new software 2输入 http://eclipse-color-theme.github.com/update 3下载安装eclipse col ...
随机推荐
- 用atom写LaTeX文档
下载并安装Tex Live: 下载页面 下载并安装atom:下载页面 打开atom File -> Settings -> Install 搜索并安装: language-latex la ...
- 9x9乘法表输出[Java]
笔试,9x9乘法表输出的问题,看似简单,回来把当时写的结果输入一遍后发现,并没有想象中的“完美”.把改写的pos在此,警示...不要忘记任何细节. public class NXN { public ...
- java解析xml文档(dom)
DOM解析XML文档 读取本地的xml文件,通过DOM进行解析,DOM解析的特点就是把整个xml文件装载入内存中,形成一颗DOM树形结构,树结构是方便遍历和和操纵. DOM解析的特性就是读取xml文件 ...
- 【android】新手容易遇到的[error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.]Theme出错的问题
一.概述 近期刚接手了一个项目,开发工具为eclipse,由于版本较低,且考虑到如果转android studio项目的话,会其他人的维护带来困难,所以想着还是维护项目原来的开发环境吧. 但是导入项目 ...
- [LintCode] Roman to Integer 罗马数字转化成整数
Given a roman numeral, convert it to an integer. The answer is guaranteed to be within the range fro ...
- cookie的设置,获取,取消
<!DOCTYPE> <html> <head> <meta http-equiv=Content-Type content="text/html; ...
- $.ajax用法与举例
下面是一段比较常用到的 $.ajax 方法: $.ajax({ type:'GET', url:'http://www.phpernote.com/jquery.php', data:{usernam ...
- 理解group by 语句的扩展使用
在SQL的开发中我们会经常使用group by语句对数据进行分组统计,然而在一些复杂的BI报表开发中会常遇到更复杂的分组需求,单单使用group by 就不能解决我们的问题了,这时我们就需要学习了解一 ...
- Oracle10g RAC的简单操作
1.查看OCR位置用户指定的位置会被放置在 /etc/oracle/ocr.loc(Liunx系统) 或 /var/opt/oracle/ocr.loc [oracle@rac4 opt]$ cat ...
- 关于 calloc 函数使用 与fun 函数
s=(float *) calloc (1,sizeof(float)); #include "stdio.h"#include "stdlib.h"void ...