@import "syntaxhighlighter.css";
@import "droidsans.css";
@import "oswald.css";

body {
    font-family: "Hiragino Sans GB", oswald, droidsans，serif;
    background-color: #fff;
    color: #333;
}

.brand {
    text-decoration: none;
    color: #222;
    font-size: 2.2em;
    font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif;
    letter-spacing: -0.06em;
    font-weight:bold;
    text-shadow: 1px 1px 1px rgb(119, 119, 119);
    margin-left:0.5em;
    float:left;
}

.brandin {color:#666;}

.navbar {
    background-color: #cfcfcf;
    /* position: fixed; for screen>750px, postion: absolute; for screen <750px */
    top: 0px;
    right: 0px;
    opacity: 0.73;
    width: 100%;
    padding: 0.3em;
}

.nav {

    display: inline;
    float: right;
    margin: 1em 10px 0px 0px;
    position: relative;
    right: 0px;
}

.nav_link {
    text-decoration: none;
    color: #111;
    font-size: 1.1em;
    padding: 0.35em;
    font-weight: bold;
    font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif;
}

.content-main {
    //margin-top: 45px;
    //margin-left: 21%;
    //margin-right: 21%;
    line-height: 1.25em;
    padding: 3%;
    font-size: 1.15em;
}

.tag_box li, .pagination li,  .inline {
    display: inline-block;
    text-transform: capitalize;
    padding: 7px;
}

.tag_box span {
    background-color: #333;
    display: inline-block;
    border-radius: 10px;
    color:white;
    font-weight: bold;
    font-size: 10px;
    padding: 1px 5px;
}

h1,h2,h3,h4 {
    font-family: "Hiragino Sans GB", oswald, droidsans， serif;
    font color："#333"
    line-height: 1em;
}

h1 { font-size: 3em; padding-bottom: 0.3em; }
h2 { font-size: 2em; }

ul { list-style: square outside none; }
.content ul, .content ol { padding: 0px; }
.content li { padding-bottom: 4px; }

.content-main a:link {
    color: rgb(54, 97, 161);
    text-decoration: none;
}

.content-main a:visited {
    color: rgb(84, 127, 191);
    text-decoration: none;
}

.content-main a:hover {text-decoration: underline;}

pre {
    color: rgb(242, 242, 242);
    background-color:#3a3a3f;
    border: 1px solid #3a3a3f;
    font-family: monospace;
    margin-left: 0px;
    margin-right: 0px;
    padding: 1.625em;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3) inset, 0px 1px 0px rgba(255, 255, 255, 0.6);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.prev, .next, .archive {
    background-color: #1F3A70;
    border-radius: 5px;
}

.disabled, .disabled:hover {     
    background-color: #4C5567;
    border-radius: 5px;
    color: #bbb;
 }

.prev:hover, .next:hover, .archive:hover {
    background-color:#354E7E;
}


.pagination a:link, .pagination a:visited, .pagination a:hover {color:#fff; text-decoration: none; }

.the-footer {
    font-size: 1.1em;
    margin-left: auto;
    margin-right: auto;
    background-color: #3a3a3f;
    color: #ddd;
    border-radius: 20px;
}

.the-footer a {color: rgb(88, 131, 195); text-decoration:none;}

.unit-foot {
    padding: 25px;
}

@media only screen and (min-width: 900px) {
    .content-main {
        margin-left:21%;
        margin-right:21%;
        margin-top: 40px;
    }
    .navbar { position: fixed; }
    .the-footer { width: 700px;}
}

@media only screen and (max-width: 900px) {
    .content-main {
        margin-top: 100px;
    }
    .navbar { position: absolute; }
    .the-footer { width: 95%;}
}

@media only screen and (max-width: 450px) {
   .content-main h1,h2,h3,h4 { line-height:1.4; }
}

