/* ::: HTML5显示定义  ::: */
/**
 * 正确的块显示，在IE 8/9中没有定义。
 */
article, aside, figcaption, figure, footer, header, main, nav, section { display: block; }
/* ::: 基本样式 ::: */
/**
 * 在方向更改后防止iOS文本大小调整，而不禁用用户缩放。
 */
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
/**
 * 删除默认边距。
 */
body { margin: 0; }
/* ::: 链接样式 ::: */
/**
 * 解决Chrome与其他浏览器之间的“outline”不一致问题。
 */
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }
/* ::: 排版 ::: */
/**
 * 在所有浏览器中解决不一致和可变的字体大小。
 */
small { font-size: 80%; }
/* ::: 嵌入式内容 ::: */
/**
 * 在IE 8/9中的`a`元素中删除边框。
 */
img { border: 0; }
/* -- 简化标准化结束 -- */


/* WEB ICON字体
  (出现的社交图标在右上角)
------------------------------------------ */
@font-face {
    font-family: 'Social Icons';
    src: url("font/socialico-webfont.eot");
    src: url("font/socialico-webfont.eot?#iefix") format("embedded-opentype"), url("font/socialico-webfont.woff") format("woff"), url("font/socialico-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
/* 通用（直接应用于元素）
------------------------------------------------ */
body {
    font: 100%/1.2 Georgia, "Times New Roman", serif;
    padding-left: 15px;
    padding-right: 15px;
}
* {
    -webkit-box-sizing: border-box; /* Android <= 2.3, iOS <= 4 */
    -moz-box-sizing: border-box; /* Firefox 1+ */
    box-sizing: border-box; /* Chrome, IE 8+, Opera, Safari 5.1 */
}
h1 {
    color: #212121;
    font-family: 'Lato', sans-serif;
    font-size: 1.5em;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: .975;
    margin-bottom: .4125em;
}
.about h2, .mod h2, .nav-main a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
.about h2, .mod h2 { font-size: .875em; /* 15px/16px */ }
ul, ol { list-style: none; }
a {
    color: #1162a4;
    text-decoration: none;
}
a:hover { text-decoration: underline; }
.more:after { content: ' »'; }
img { border: 0; }
.page {
    /* 这些声明组合实现在浏览器中心显示整个页面 */
    margin: 0 auto;
    max-width: 960px;
}
.post-photo, .post-photo-full, .about img, .map { max-width: 100%; }
/* 报头
------------------------------------------ */
.masthead { padding-top: 12px; }
.logo {
    font-size: 10px;
    line-height: 1;
    margin-bottom: -8px;
    margin-top: 0;
}
.logo, .social-sites, .nav-main li { text-align: center; }
/* ::: 主导航 ::: */
.nav-main {
    border-bottom: 1px solid #c7c7c8;
    border-top: 5px solid #019443;
    margin-top: 0;
    padding: .45em 0 .5em;
}
.nav-main a {
    color: #292929;
    font-size: 1.125em; /* 18px/16px */
}
.nav-main a:hover {
    color: #029443;
    text-decoration: none;
}
.nav-main .current-page, .nav-main .current-page:hover {
    color: #747474;
    cursor: default;
}
/* ::: 社交网站图标 ::: */
.social-sites {
    margin-bottom: 12px;
    padding: 0;
}
.social-sites li { display: inline; }
.social-sites a {
    color: #019443;
    font-family: 'Social Icons', sans-serif;
    font-size: 46px;
    line-height: .8;
    vertical-align: middle;
}
.social-sites a:hover {
    color: #1162a4;
    text-decoration: none;
}
/* 主要内容
------------------------------------------ */
main > .post:first-child > h1 { margin-top: 0.769em; }
.post-blurb p {
    color: #363636;
    font-size: 1.125em;
    line-height: 1.575;
}
/* ::: 博客帖子页脚 ::: */
.post-footer {
    border-bottom: 1px solid #dbdbdb;
    border-top: 1px solid #dbdbdb;
    padding-bottom: .9em;
    padding-top: .9em;
}
.post-footer a { font-weight: bold; }
.post-footer time {
    display: block;
    margin-top: .25em;
}
.footer p {
    color: #3a3a3a;
    font-family: arial, helvetica, sans-serif;
    font-size: 0.688em;
}
.footer p small { font-size: inherit; }
/* ::: 分页链接，在博客文章下方 ::: */
.pagination {
    margin: 30px 0 0;
    padding: 0;
}
.pagination li {
    display: inline-block;
    font: 0.875em arial, helvetica, sans-serif;
    margin-right: 0.25em;
}
/* 边栏
------------------------------------------ */
.sidebar { margin-top: 60px; }
.mod h2 {
    border-bottom: 1px solid #dbdbdb;
    margin-top: 2.571em;
    padding-bottom: .75em;
}
/* ::: 关于自己 ::: */
.about {
    background: #2b2b2b;
    padding: 0.313em 0.625em 0.625em;
}
.about h2, .about p { color: #dadada; }
.about p {
    font-size: 0.875em;
    line-height: 1.5;
}
.about img {
    border: 5px solid #bebebe;
    display: block;
    margin: 0 auto;
}
.map { margin: 1.438em 0 0.813em; }
/* ::: 先前和共享文章 ::: */
.links {
    margin: 1.5em 0 4.125em;
    padding-left: 0;
}
.links li { margin-bottom: 1.1em; }
.links a {
    font-size: 1.1em;
    line-height: 1.195;
}
/* 页脚
--------------------------------- */
footer[role="contentinfo"] { border-top: 1px solid #cacbcb; }

/* ===================== 媒体查询 ===================== */

/* 320+ 
------------------------------------------ */
@media only screen and (min-width: 20em) {
/* 报头 */
.nav-main li {
    border-left: 1px solid #c8c8c8;
    display: inline-block;
    text-align: left;
}
.nav-main li:first-child { border-left: none; }
.nav-main li:last-child a { padding-right: 0; }
.nav-main a {
    display: inline-block;
    font-size: 1em;
    padding: .5em .9em .5em 1.15em;
}
/* 边栏 */
.links { width: 90%; }
}

/* 480+ 
------------------------------------------ */
@media only screen and (min-width: 30em) {
/* 报头 */
.masthead { position: relative; }
.logo {
    margin-bottom: 8px;
    text-align: left;
}
.nav-main a {
    font-size: 1.125em; /* 18px/16px */
    padding-left: 1.4em;
    padding-right: 1.15em;
}
.social-sites {
    margin: 0;
    position: absolute;
    right: -3px;
    top: 41px;
}
.social-sites li { margin-left: -1px; }
/* 主要内容 */
.post-photo {
    float: left;
    margin-bottom: 2px;
    margin-right: 3.67%;
    max-width: 61.667%;
}
.post-footer time {
    display: inline;
    margin-top: 0;
}
.post-footer time:before { content: '•  '; }
/* 边栏 */
.links a { font-size: 1.125em; }
}

/* 480-767-only 
------------------------------------------ */
@media only screen and (min-width: 30em) and (max-width: 47.9375em) {
/* 边栏 */  
.about { overflow: hidden; }
.about img {
    float: left;
    margin-right: 15px;
}
}

/* 600-767-only 
------------------------------------------ */
@media only screen and (min-width: 37.5em) and (max-width: 47.9375em) {
/* 边栏 */
.about { padding-bottom: 1.4em; }
}

/* 768+ 
------------------------------------------- */
@media only screen and (min-width: 48em) {
h1 { font-size: 2.25em; }
/* 报头 */
.masthead { padding-top: 10px; }
.nav-main { margin-bottom: 0; }
/* 主要内容 */
.container {
    background: url(img/bg.png) repeat-y 65.938% 0;
    padding-bottom: 1.9375em;
}
main {
    float: left;
    width: 62.5%;
}
main > .post:first-child > h1 { margin-top: 0.904em; }
.post-blurb p {
    font-size: 1em;
    line-height: 1.4;
}
.post-footer {
    padding-bottom: .7em;
    padding-top: .7em;
}
.footer p { font-size: 0.688em; }
.pagination { margin-top: 45px; }
/* 边栏 */
.sidebar {
    float: right;
    margin-top: 1.875em;
    width: 31.25%;
}
.about p { font-size: 0.813em; }
/* 页脚 */
footer[role="contentinfo"] { border-top: 1px solid #cacbcb; }
}
/* --- 结束媒体查询 ---- */


/* 清除浮动
--------------------------------- */
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after { clear: both; }
/*
 * 仅支持IE 6/7
 * 包含此规则以触发hasLayout并包含浮动。
 */
.clearfix { *zoom: 1;
}
