* {
-webkit-box-sizing: border-box;
box-sizing: border-box
}
body {
font-family: 'Monda', "PingFang SC", "Microsoft YaHei", sans-serif;
font-size: 14px;
line-height: 1.5;
color: #555;
background: #f0f2f5
}
body,
ul,
#profile_block {
margin: 0;
padding: 0
}
li {
list-style: none
}
a {
font-size: inherit;
line-height: inherit;
text-decoration: none;
color: inherit;
}
a[href='#top'],
input[type='button'],
.feedbackListSubtitle .louzhu {
margin: 0 4px;
border-radius: 2px;
background: #409eff;
color: #fff;
border: 0;
font-size: 12px
}
#blogTitle,
.topicListFooter {
display: none
}
#home {
position: relative;
margin: 0 auto 0;
padding: 56px 0 30px;
max-width: 1230px
}
#header {
position: fixed;
z-index: 999;
top: 0;
left: 0;
width: 100%;
height: 44px;
background-color: #222;
-webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3)
}
#navigator {
margin: 0 auto;
height: 44px;
max-width: 1230px
}
#navList>li {
float: left
}
#navList>li a {
display: block;
margin-right: 33px;
line-height: 44px;
color: #9d9d9d
}
#navList>li a:hover {
color: #fff
}
#main {
position: relative
}
#main a:hover {
color: #409eff
}
#mainContent {
position: relative;
margin-left: 276px;
padding: 0 24px 1px;
background: #fff;
border-radius: 2px;
-webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}
.day,
.entrylist {
margin-bottom: 12px;
min-height: 32px
}
.day {
/* padding-bottom: 4px; */
border-bottom: 1px solid #eaecef;
}
.entrylistTitle {
position: absolute;
margin: 6px;
right: 6px;
font-size: 14px;
font-style: italic;
font-weight: bold
}
.dayTitle a {
display: none
}
div.postTitle a,
.entrylistPosttitle a {
display: inline-block;
padding: 10px 0 6px;
font-size: 16px;
color: #555;
font-weight: 600;
line-height: 36px
}
.c_b_p_desc {
color: #666
}
.day .postDesc,
.entrylistItemPostDesc {
text-align: right;
line-height: 36px;
font-size: 12px;
}
.postSeparator {
border-bottom: 1px dashed #dae1ea
}
.post>h1 {
margin: 0;
line-height: 2;
}
.post>h1 a {
font-weight: 400;
font-size: 24px;
color: #000 !important;
text-shadow: 0 0 2px #999
}
#infos {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-bottom: 20px;
padding-bottom: 10px;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border-bottom: 1px solid #eaecef
}
#BlogPostCategory {
margin: 0 20px 0 0
}
div.cnblogs-markdown {
line-height: 2;
color: #314659
}
div.cnblogs-markdown pre {
position: relative;
padding: 0 10px;
background: #f7f7f7
}
pre>span {
position: absolute;
right: 0;
border-radius: 2px;
padding: 0 10px;
font-size: 12px;
background: rgba(0, 0, 0, 0.4);
color: #fff;
cursor: pointer
}
pre>.copyed {
background: #67c23a
}
.blogpost-body.cnblogs-markdown code {
border: none !important;
padding: 4px !important;
line-height: inherit !important;
background: #f7f7f7 !important;
color: #314659;
font: 14px 'Lucida Console', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important
}
div.cnblogs-markdown code.hljs {
line-height: 2 !important
}
.hljs-comment,
.hljs-quote {
color: #8e908c
}
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #c82829
}
.hljs-number,
.hljs-built_in,
.hljs-builtin-name,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #f5871f
}
.hljs-attribute,
.hljs-attr {
color: #eab700
}
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #718c00
}
.hljs-title,
.hljs-section {
color: #4271ae
}
.hljs-keyword,
.hljs-selector-tag {
color: #8959a8
}
.hljs-emphasis {
font-style: italic
}
.hljs-strong {
font-weight: bold
}
#green_channel {
position: fixed;
top: 40%;
right: 20px;
margin: 0;
border: 0;
padding: 0;
width: 88px
}
#green_channel img {
display: none !important
}
#green_channel a {
background-image: none;
margin: 0 0 10px 0 !important;
border-radius: 2px;
width: 72px;
font-size: 12px;
padding: 4px 12px
}
#green_channel #green_channel_digg {
background-color: #67c23a
}
a[href='#top'] {
position: fixed;
padding: 4px 10px;
bottom: 20%;
right: 20px
}
.feedbackItem {
margin-bottom: 10px;
border-bottom: 1px solid #eaecef;
padding-bottom: 10px
}
.feedbackListSubtitle {
color: #fff
}
.feedbackListSubtitle :not(p) {
line-height: 2;
color: #555
}
.feedbackListSubtitle .louzhu {
padding: 1px 6px
}
.blog_comment_body {
margin: 6px 0 10px;
padding: 6px 14px;
background: #f6f8fa
}
#sideBar {
position: fixed;
top: 56px;
border-radius: 2px;
max-height: 720px;
z-index: 888;
width: 265px;
}
#sideBar h3 {
margin:0;
border-bottom: 1px solid #eee;
font-size: 1.1em;
padding: 6px 22px;
background:#fff;
}
#sideBar h3+*{
margin-bottom:12px;
border-radius: 2px;
padding: 10px 22px;
background: #fff;
-webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}
#widget_my_zzk #q {
border: 0;
border-bottom: 1px solid #ddd;
width: 162px;
}
#sidebar_postcategory ul {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-ms-flex-wrap: wrap;
flex-wrap: wrap
}
#TopViewPostsBlock li {
margin-bottom: 4px
}
#sideBar a {
font-size:12px;
}
#sideBar ul li a {
margin: 6px 1px
}
#sidebar_postcategory ul li a {
display: block;
color: #fa8c16 !important;
font-size: 12px;
padding: 0 12px;
border: 1px solid #ffd591;
border-radius: 4px;
line-height: 20px;
background: #fff7e6
}
#footer {
position: absolute;
bottom: 0;
width: 100%;
text-align: center
}
@media only screen and (max-width:767px) {
.swit {
display: block
}
#home {
max-width: 100%
}
#navigator {
max-width: 100%;
padding: 0 12px
}
#main {
padding: 0 !important
}
#mainContent {
margin-left: 0 !important;
padding-left: 20px;
padding-right: 20px
}
#sideBar {
display: none;
-webkit-box-shadow: 3px 3px 3px 1px #999;
box-shadow: 3px 3px 3px 1px #999
}
div#comment_form {
margin-left: 0
}
a[href='#top'],
#green_channel {
position: static
}
}
博客园c's's
猜你喜欢
转载自www.cnblogs.com/ak-b/p/10864768.html
今日推荐
周排行