* {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 20px;
}
h2 {
  font-size: 18px;
}
h3 {
  font-size: 16px;
}
h4 {
  font-size: 14px;
}

::selection {
  background: #eee;
  color: #ff9900;
}

::-moz-selection {
  background: #eee;
  color: #ff9900;
}

::-webkit-selection {
  background: #eee;
  color: #ff9900;
}

a {
  color: #2479cc;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #ff9900;
}

.clearfix {
  clear: both;
}

body {
  color: #555;
  background: #e6ebea;
  letter-spacing: 0.01em;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif;
  -webkit-transition: -webkit-transform 0.2s
    cubic-bezier(0.4, 0.01, 0.165, 0.99);
  transition: transform 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99),
    -webkit-transform 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: none;
}

#container {
  width: 888px;
  margin: 38px auto 0;
  background: #fff;
  -webkit-box-shadow: 0px 1px 3px #a8abab;
  -moz-box-shadow: 0px 1px 3px #a8abab;
  box-shadow: 0px 1px 3px #a8abab;
}

#site-header {
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid #f5f5f5;
}

#site-name {
  float: left;
  margin-left: 20px;
}

#site-menu {
  float: right;
  list-style-type: none;
  margin-right: 20px;
}

#site-footer {
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-top: 1px solid #f5f5f5;
  text-align: center;
  color: #ccc;
  font-size: 12px;
}

#article-list .year {
  height: 35px;
  line-height: 35px;
  color: #6b747f;
  font-size: 16px;
  margin: 20px -20px;
  font-weight: bold;
  background: #f2f8f7;
  padding-left: 20px;
}

#article-list .date {
  color: #bbb;
  font-size: 12px;
  margin-left: 10px;
  float: right;
}

#article-list ul {
  list-style-type: none;
}

#article-list li {
  line-height: 26px;
  padding: 2px 0;
}

#copyright-warning {
  width: 80%;
  border: 1px dashed #f3cdcf;
  font-size: 12px;
  line-height: 20px;
  margin: 88px auto 0 auto;
  padding: 10px;
  text-align: center;
  color: #aaa;
  background: #fefefe;
}
#copyright-warning p {
  margin: 0 !important;
  text-indent: 0em !important;
}

.content-container {
  padding: 20px;
  min-height: 888px;
}

#article-title,
#poem-title {
  text-align: center;
}

#article-content,
#poem-content {
  margin: 20px 0;
}

#poem-content {
  text-align: center;
  line-height: 30px;
}

#poem-content hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px auto;
  width: 88px;
}

#article-content {
  line-height: 30px;
}

#article-content p {
  margin: 10px 0;
  text-indent: 2em;
}

#article-content img {
  display: block;
  margin: 10px auto;
  padding: 0;
  max-width: 100%;
}

#article-content pre {
  position: relative;
  overflow: hidden;
  padding: 0.6em;
  border-left: 5px solid #ccc;
  background-color: #f8f8f8;
  color: #5d6a6a;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

#article-content blockquote {
  overflow: hidden;
  background-color: #fcfcfc;
  border-left: 5px solid #eee;
}

#article-content blockquote p {
  text-indent: 0;
  padding: 0 10px;
}

#article-content ol,
#article-content ul {
  margin-left: 20px;
  line-height: 18px;
}

#article-content .footnote {
  margin-right: 4px;
}

#article-content .footnotes ol p {
  text-indent: 0;
}

@media screen and (max-width: 640px) {
  #container {
    width: 100%;
  }
}
