/* Theme Name: AlphaTr Theme URI: http://www.alphatr.com/wordpress/theme-alphatr.html Description: AlphaTr用的Wordpress主题.根据点点网主题修改,在此感谢。 Version: 1.0.0 Author: AlphaTr Author URI: http://AlphaTr.com/ Tags: blue, two-columns, right-sidebar, custom-menu License: GNU/GPL Version 2 or later License URI: http://www.gnu.org/licenses/gpl.html */ /* Styles*/ html{ height: 100%; } body { font-family: Arial,sans-serif; margin:0 auto; font-size:14px; background-color: #F0F0F0; background-image:url(images/paper-bg.png); background-repeat: repeat; height: 100%; } .wp-caption .wp-caption-text .sticky .gallery-caption .bypostauthor{ font-weight:normal; } ::-moz-selection{ /*针对Firefox*/ background:#1d4261; color:#fff; } ::selection { background:#1d4261; color:#fff; } img { border:0; } a, input { outline: none; } a:link ,a:active ,a:visited { text-decoration: none; color : #1d4261; border: none; text-decoration: none; } p a:link, p a:active, p a:visited, .entry li a:link, .entry li a:active, .entry li a:visited { text-decoration: underline; } a:hover { text-decoration: underline; color : #8B6914; border: none; } p a:hover, .entry li a:hover { text-decoration: none; } textarea { border: 1px solid #F0F0F0; width: 80%; font-family: Arial,sans-serif; font-size: 13px; } input { width: 150px; } input[type="button"],input[type="submit"],input[type="reset"] { width: 70px; } input:focus { outline: none; } p img { padding: 0; max-width: 100%; } img.centered,img.aligncenter { display: block; margin:0 auto; margin-bottom: 10px; overflow:hidden; padding: 5px; } img.alignright { padding: 5px; margin: 5px 0 5px 10px; display: inline; border:1px solid #B9B9B9; } img.alignleft { padding: 5px; margin: 5px 10px 5px 0; display: inline; } .alignright { float: right; } .alignleft { float: left } acronym, abbr, span.caps { cursor: help; } acronym, abbr { border-bottom: 1px dashed #999; } .center { text-align: center; } .clear{ clear:both; } .left{ float:left; } .right{ float:right; } .hidden { display: none; } .w960{ width:960px; margin:0 auto; } .aligncenter,div.aligncenter { display: block; margin-left: auto; margin-right: auto; } /* Main Elements */ #header{ background:url(images/header.png); background-repeat: repeat-x; height:61px; } #header #logo{ float:left; height:40px; padding:10px; } #header #logo h1{ margin:1px; line-height:38px; font-size:28px; float:left; } #header #logo p{ float:left; margin:24px 0 0 20px; line-height:16px; font-size:12px; color:#dde; } #header a{ color:#ddd; } #header #mainnav{ float:right; margin-top:35px; } #mainnav ul{ margin:0; } #mainnav li{ float:left; margin-right:10px; list-style-type:none; } #main{ min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -60px; padding: 0; } #sidebar{ float:right; width:220px; margin:0 10px; padding:40px 0 60px; } #content{ float:left; width:720px; padding:0 0 60px; } #content .post,#content .pages{ border:1px solid #CCC; border-radius:5px; margin:40px 10px; padding-top:20px; background-color:rgba(250,250,255,0.4); position: relative; width:698px; } #content .post h2{ margin:0 20px 12px 20px; text-shadow:#666 2px 2px 5px; } #content .post .date{ text-decoration: none; display: block; width: 48px; height: 49px; position: absolute; left: -50px; top: 20px; background: url(images/calendar.png) no-repeat right center; zoom: 1; color:#222; padding-top:6px; text-align: center; } #content .post .month{ font-size:12px; color:#fff; } #content .post .day{ font-size:20px; color:#222; } #content .meta{ font-size:20px; border-radius:0 0 5px 5px; background-color:#DEE9FF; font-size:12px; padding:12px; color:#333; } #content .entry{ margin:20px; color:#333; font-size:14px; } #content .meta p{ padding:0 0 7px 14px; margin:0; } #content .navigation{ margin-bottom:50px; } #content .title h1{ text-align:center; color:#333; text-shadow:2px 2px 5px RGBA(0,0,0,0.4); } #sidebar .widget{ border:1px solid #CCC; border-radius:5px; margin-bottom:20px; padding:10px; background-color:rgba(250,250,255,0.4); position: relative; width:198px; } #sidebar .widget h4{ margin:0 0 10px; } .widget ul{ padding-left:20px; } /*评论回复模块*/ p.nocomments{ font-weight:700; padding:10px 0 10px 20px; margin:0; } h3#comments{ font-weight:700; padding:10px 0 10px 20px; background:#DEE9FF; margin:0; border-radius:5px 5px 0 0; } #comment{ background:RGBA(255,255,255,0.4); margin:10px 10px 30px 10px; border:1px solid #CCC; border-radius:5px; } ol.commentlist{ list-style-type:none; padding:20px; } div.comment-body div.vcard{ float:left; width:60px; text-align:center; } cite.fn{ display:block; font-style:normal; max-width:60px; margin-top:6px; } #comment .comment-right{ float:left; padding:10px 10px 10px 20px; } #comment .comment-right p{ margin:0; } #comment .comment-meta{ color:#777; margin-top:16px; font-size:10px; } li.depth-1{ margin:10px 0; } li.depth-1>div.comment-body{ width:650px; background: transparent url("images/bg_comment-btm.png") no-repeat scroll right bottom; } li.depth-1>div.comment-body>div.comment-right{ background:url("images/bg_comment-right.png"); width:550px; background-repeat: no-repeat; margin-left:10px; } ul.children{ list-style-type:none; padding:0; } .children .comment-body{ margin-left:80px; width:570px; background: transparent url("images/bg_comment-btm.png") no-repeat scroll right bottom; } .children .vcard{ background: url("images/bg_comment.png") no-repeat scroll; padding:20px 0 0 20px; } .children .comment-right{ background: url("images/bg_comment.png") no-repeat scroll right top; padding:20px 10px 10px 20px; width:460px; } #respond{ margin:0 10px; } #commentform{ margin:0 20px; } p.comment-notes{ font-size:12px; color:#555; } #commentform p{ margin:10px 0; color:#555; } #commentform p label{ width:60px; display:inline-block; display:-moz-inline-box; vertical-align:top; } #commentform p span.required{ width:10px; display:inline-block; display:-moz-inline-box; color:red; font-weight:bold; } #commentform label[for="url"]{ width:74px; } textarea#comment{ margin:0 14px; resize:vertical; } textarea#comment:focus{ outline:none; } p.form-allowed-tags{ font-size:12px; } input#submit{ width:70px; } .error404 #content .page{ border:1px solid #CCC; border-radius:5px; margin:40px 10px; padding-top:20px; background-color:rgba(250,250,255,0.4); position: relative; width:960px; text-align:center; } #content .pages{ border:1px solid #CCC; border-radius:5px; margin:40px 10px; padding-top:20px; background-color:rgba(250,250,255,0.4); position: relative; width:698px; } .search #content .page{ border:1px solid #CCC; border-radius:5px; margin:40px 10px; padding-top:20px; background-color:rgba(250,250,255,0.4); position: relative; } .search .page h2{ margin:10px 0 10px 20px; } #sidebarsearch #s{ width:130px; } #searchsubmit{ width:60px; } #footer{ box-shadow: 0 -2px 10px #888; background: #fff; height:60px; color:#333; } #footer .w960{ background: #fff url("images/wordpress.png") no-repeat scroll left top; height:60px; position:relative; } #footer .w960 div{ position: absolute; top:0px; } #footer .left{ margin:20px 0 0; left:80px; } #footer .right{ left:650px; margin:10px 0 0; } #totop{ right:20px; bottom:20px; position:fixed; border-style: initial; cursor: pointer; opacity: 0; } #sbtn{ right:5px; top:5px; position:fixed; cursor: pointer; z-index:5; }