@charset "utf-8";

/* 2016-12-30
Theme Name: SimpleLog
Theme URI: https://luweiqiang.com/blog/typecho-theme-simplelog.html
Description: 简洁的个人博客模板
Version: 0.1.0
Author: 陆半农
Author URI: https://luweiqiang.com
*/

/* -------------------
Main
---------------------*/

body {
    margin: 0;
    padding: 0;
    background-color: #FFF;
    color: #333;
    font-family: Georgia, serif;
    font-size: 62.5%;
    letter-spacing: -0.01em;
    word-spacing: 0.2em;
    line-height: 1.8em;
}

a {
    color: #3354AA;
    word-wrap: break-word;
    text-decoration: none;
    transition: all .25s ease-in;
}

a:hover, a:active {
    color: #444;
}

pre, code {
    background: #F3F3F0;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

code {
    padding: 2px 4px;
    color: #B94A48;
    font-size: 0.9em;
}

pre {
    padding: 0;
    border: 1px solid #ccc;
    overflow: auto;
}

pre code {
    padding: 2px;
    color: #444;
}

.post-content .prettyprint ol li {
    line-height: 150%;
}

blockquote {
    margin: .8em;
    padding-left: .6em;
    border-left: 4px solid #dadada;
    color: #666664;
}

hr {
    display: block;
    width: 16%;
    margin: 30px auto 20px;
    border: 0;
    border-top: 3px solid #dededc
}

strong {
    color: #000;
    font-weight: bolder;
}

h1, h2, h3, h4, h5, h6 {
    
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea {
    padding: 5px;
    border: 1px solid #E9E9E9;
    width: 100%;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.post-meta a, .post-content a, .widget a, .comment-content a {
    border-bottom: 1px solid #EEE;
}

.post-meta a:hover, .post-content a:hover, .widget a:hover, .comment-content a:hover {
    border-bottom-color: transparent;
}

.browsehappy {
    padding: 8px 0;
    background: #FBE3E4;
    color: #8A1F11;
    text-align: center;
}

.browsehappy a {
    color: #8A1F11;
    text-decoration: underline;
    font-weight: bold;
}

.clearfix {
    clear: both;
    zoom: 1;
}

#container {
    margin: 0 auto;
    padding: 10px;
    text-align: left;
    width: 85%;
    max-width: 900px;
}

/* -------------------
Layout
---------------------*/

#header {
    padding-top: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.site-name h1 {
  font-size:2.88em;
  margin: 0;
  display: inline;
}

.site-name span.description {
  padding-left: 20px;
  font-size: 1.2em;
  color: #999;
}

#search {
    float: right;
    position: relative;
    bottom: 25px;
}

#search input {
    padding-right: 30px;
}

#search button {
    position: absolute;
    right: 4px;
    top: 2px;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    background: transparent url(image/icon-search.png) no-repeat center center;
    direction: ltr;
    text-indent: -9999em;
}

@media(-webkit-min-device-pixel-ratio:2), (min-resolution:192dpi) {
    #search button {
        background-image: url(image/icon-search@2x.png);
        -webkit-background-size: 24px 24px;
        -moz-background-size: 24px 24px;
        -o-background-size: 24px 24px;
        background-size: 24px 24px;
    }
}

#content {
    padding: 10px 0;
    position: relative;
}

#sidebar {
    position: relative;
}

.post-content .main-meta li {
        font-size: 1.3em;
}

.main-meta {
    margin-top: 1em;
    padding: 10px 0;
    color: #999;
    border-top: 1px solid #eee;
}

.main-meta li {
    display: inline-block;
    margin: 0 8px 0 0;
    padding-left: 12px;
    border-left: 1px solid #eee;
}

.main-meta li:first-child {
    margin-left: 0;
    padding-left: 0;
    border: none;
}

.more {
    text-align: left;
}

.more a {
    border: none;
}

#content .mainleft {
    width: 74%;
    max-width: 750px;
    min-width: 470px;
    float: left;
}

#content .mainright {
    width: 20%;
    max-width: 300px;
    min-width: 150px;
    overflow: hidden;
    float: right;
}

.recent-post {

}

.recent-post h2 {
    font-size: 1.8em;
}

.recent-post-list {
    list-style-type: square;
    padding-left: 20px;
    line-height: 2;
    color: #999;
    font-size: 1.3em;
}

.recent-post-list li ul {
    margin-left: 15px;
}

.recent-post-list span {
    color: #999;
}

.archives-list {
    list-style-type: square;
    padding-left: 20px;
    line-height: 2;
    color: #555;
    font-size: .9em;
}

.post {
    padding: 10px 0 20px;
}

.post h2.post-title, h1.post-title {
    
}

.post h1, .post-content h1,h2,h3{
    margin: .4em 0 .5em 0;
    padding: 0 0 0.2em 0;
    font-weight: 500;
    border-bottom: 1px solid #dcdcdc;
}

.post-content h3{
    font-size: 2.72em;
    line-height: 1.35em;
}

.post h2,h3,h4,h5 {
  
}

.post-meta {
    margin-top: 0;
    padding: 0 0 10px;
    color: #999;
    font-size: 1.4em;
}

.post-meta li {
    display: inline-block;
    margin-right: 8px;
    padding-left: 12px;
    border-left: 1px solid #EEE;
}

.post-meta li:first-child {
    margin-left: 0;
    padding-left: 0;
    border: none;
}

.post-meta li.share {
  clear: both;
  float: right;
  margin-right: 30px;
  display: inline-block;
  border-left: none;
}

.bshareDiv {
  margin: 0;
}

.post-content p {
    font-size: 1.6em;
    line-height: 1.8em;
}

.post-content li p {
    font-size: 1em;
}

.post-content ul li, .post-content ol li{
    font-size: 1.6em;
    line-height: 200%;
}

.post-content ul li li, .post-content ol li li{
    font-size: 1em;
}

.post .tags {
    clear: both;
}

.post-top {
    margin-top: 10px;
    padding-bottom: 20px;
    font-size: 1.5em;
}

.post-nav {
    float: left;
}

.post-near {
    float: right;
    list-style: none;
    margin: 0;
    padding-right: 10px;
    font-size: 0.8em;
    color: #999;
}

.post-near li {
    margin: 0;
}

.archive-title {
    margin: 0;
    padding: 15px 0;
    color: #555;
    font-size: 1.6em;
}

.post h1 {
    margin-top: 5px;
    font-family: "Helvetica Neue", "Segoe UI", Tahoma, Arial, "Microsoft YaHei", "WenQuanYi Micro Hei",
                 sans-serif;
    font-size:2.72em;
    line-height: 250%;
}

.post-bottom {
    margin: 0;
    padding: 10px;
    color: #777;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}

.post-bottom li {
    list-style: square;
    margin-left: 15px;
    padding: 0;
    font-size: 1.3em;
    line-height: 1.8em;
}

.post-bottom h2 {
    clear: both;
    border-bottom: 1px solid #dcdcdc;
    color: #555;
    margin: 0.2em 0 0.8em 0;
    padding: 0.4em 0 1em 0;
    font-size: 1.95em;
}

.related-post {
    margin-top: 20px;
    padding-top: 10px;
}

.related-post h2 {
    border-bottom: 1px solid #dcdcdc;
    margin: 1em 0 1em 0;
    padding: 1em 0 1em 0;
    font-size: 2.25em;
}

.related-post ul {
    padding-left: 2em;
}

.related-post li {
    list-style: square;
    line-height: 2;
}

.related-post ul li{
    font-size: 1.5em;
}

.related-post p {
    margin: 0 10px;
    padding-left: 10px;
    border-left: 5px solid #999;
}

.protected .text {
    width: 50%;
}

.page-navigator {
    list-style: none;
    margin: 25px 0;
    padding: 0;
    text-align: center;
}

.page-navigator li {
    display: inline-block;
    margin: 0 4px;
}

.page-navigator a {
    display: inline-block;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
}

.page-navigator a:hover {
    background: #EEE;
    text-decoration: none;
}

.page-navigator .current a {
    color: #444;
    background: #EEE;
}

@media (max-width: 48rem) {
  #container {
    width: 95%;
  }
  #header {
    width: 100%;
    padding-bottom: 40px;
    padding-top: 10px;
    border-bottom: none;
  }
  #header #search {
    float: left;
    width: 100%;
    margin-top: 30px;
  }
  #content .mainleft, #content .mainright {
    float: left;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  #header .description, #content .post-near {
    display: none;
  }
  .recent-post-list, .widget-list {
    padding-left: 15px;
  }
  .site-name {
    text-align: center;
  }
}

#comments {
    padding-top: 15px;
}

#comments h2{
    font-size: 2.1em;
    padding: 0.8em 0 1em 0;
}

#comments h3{
    font-size: 1.8em;
}

#comment-form p {
    font-size: 1.4em;
}

.comment-list, .comment-list ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    padding: 0 0.4em 0.5em 0.9em;
    margin-top: 0.6em;
    border: 1px solid #EEE;
}

.comment-children li {
    
}

.comment-list li.comment-level-odd {
    background: #F6F6F3;
}

.comment-list li.comment-level-even {
    background: #FFF;
}

.comment-list li.comment-by-author {
    background: #FFF9E8;
}

.comment-list li .comment-reply {
    text-align: right;
    line-height: 1.8em;
    font-size: 1.44em;
}

.comment-author {
    display: block;
    margin-bottom: 3px;
    color: #444;
    font-size: 1.6em;
}

.comment-meta {
    padding: 0.8em 0 0 0;
    font-size: 1.44em;
}

.comment-meta a {
    color: #999;
}


.comment-content {
    font-size: 1.6em;
}

.comment-author .avatar {
    float: left;
    margin-right: 10px;
}

.comment-author cite {
    font-weight: bold;
    font-style: normal;
}

.comment-list .respond {
    margin-top: 15px;
    border-top: 1px solid #EEE;
}

.respond .cancel-comment-reply {
    float: right;
    margin-top: 15px;
    font-size: 1.44em;
}

#comment-form label {
    display: block;
    margin-bottom: .5em;
    font-weight: bold;
}

#comment-form .required:after {
    content: " *";
    color: #C00;
}

.widget {
    margin-bottom: 30px;
}

.widget h3 {
    border-bottom: 1px solid #eee;
    font-size: 1.4em;
}

.widget ul li{
    font-size: 1.3em;
}

.widget-list {
    list-style: square;
    padding-left: 15px;
    color: #666;
}

.widget-list li {
    margin: 5px 0;
}

.widget-list li ul {
    margin-left: 15px;
}

#footer {
    padding: 1em 0;
    line-height: 1.5;
    text-align: center;
    color: #999;
    font-size: 0.9em;
    border-top: solid 1px #eee;
}

.error-page {
    margin-top: 40px;
    margin-bottom: 50px;
}

.post-content, .comment-content {
    word-wrap: break-word;
    line-height: 1.8em;
}

.post-content h2, .comment-content h2 {
    font-size: 1.28571em;
}

.post-content img, .comment-content img, .post-content video, .comment-content video {
    max-width: 100%;
    height: auto;
    margin: .2em;
}

.post-content a img, .comment-content a img {
    background: #FFF;
    position: relative;
    bottom: -4px;
}

.post-content hr, .comment-content hr {
    margin: 2em auto;
    width: 100px;
    border: 1px solid #E9E9E9;
    border-width: 2px 0 0 0;
}

.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

img.alignleft {
    margin: 0 15px 0 0;
}

img.alignright {
    margin: 0 0 0 15px;
}

.hidden {
    display: none!important;
    visibility: hidden;
}

.sr-only {
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.sr-only.focusable:active, .sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.m-title {
    text-align: center;
    font-size: 18px;
    border-bottom: solid 1px #ccc;
    width: 80%;
}

.al_mon {
    font-weight: bold;
}

.text-muted {
    font-style: italic;
}

.text-muted-show {
    color: #832E0F;
    font-weight: bold;
}

.post-content table {
    border: 1px solid #e1e1e1;
    border-collapse: collapse;
    display: block;
    width: max-content;
    font-size: 1.6em;
    font-family: Georgia, sans-serif;
    margin: 3em 0 3em 0;
}
.post-content table thead {
    background-color: #f7f7f7;
}
.post-content table th,table td {
    color: #444;
    padding: .5rem;
    border: 1px solid #e1e1e1;
}
.post-content table tr {
    transition: background-color .3s;
}
.post-content table tr:hover {
    background-color: #f8f8f8;
}
