* {
	font-family: "open sans", "Helvetica Neue", "Microsoft Yahei", Helvetica, Arial, sans-serif;
}

body {
	font-size: 17.5px;
}

p {
	line-height: 1.42;
}

article .image {
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

article {
	word-break: normal;
}

article.single,
article.grid {
	height: auto;
	min-height: 24rem;
	max-height: initial;
	overflow: initial;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.well {
	border: 1px solid #eee;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

article.grid .summary {
	min-height: 4rem;
	max-height: initial;
	overflow: initial;
}

.summary blockquote {
	margin-top: 20px;
}

article.single img.image,
article.grid img.image {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.p-paging > a,
article.grid .btn-primary {
	background: #eee;
	border: none;
	color: #555;
	padding: 4px 12px;
	margin-top: 1rem;
	border-radius: 3px;
	line-height: 1.42;
	font-size: 15px;
}
.p-paging > a {
	background: #ddd;
}
.p-paging > a:hover,
.p-paging > a:active,
article.grid .btn-primary:hover,
article.grid .btn-primary:active {
	background: #000;
	color: #fff;
	transition: background-color 0.5s ease, color 0.5s ease;
}

article.single.page .body h1:first-child {
	padding-top: 2rem;
	margin-top: 0;
}

article.grid .date {
	color: #777;
}
article.grid .title {
	font-size: 1.5rem;
	max-height: initial;
	overflow: initial;
	font-weight: bold;
}

.l-header {
	text-align: left;
	padding: 0.5rem 0;
}

.p-logo, .p-nav {
	display: inline-block;
	padding: 0.5rem 0;
}
.p-logo {
	background: url(/images/logo.png) top left no-repeat;
	background-size: contain;
	padding-left: 30px;
}
.p-nav {
	padding: 0;
}
.p-nav .location {
	color: #555;
	margin-right: 30px;
	padding: 0.5rem 0;
	font-size: 0.9rem;
	vertical-align: text-top;
}
.p-nav .fa {
	margin: 0 0.5rem 0 0;
}
.p-nav a .fa {
	padding: 0.4rem 0 0 0;
	font-size: 1.5rem;
}

.p-logo a {
	font-family: "open sans", "Helvetica Neue", "Microsoft Yahei", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
}


code, pre code, pre {
	font-family: "Source Code Pro";
	font-size: 1rem;
	line-height: 1.2;
}

article.single .body p>code {
	font-size: 15.5px;
	padding: 3px 5px;
}

article.single .well {
	margin-top: 2rem;
}
article.single div.subscribe-me h2 {
	margin: 0 0 1rem 0;
}
.thank-you {
	font-weight: bold;
}

article .body .github-widget h3 {
	margin: 0;
	padding: 3px 0 3px 35px;
}
.github-stats {
	height: auto !important;
	line-height: 1 !important;
	padding: 3px !important;
}
.github-stats a {
	text-decoration: none !important;
	height: auto !important;
	padding-top: 3px !important;
	padding-bottom: 3px !important;
}
.github-box-download {
	display: none;
}
.github-widget {
	margin-bottom: 5px;
}
.github-widget p {
	margin: 0 !important;
}
.github-widget p.link {
	display: none;
}

.book img {
	width: 100%;
	max-width: 200px;
}

.btn.btn-primary {
	background: #fff;
	color: #333;
	border-radius: 0;
	border: 1px solid #000;
	text-decoration: none !important;
}

.btn.btn-primary:hover {
	background: #000;
	color: #fff;
}

blockquote {
	clear: both;
	background: #f7f7f7;
}

blockquote > p:first-child {
	margin-top: 0 !important;
}

blockquote > p:last-child {
	margin-bottom: 0 !important;
}

article .body table {
	border: 1px solid #ccc;
}
article .body table th,
article .body table td {
	border: 1px solid #ccc;
	padding: 0.4em 0.5em;
}
article .body table th {
	background: #eee;
}

/** Tweet this */

.tweet-this {
	background: #fff;
	border: 1px solid #ccc;
	padding: 0.6em 1em;
	font-size: 1.3em;
}
.tweet-this > p {
	letter-spacing: 1px;
	line-height: 1.42 !important;
}
.tweet-this > p > a {
	text-decoration: none !important;
	color: #555 !important;
}
.tweet-this > p > a:hover {
	color: #333 !important;
}
.tweet-this > a {
	color: #55acee !important;
	text-decoration: none !important;
	display: block;
	text-align: right;
	font-size: 0.8em;
}
.tweet-this > a > i {
	margin-right: 0.3em;
	vertical-align: middle;
}