248 lines
16 KiB
CSS
248 lines
16 KiB
CSS
/**
|
||
* Copyright (c) 2009, 2010, 2011, 2012, 2013, B3log Team
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing, software
|
||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
* See the License for the specific language governing permissions and
|
||
* limitations under the License.
|
||
*/
|
||
/*
|
||
Theme Name: PosArt
|
||
Theme URI: http://www.dsu.pw/posart
|
||
Description: A simple theme.
|
||
Author: Kunr(Lingoys Art)
|
||
Author URI: http://www.dsu.pw
|
||
Version: 1.0
|
||
Tags: blog
|
||
*/
|
||
p{margin:0;}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}audio,canvas,video{display:inline;zoom:1;}audio:not([controls]){display:none;}[hidden]{display:none;}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}html,button,input,select,textarea{font-family: "Microsoft YaHei Light", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Hiragino Sans GB W3", "Microsoft YaHei",sans-serif;color:#444;}body{margin:0;font-size:1em;line-height:1.4;}::-moz-selection{background:#f7d2d2;color:#333;text-shadow:none;}::selection{background:#fe57a1;color:#fff;text-shadow:none;}a,a:hover,a:visited{color:#999;text-decoration:none}a:hover,a:active{outline:0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:700;}blockquote{margin:1em 40px;}dfn{font-style:italic;}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}ins{background:#ff9;color:#000;text-decoration:none;}mark{background:#ff0;color:#000;font-style:italic;font-weight:700;}pre,code,kbd,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em;}pre{white-space:pre-wrap;word-wrap:break-word;}q{quotes:none;}q:before,q:after{content:none;}small{font-size:85%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-.5em;}sub{bottom:-.25em;}ul,ol{margin:0;padding:0;}dd{margin:0 0 0 40px;}nav ul,nav ol{list-style:none;list-style-image:none;margin:0;padding:0;}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;}svg:not(:root){overflow:hidden;}figure{margin:0;}form{margin:0;}fieldset{border:0;margin:0;padding:0;}label{cursor:pointer;}legend{border:0;margin-left:-7px;padding:0;white-space:normal;}button,input,select,textarea{font-size:100%;margin:0;vertical-align:middle;}button,input{line-height:normal;}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button;overflow:visible;}button[disabled],input[disabled]{cursor:default;}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0;width:13px;height:13px;}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;}input,button,select,textarea{outline:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;resize:vertical;}input:invalid,textarea:invalid{background-color:#FAFAFA;}table{border-collapse:collapse;border-spacing:0;}td{vertical-align:top;}h1,h2,h3,h4,h5,h6{padding:0;margin:0;}
|
||
.cl:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.cl{zoom:1;}li{list-style:none;}.z{float:left;}.y{float:right;}
|
||
body { background: #e3e3e3; }
|
||
::selection { background: #CCEBFF; color: #003E66; }
|
||
::-moz-selection { background: #CCEBFF; color: #003E66; }
|
||
::-webkit-selection { background: #CCEBFF; color: #003E66; }
|
||
::-webkit-scrollbar { background: #fff; width: 6px; height: 6px; -webkit-border-radius: 5px; }
|
||
::-webkit-scrollbar-track { background: #fff; }
|
||
::-webkit-scrollbar-track-piece { background: #e5e5e5;-webkit-border-radius: 5px; }
|
||
::-webkit-scrollbar-thumb { background: #ccc;-webkit-border-radius: 5px; }
|
||
::-webkit-scrollbar-thumb:hover { background: #999; }
|
||
#wpadminbar{display:none}
|
||
#wrapper { top: 60px; position: relative; width: 100%; height: auto; overflow: visible; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; }
|
||
|
||
/* commons */
|
||
#header { height: 40px; width: 100%; position: fixed; left: 0; top:0; -webkit-box-shadow: 0 3px 4px rgba(0,0,0,0.12); -moz-box-shadow: 0 3px 4px rgba(0,0,0,0.12); box-shadow: 0 3px 4px rgba(0,0,0,0.12); background-color: rgba(255,255,255,0.88); z-index: 999; }
|
||
#header ul { padding: 0 10px; }
|
||
#header li { float: left; position: relative; }
|
||
#header a{ height: 40px; }
|
||
#header li a { width: auto; height: 40px; line-height: 40px; display: inline-block; padding: 0 16px; color: #525252; border-right: 1px solid #DDD; text-decoration: none;font-size: 18px; }
|
||
#header li a:hover { text-decoration: none; background-color: #000; color: #fff; -webkit-transition: .1s ease-in-out; transition: .1s ease-in-out; -o-transition: .1s ease-in-out; -moz-transition: .1s ease-in-out; }
|
||
#header li a.main { font-weight: bold; }
|
||
#header li:hover a.menu-item { background-color: #000; }
|
||
#header li:hover .sub-menu { display: block; }
|
||
#header li .sub-menu {padding: 5px; display: none; position: absolute; box-shadow: 1px 1px 5px; -webkit-box-shadow: 1px 1px 5px; -moz-box-shadow: 1px 1px 5px; min-width: 150px; background: white; }
|
||
#header li .sub-menu li { width: 100%; padding: 0; }
|
||
#header li .sub-menu a { border: 0; padding:0; width: 100%; }
|
||
.searchform { height: 40px; display: inline; }
|
||
.search-input { transition: background .5s;margin-top: 5px;margin-right: 15px; -moz-transition: background .5s; -ms-transition: background .5s; -o-transition: background .5s; -webkit-transition: background .5s; border: 2px solid #ddd; border-radius: 10px; height: 25px; background: #ebebeb; padding-left: 10px; outline: 0; width: 150px; }
|
||
.search-input:hover,.search-input:focus { background: #fff; transition: background .5s; -moz-transition: background .5s; -ms-transition: background .5s; -o-transition: background .5s; -webkit-transition: background .5s; }
|
||
.header { display: block; padding-bottom: 25px;}
|
||
.header img { max-width: 160px; border-radius: 160px; -webkit-border-radius: 160px; -moz-border-radius: 160px; border: 10px solid #fff; display: block; margin: 0 auto;}
|
||
|
||
.unbody , .body { margin: 0 auto; }
|
||
.unbody { width: 82.97872340425532%; }
|
||
.body { position:relative; width: 780px; width: calc(80% - 2.5em); }
|
||
|
||
.breadcrumb { padding: 8px 15px; margin-bottom: 15px; list-style: none; background-color: #fafafa; }
|
||
.breadcrumb li { line-height: 20px; display: inline-block; }
|
||
.breadcrumb li .divider { padding: 0 5px; color: #ccc; }
|
||
|
||
.site-footer { font-size: 15px; text-align: center; line-height: 20px; padding: 20px; }
|
||
/*common*/
|
||
|
||
/*social*/
|
||
[class^="sc-"], [class*=" sc-"] {display: inline-block;width: 30px;height: 30px;margin-right: 8px;line-height: 30px;vertical-align: text-top;background-image: url(images/contact.png);background-repeat: no-repeat;filter:alpha(opacity=50); /*IE滤镜,透明度50%*/-moz-opacity:0.5; /*Firefox私有,透明度50%*/opacity:0.5;/*其他,透明度50%*/ transition: all .7s;-moz-transition: all .7s;-webkit-transition: all .7s;-o-transition: all .7s;}
|
||
[class^="sc-"]:hover, [class*=" sc-"]:hover { filter:alpha(opacity=100); /*IE滤镜,透明度50%*/ -moz-opacity:1; /*Firefox私有,透明度50%*/ opacity:1;/*其他,透明度50%*/ }
|
||
|
||
.sc-sina { background-position: 0px 0px; }
|
||
.sc-qzone { background-position: -30px 0px; }
|
||
.sc-tqq { background-position: -60px 0px; }
|
||
.sc-qq { background-position: -90px 0px; }
|
||
.sc-renren { background-position: -120px 0px; }
|
||
.sc-baidu { background-position: -150px 0px; }
|
||
/*social*/
|
||
|
||
/* article */
|
||
.article { background: #fff; margin-bottom: 20px;-webkit-box-shadow: 0 1px 8px rgba(0,0,0,0.15);-moz-box-shadow: 0 1px 8px rgba(0,0,0,0.15); box-shadow: 0 1px 8px rgba(0,0,0,0.15); }
|
||
.entry-title { background: #f1f1f1; height: 30px; padding-left: 20px; display: block; font-size: 13px; color: #929292; font-weight: 300; line-height: 30px; text-transform: uppercase; }
|
||
.entry-title a { color: #929292; height: 30px; display: block; }
|
||
.entry-thumbnail img { width: 100%; height: auto; }
|
||
.entry-meta { color: #999; border-top: 1px dotted #999; font-size: 12px; }
|
||
.entry-content , .entry-meta { margin: 0 30px; padding: 10px; }
|
||
#comments .entry-content {
|
||
margin-left: 78px;
|
||
}
|
||
#comments {
|
||
position: relative;
|
||
}
|
||
.comment-body-ref {
|
||
position: absolute;
|
||
left: 80px;
|
||
top: 138px;
|
||
width: 87%;
|
||
}
|
||
.content { -webkit-box-shadow: 0 1px 8px rgba(0,0,0,0.15);-moz-box-shadow: 0 1px 8px rgba(0,0,0,0.15); box-shadow: 0 1px 8px rgba(0,0,0,0.15); padding-bottom: 30px; overflow: hidden; background: #fff; min-height: 450px; position: relative;}
|
||
.content footer { position: absolute; bottom: 0px; z-index: 1; }
|
||
.comments { background: #fff; padding: 10px; margin-top: 10px; }
|
||
.background { background-position: bottom right; opacity: 0.4; filter: alpha(opacity=40);background-repeat: no-repeat; width: 100%; height: 150%; position:absolute; bottom:-100px; right:0;}
|
||
.abstract { margin: 6px 32px;}
|
||
.comment-header {
|
||
width: 60px;
|
||
}
|
||
#reply-title small a { font-size: 14px; padding: 5px; background: #ECECEC; }
|
||
.comment-list li { margin: 15px 0; }
|
||
.comment-list .children { padding-left: 50px; }
|
||
.comment-list .avatar { margin-right: 15px; -webkit-border-radius: 60px; -moz-border-radius: 60px; border-radius: 60px; display: inline; float: left; }
|
||
.comment_meta_head { color: #999; font-size: 12px; margin: 5px 0; }
|
||
.comment_meta_head a { color: #999; }
|
||
.comment_meta_head .authorname,.comment_meta_head time,.comment_meta_head .comment-edit-link{ margin-right: 15px; }
|
||
.comment_meta_head .fn .authorname, .comment_meta_head .fn .authorname a{ color: #2275E2; }
|
||
|
||
#commentForm input,#commentForm textarea,
|
||
#replyForm input,#replyForm textarea{ resize: none; outline: none; background: #FFF; border: 1px solid #DEDEDE; box-shadow: inset 0 1px 3px #DCDCDC;line-height: 24px;font-size: 14px;padding: 8px;overflow: hidden;color: #444; }
|
||
#comment,#commentReply { width: 80%; margin: 18px 0; height: 80px; }
|
||
#comments_submit { width: 130px; }
|
||
#replyForm {
|
||
margin: 0 80px 30px;
|
||
}
|
||
/*post*/
|
||
|
||
/* widget */
|
||
.widget{width:254px;float:left;margin:5px 3px;background-color:#fff;}
|
||
.widget h3{position:relative;margin:0;line-height:20px;padding:6px 15px;font-size:15px;background-color:#F7F7F7;height: 20px;border-bottom: 1px solid #eaeaea;font-weight: normal;}
|
||
.widget h3 .btn{position:absolute;top:5px;right:10px;font-weight:normal;padding: 2px 7px 1px}
|
||
.widget-notip{line-height:20px;color:#666;border-top-color:#f00}
|
||
.widget ul{*zoom:1;padding:10px;}
|
||
.widget ul:before,.widget ul:after{display:table;content:"";line-height:0}
|
||
.widget ul:after{clear:both}
|
||
.widget ul li { float: left; margin: 5px; }
|
||
#calendar_wrap{margin: 0 15px 10px;}
|
||
.widget_calendar table{width:100%;text-align:center;}
|
||
.widget_calendar table caption{padding:10px 0 5px;font-size:15px;}
|
||
.widget_calendar table #prev a,.widget_calendar table #next a{display:block;padding:0 10px}
|
||
.widget_calendar table #prev{text-align:left}
|
||
.widget_calendar table #next{text-align:right}
|
||
.widget_calendar table tbody td,.widget_calendar table tfoot td,.widget_calendar table thead th{padding:5px 3px;border:1px solid #eee;}
|
||
.widget_calendar table thead th{background-color:#fbfbfb}
|
||
.widget_calendar table tbody td a{display:block;margin:0 3px;background-color:#428BCA;color:#fff}
|
||
.widget_calendar table tbody td a:hover{background-color: #357EBD;}
|
||
.tags{padding: 12px 13px 10px 15px;}
|
||
.tags a:nth-child(9n){background-color: #4A4A4A;}
|
||
.tags a:nth-child(9n+1){background-color: #428BCA;}
|
||
.tags a:nth-child(9n+2){background-color: #5CB85C;}
|
||
.tags a:nth-child(9n+3){background-color: #D9534F;}
|
||
.tags a:nth-child(9n+4){background-color: #567E95;}
|
||
.tags a:nth-child(9n+5){background-color: #B433FF;}
|
||
.tags a:nth-child(9n+6){background-color: #00ABA9;}
|
||
.tags a:nth-child(9n+7){background-color: #B37333;}
|
||
.tags a:nth-child(9n+8){background-color: #FF6600;}
|
||
.tags a{opacity: 0.80;filter:alpha(opacity=80);color: #fff;background-color: #428BCA;display: inline-block;margin: 0 5px 5px 0;padding: 0 6px;line-height: 21px}
|
||
.tags a:hover{opacity: 1;filter:alpha(opacity=100);}
|
||
/* widget */
|
||
|
||
/* exts */
|
||
/* code,pre,blockquote */
|
||
code,pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:10px;color:#444444;}
|
||
code{padding:2px 4px;color:#d14;background-color:#fbfbfb;border:1px solid #e1e1e8;white-space:nowrap}
|
||
pre{display:block;padding:9.5px;margin:0 0 10px;font-size:11px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);background: rgba(238,238,238,0.55);}
|
||
pre.prettyprint{margin-bottom:20px}
|
||
pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0}
|
||
blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eeeeee}
|
||
blockquote p{margin-bottom:0;font-size:15px;font-weight:300;line-height:1.25}
|
||
blockquote small{display:block;line-height:20px;color:#999999}
|
||
blockquote small:before{content:'\2014 \00A0'}
|
||
blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eeeeee;border-left:0}
|
||
blockquote.pull-right p,blockquote.pull-right small{text-align:right}
|
||
blockquote.pull-right small:before{content:''}
|
||
blockquote.pull-right small:after{content:'\00A0 \2014'}
|
||
/* Pagination*/
|
||
.pagination{padding-bottom:20px}
|
||
.pagination ul li{display:inline}
|
||
.pagination a,.pagination span{margin:0 5px;padding:4px 12px 3px;line-height:20px;text-decoration:none;background-color:#fff;color:#666}
|
||
.pagination a:hover,.pagination a:focus{background-color:#ccc;color:#444}
|
||
.pagination .current a,.pagination .current{background-color:#428BCA;color:#fff;cursor:default}
|
||
/* RightMenu */
|
||
#rightmenu { display:block;right: 20px; bottom: 20px; position: fixed; width: 62px; z-index: 88; }
|
||
#rightmenu a { padding: 0;position: relative;margin-top: 20px; display: block;width: 60px; height: 60px;border: 1px solid #ddd;opacity: 0.5; background-color: #fff;background-repeat: no-repeat; cursor: pointer; transition: opacity .3s; -moz-transition: opacity .3s; -ms-transition: opacity .3s; -o-transition: opacity .3s; -webkit-transition: opacity .3s; }
|
||
#rightmenu a:hover { opacity:1; }
|
||
#bdshare,#rightmenu a { float: none !important; }
|
||
#bdshare a { background: url(images/icon.png) #fff -60px -540px !important; }
|
||
.totop { background-image: url(images/arrow.png); }
|
||
.tocomments { background: url(images/icon.png) #fff 0px -420px; }
|
||
.go_top { background-position: 0px -60px; }
|
||
/* Mukio player*/
|
||
#mkplayer-content { margin: 10px 0; }
|
||
#mkplayer-box div { padding: 5px; background: #fff; }
|
||
#loading-posts,#loading-comments { left: 0; top: 0;cursor: wait; background: #fff; position: absolute; height: 100%; width: 100%; z-index: 5; opacity: 0.7; }
|
||
/*exts*/
|
||
|
||
.page-navigator {
|
||
padding-bottom: 20px;
|
||
}
|
||
.page-navigator li {
|
||
display: block;
|
||
float: left;
|
||
}
|
||
.page-navigator a, .page-navigator span {
|
||
background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75);
|
||
color: #666666;
|
||
line-height: 30px;
|
||
padding: 5px 15px;
|
||
text-decoration: none;
|
||
}
|
||
.page-navigator a:hover, .page-navigator a:focus {
|
||
background-color: #CCCCCC;
|
||
color: #444444;
|
||
}
|
||
.page-navigator .current a, .page-navigator .current {
|
||
background-color: #428BCA;
|
||
color: #FFFFFF;
|
||
cursor: default;
|
||
}
|
||
.entry-thumbnail img {
|
||
height: auto;
|
||
opacity: 0.85;
|
||
width: 100%;
|
||
}
|
||
.tag-content {
|
||
background: none repeat scroll 0 0 #00FFFFFF;
|
||
|
||
min-height: 450px;
|
||
overflow: hidden;
|
||
padding-bottom: 30px;
|
||
position: relative;
|
||
}
|
||
.tab-label {
|
||
background-color: #FAFAFA;
|
||
list-style: none outside none;
|
||
margin-bottom: 15px;
|
||
padding: 8px 15px;
|
||
margin:6px 6px 6px 6px;
|
||
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
|
||
}
|
||
/* respositive */
|
||
@media (max-width: 780px){
|
||
.body { width: 90%; }
|
||
.unbody { width: 90%; }
|
||
#article { padding: 20px; }
|
||
.widget { width: 100%;}
|
||
.lists{padding:0;}
|
||
.mhidden,#rightmenu .tocomments ,#rightmenu .bds_more{ display: none; }
|
||
}
|
||
/* respositive */ |