/* IPA-friendly proportional serif typeface */
@font-face { font-family: 'charis';
             src: url('/fonts/CharisSIL-R.woff') format('woff'); }
@font-face { font-family: 'charis'; font-style: italic;
			 src: url('/fonts/CharisSIL-I.woff') format('woff'); }
@font-face { font-family: 'charis'; font-weight: bold;
             src: url('/fonts/CharisSIL-B.woff') format('woff'); }
@font-face { font-family: 'charis'; font-weight: bold; font-style: italic;
             src: url('/fonts/CharisSIL-BI.woff') format('woff'); }
/**********************************************************************/
/* Common                                                             */
/**********************************************************************/

/* Global Reset */
* {
  margin: 0;
  padding: 0;
}

html, body { 
  height: 100%; 
}

body {
  background-color: #FFF;
  font: 13.34px 'charis';
  /* font-size: small; */
  text-align: center;
  background-image: url('/images/hohhot.jpg');
  background-size: 100% auto;
  background-repeat: repeat-y;
}

h1 { font-size: x-large; }

h2 { 
  margin-bottom: 0.5em; 
  font-size: large;
}

h3, h4, h5, h6 { font-size: 100%; }

p { margin: 1em 0; }

img {
  display: block;
  margin: 0 auto;
}

/*
.imageCenteringWrapper { text-align: center; }
*/

a         { color: #a00; text-decoration: none; }
a:active  { color: #00a; }
a:hover   { color: #00a; }
a:visited { color: #a00; }

/**********************************************************************/
/* Home                                                               */
/**********************************************************************/
ul.posts {
  list-style-type: none;
  margin-bottom: 0.75em;
}

ul.posts li {
  margin:1.25em 0em;
  line-height: 1.75em;
}

ul.posts span {
  color: #666;
  font-family: Monaco, "Courier New", monospace;
  font-weight: bold;
  font-size: 80%;
}

ul.posts li a { font-weight: bold; }

/**********************************************************************/
/* Site                                                               */
/**********************************************************************/

.site {
  font-size: 115%;
  text-align: left;
  width: 42em;
  padding: 1em;
  margin: 3em auto 2em;
  line-height: 1.5em;
  background-color: rgba(255,255,255,0.85);
}

.site .header {
  color: #666; 
  margin-bottom: 1.25em;
}
.site .header a { 
  text-decoration: none; 
  color: #a00;
}

.site .header a:hover {
  color: #000;
} 

.site .header h1 {
  display: inline-block;
  margin-bottom: 0.25em;
}

.site .header h2 a {
  color: #484;
}

.site .meta {
  color: #666;
}

.site .footer {
  color: #888;
  border-top: 1px solid #888;
  margin-top: 3em;
  overflow: hidden;
}

.site .footer .contact {
  font-size: 60%;
  float: left;
  margin-right: 3em;
  width: 75%;
  line-height: 1;
}

.site .footer .contact a {
  color: #a00;
}

.site .footer .rss {
  margin-top: 0.5em;
  margin-right: -.2em;
  float: right;
}

.site .footer .rss img {
  border: 0;
}

/**********************************************************************/
/* Posts                                                              */
/**********************************************************************/

/* standard */
.post pre {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .4em;
}

.post ul, .post ol {
  margin-left: 1.35em;
}

.post code {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .2em;
}

.post pre code {
  border: none;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}

.post pre.terminal code {
  background-color: #333;
}
