@font-face {
  font-family: 'laiui';
  src:
    url('fonts/laiui.ttf?ch4r7e') format('truetype'),
    url('fonts/laiui.woff?ch4r7e') format('woff'),
    url('fonts/laiui.svg?ch4r7e#laiui') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'laiui' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-user:before {
  content: "\e902";
}
.icon-math:before {
  content: "\e900";
}
.icon-tag:before {
  content: "\e901";
}
.icon-folder-open:before {
  content: "\e904";
}
.icon-home:before {
  content: "\e909";
}
.icon-archive:before {
  content: "\e90a";
}
.icon-calendar:before {
  content: "\e953";
}
.icon-star:before {
  content: "\e9d7";
}
.icon-top:before {
  content: "\ea41";
}
.icon-github:before {
  content: "\eab0";
}
.icon-email:before {
  content: "\f003";
}
.icon-prev:before {
  content: "\f0d9";
}
.icon-next:before {
  content: "\f0da";
}
.icon-more:before {
  content: "\f101";
}

body {
  background-color: #fff;
  color: #555;
  font-family: "Microsoft YaHei",SimSun,sans-serif;
  font-size: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

header {
  min-height: 100px;
  border-bottom: 1px solid #fafafa;
  background-image: url("/images/header.png");
  background-repeat:no-repeat;background-size: cover;
}
header > a {
  display: block;
  font-size: 70px;
  font-weight: bold;
  color: #fff;
  padding: 20px;
}

footer {
  text-align: center;
  margin-top: 20px;
}

nav {
  font-size: 16px;
  margin: 0 20px;
  display: flex;
  justify-content: center;
}
nav a {
  display: inline-block;
  width: 120px;
  padding: 10px 0;
  margin-right: 5px;
  background: #eee;
  color: #727272;
  text-align: center;
  transition: background .3s ease;
  box-shadow: 5px 10px 20px 1px #ccc;
}
nav a i {
  margin-right: 5px;
}

article {
  margin: 20px;
}

@media (min-width: 768px) {
  nav {
    justify-content: start;
  }
  article {
    display: flex;
  }
  main {
    flex: 1;
    padding-right: 15px;
    max-width: 75%;
  }
  aside {
    width: 25%;
    padding-left: 15px;
  }
}

h1 {
  font-size: 26px;
  margin: 20px 0;
}
h2 {
  font-size: 22px;
  margin: 15px 0;
}
h3 {
  font-size: 20px;
  margin: 15px 0;
}
h4 {
  font-size: 18px;
  margin: 10px 0;
  font-weight: normal;
}

ul {
  margin: 10px 0;
  padding: 0;
  list-style: none;
}
ul li {
  margin: 5px 0;
}

a {
  color: #111;
  text-decoration: none;
}
a:hover, a:active {
  color: #FF4500;
  transition: all 0.2s ease-in;
}
a:focus {
  outline: auto;
}

div {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

a.button {
  display: inline-block;
  color: #FF4500;
  border: 1px solid #FF4500;
  padding: 5px 10px;
  border-radius: 5px;
}
a.button:hover, a.button:active {
  background-color: #FF4500;
  color: #fff;
  transition: all 0.2s ease-in;
}

#to-top {
  cursor: pointer;
  position: fixed;
  right: 50px;
  bottom: 50px;
  /*visibility: hidden;*/
}
#to-top i {
  background-color: #fff;
  font-size: 48px;
  opacity: .3;
}
#to-top:hover i {
  opacity: 1;
  transition: all 0.2s ease-in;
}

.summary, .box {
  margin: 25px 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #f9f9f9;
  padding: 15px;
}
.summary .more {
  margin-top: 10px;
  text-align: right;
}

.pagination {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}
.page-link {
  display: inline-block;
  cursor: pointer;
  color: #FF4500;
  border: 1px solid #FF4500;
  margin: 0 3px;
  padding: 5px 0;
  border-radius: 5px;
  min-width: 35px;
  text-align: center;
}
.page-link:hover {
  background-color: #FF4500;
  color: #fff;
}
.page-item.disabled {
  display: none;
}

.article-meta {
  font-size: 16px;
}
.article-meta span {
  color: #888;
}
.article-copyright {
  list-style: none;
  border-left: 5px solid #FF4500;
  background-color: #FAF0E6;
  padding: 10px;
}
.article-tags {
  font-size: 16px;
}
.article-tags a {
  margin-right: 5px;
}
.article-links {
  margin: 15px 0;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
}
.tags a {
  padding: 7px 15px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 5px;
  margin: 5px 10px 5px 0;
}

.highlight pre {
  overflow-x: auto;
}

