:root {
  --c-section-bg: #f0f0f0;
  --c-post: #eee;
  --c-post-text: #000;
  --c-btn: #555;
  --c-btn-active: #777;
  --c-btn-text: #fff;
  --c-post-article: #fff;
  --c-post-article-active: #ddd;
  --a-btn-border: 1px solid #333;
  --a-post-border: 1px solid #777;
  --a-post-border-bold: 3px solid #888;
}

:root[color-theme=light] {
  --c-section-bg: #eee;
  --c-post: #fff;
  --c-post-text: #000;
  --c-btn: #555;
  --c-btn-active: #505a5a;
  --c-btn-text: #fff;
  --c-post-article: #fff;
  --c-post-article-active: #ddd;
  --a-btn-border: 1px solid #333;
  --a-post-border: 1px solid #777;
  --a-post-border-bold: 3px solid #888;
}

:root[color-theme=dark] {
  --c-section-bg: #111;
  --c-post: #333;
  --c-post-text: #fff;
  --c-btn: #fff;
  --c-btn-active: #eff;
  --c-btn-text: #111;
  --c-post-article: #222;
  --c-post-article-active: #555;
  --a-btn-border: 1px solid #ddd;
  --a-post-border: 1px solid #eee;
  --a-post-border-bold: 3px solid #ccc;
}

section {
  margin: 0 auto;
  width: 100%;
  background-color: var(--c-section-bg);
}

.post-btn {
  background-color: var(--c-btn);
  color: var(--c-btn-text);
  border: var(--a-btn-border);
}

.post-btn:hover {
  background-color: var(--c-btn-active);
}

.pt-bg {
  background-color: var(--c-post);
}

.post-input {
  border-radius: 20px;
  padding: 5px;
  font-size: 1.2em;
  background-color: var(--c-post-article);
  color: var(--c-post-text);
}

#btn-search {
  border-radius: 10px;
  font-size: 1.2em;
  padding: 5px 7px;
}

#post-container {
  width: 100%;
  min-width: 380px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
#post-container #post-tool {
  height: 70px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
#post-container #post-tool ul {
  position: absolute;
  left: 10px;
  bottom: 10px;
}
#post-container #post-tool ul li {
  float: left;
  margin: 0 10px;
}
#post-container #post-tool ul li .btn-sort {
  display: inline-block;
  padding: 10px;
  font-size: 1em;
  border-radius: 3px;
}
#post-container #post-tool form {
  position: absolute;
  right: 10px;
  bottom: 10px;
}
#post-container .post-list {
  border-top: var(--a-post-border-bold);
  border-bottom: var(--a-post-border-bold);
  min-height: 100px;
  background-color: var(--c-post);
}
#post-container .post-list .post {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
  height: 160px;
  border-bottom: var(--a-post-border);
  background-color: var(--c-post-article);
  transition: all 0.1s;
}
#post-container .post-list .post .post-pic {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 140px;
  height: 140px;
  overflow: hidden;
}
#post-container .post-list .post .post-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#post-container .post-list .post .post-text {
  position: absolute;
  top: 10px;
  left: 160px;
  width: calc(100% - 180px);
}
#post-container .post-list .post .post-text h2 {
  color: var(--c-post-text);
  font-size: 1.6em;
  line-height: 1.6em;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
#post-container .post-list .post .post-text p {
  color: var(--c-post-text);
  font-size: 1.2em;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.2em;
  height: 3.6em;
  text-align: left;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
#post-container .post-list .post .post_info p {
  font-size: 15px;
  color: var(--c-post-text);
}
#post-container .post-list .post .post_info .upload-time {
  position: absolute;
  right: 20px;
  bottom: 10px;
}
#post-container .post-list .post .post_info ul {
  position: absolute;
  left: 160px;
  bottom: 10px;
}
#post-container .post-list .post .post_info li {
  float: left;
  padding: 0 20px;
  overflow: hidden;
}
#post-container .post-list .post .post_info li img {
  width: 20px;
  height: 20px;
  float: left;
}
#post-container .post-list .post .post_info li p {
  float: left;
  padding: 0 10px;
}
#post-container .post-list .post:last-child {
  border-bottom: none;
}
#post-container .post:hover {
  cursor: pointer;
  background-color: var(--c-post-article-active);
}
#post-container #page-container {
  height: 100px;
  width: 100%;
}
#post-container #page-container ul {
  margin: 0 auto;
  width: 200px;
  position: relative;
}
#post-container #page-container ul li {
  position: absolute;
  padding: 10px;
}
#post-container #page-container ul li a {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 2px;
}
#post-container #page-container ul .page-l {
  left: 10px;
}
#post-container #page-container ul .page-now {
  left: 50%;
  transform: translate(-50%, 0);
}
#post-container #page-container ul .page-r {
  right: 10px;
}

.isEmpty {
  margin: auto;
  height: 100%;
}
.isEmpty p {
  padding: 30% 0;
  text-align: center;
  color: var(--c-post-text);
}

@media (max-width: 780px) {
  #text-search {
    width: 220px;
  }
  #btn-search {
    border-radius: 10px;
    font-size: 1.1em;
    padding: 5px;
  }
  #post-container #post-tool {
    height: 140px;
    width: 100%;
    margin: 0 auto;
    position: relative;
  }
  #post-container #post-tool ul {
    position: absolute;
    bottom: 0;
  }
  #post-container #post-tool ul li {
    margin: 0;
    float: left;
  }
  #post-container #post-tool ul li .btn-sort {
    display: inline-block;
    padding: 5px 7px;
    font-size: 1em;
    border-radius: 0;
  }
  #post-container #post-tool ul li:first-child .btn-sort {
    border-top-left-radius: 10px;
  }
  #post-container #post-tool ul li:last-child .btn-sort {
    border-top-right-radius: 10px;
  }
  #post-container #post-tool form {
    width: 350px;
    height: 70px;
    position: absolute;
    left: 10px;
    top: 10px;
  }
  #post-container #post-tool form select {
    display: block;
  }
  #post-container .post-list .post {
    height: 120px;
  }
  #post-container .post-list .post .post-text {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
  }
  #post-container .post-list .post .post-text h2 {
    color: var(--c-post-text);
    font-size: 1.3em;
    line-height: 1.3em;
  }
  #post-container .post-list .post .post-text p {
    color: var(--c-post-text);
    font-size: 1.1em;
    line-height: 1.1em;
    height: 2.3em;
    -webkit-line-clamp: 2;
  }
  #post-container .post-list .post .post_info p {
    font-size: 14px;
    color: var(--c-post-text);
  }
  #post-container .post-list .post .post_info .upload-time {
    position: absolute;
    right: 10px;
    bottom: 10px;
  }
  #post-container .post-list .post .post_info ul {
    position: absolute;
    left: 10px;
    bottom: 10px;
  }
  #post-container .post-list .post .post_info li {
    float: left;
    padding: 0 20px;
    overflow: hidden;
  }
  #post-container .post-list .post .post_info li img {
    width: 20px;
    height: 20px;
    float: left;
  }
  #post-container .post-list .post .post_info li p {
    float: left;
    padding: 0 10px;
  }
}

/*# sourceMappingURL=pg.css.map */
