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 ...
随机推荐
- github提交失败并报错java.io.IOException: Authentication failed:
一.概述 我最近在写一个android的项目. 软件:android studio.Android studio VCS integration(插件) Android studio VCS inte ...
- [zt]Singleton和Double-Checked Locking设计模式—UML图及代码实现
Singleton和Double-Checked Locking设计模式,分别指的是单例模式和双重检查锁模式,它们都可以用于确保某个类只有一个对象实例化. 两个模式的区别在于:Singleton模式用 ...
- 练习一:SQLite基本操作
一.基础知识: 运用场景: 1>应用运行需要保存一系列有一定关系有一定结构的数据(文本也可以但是存储效率低) 2>文件类型:.db(一个数据库就是一个.db文件) 3>路径:/dat ...
- Struts2中重定向和请求转发配置
struts2中默认跳转为dispatcher请求转发 只能往jsp转发,跳转action报404 重定向 设置为redirect ,可以是jsp也可以是action <!--同一个包下的act ...
- WordPress的body_class()函数详解
wordpress的body_class()函数,顾名思义,这个函数根据不同的页面类型为body标签生成class选择器,从而让设计人员可以各方便灵活的控制不同页面中的各个元素.本文对这一函数进行了详 ...
- html代码中的form参数是基本一致的
由于pear的大多数模块仍处于开发当中,因此,这里列举的是随着php4.05一起发布的pear中的模块,需要注意的是,一些抽象类或者是基类(如mail.php,log.php,cache.php)没有 ...
- 定时调度模块:sched
"""A generally useful event scheduler class. 事件调度器类 Each instance of this class manag ...
- 《UML大战需求分析》阅读笔记02
软件应能真正的对客户的工作提供帮助,只有客户使用并真正对其有用才能说我们做的软件成功了.客户从开始提出需求时到后期的工作过程中,需求总是不停变化的,所以这就需要需求人员对需求领先于客户.所以活用UML ...
- NEC学习 ---- 布局 -三列,右侧自适应
效果如图 html代码: <div class="g-bd3 f-cb"> <div class="g-sd31"> <p> ...
- Android实现推送方式解决方案
当我们开发需要和服务器交互的应用程序时,基本上都需要获取服务器端的数据,比如<地震应急通>就需要及时获取服务器上最新的地震信息. 要获取服务器上不定时更新的信息,一般来说有两种方法: 第一 ...