/*Color Var 颜色变量*/
/*Background Color 背景颜色*/
body {
  background: #d4dcd6;
}
.mdui-card {
  background: #fff;
}
h1 {
  font-size: 1.75em !important;
}
h2 {
  font-size: 1.5em !important;
}
/*表格边框*/
table {
  border-collapse: collapse;
}
tr td,
th {
  border: 1px solid #444;
}
/*Dark Mode*/
.mdui-theme-layout-dark #footer {
  background: #212121;
}
/* 页脚位置响应 */
html {
  height: 100%;
}
main {
  min-height: calc(100% - 2 * 40px - 75px - 1.5 * 32px);
}
@media screen and (min-width: 1024px) {
  body {
    height: calc(100% - 64px);
  }
}
@media screen and (min-width: 600px) and (max-width: 1023px) {
  body {
    height: calc(100% - 64px);
  }
}
@media screen and (max-width: 599px) {
  body {
    height: calc(100% - 56px);
  }
}
/* Paginator Style 底部导航栏*/
.pagination {
  display: inline-block;
  padding: 0;
  margin: 0;
}
.pagination a,
.pagination span {
  transition: background-color 0.3s;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
}
.pagination a:visited,
.pagination span:visited,
.pagination a:link,
.pagination span:link {
  color: unset;
}
.pagination .current {
  background-color: #4caf50;
  color: #fff;
}
.pagination a:hover:not(.current) {
  background-color: #fff;
}
/* 按钮图标尺寸 */
.mdui-fab .iconfont {
  font-size: 24px;
}
.mdui-btn-icon .iconfont {
  font-size: 24px;
}
/*横向滚动条*/
.math-fluid {
  overflow-x: auto;
}
.mermaid {
  overflow-x: auto;
}
pre,
.highlight {
  background: #2d2d2d;
  margin: 0 -20px;
  padding: 15px 20px;
  border-style: solid;
  border-color: color-border;
  border-width: 1px 0;
  overflow: auto;
  color: #ccc;
  line-height: 22.400000000000002px;
}
.highlight .gutter pre,
.gist .gist-file .gist-data .line-numbers {
  color: #666;
  font-size: 0.85em;
}
pre,
code {
  font-family: "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace;
}
code {
  background: color-background;
  text-shadow: 0 1px #fff;
  padding: 0 0.3em;
}
pre code {
  background: none;
  text-shadow: none;
  padding: 0;
}
.highlight pre {
  border: none;
  margin: 0;
  padding: 0;
}
.highlight table {
  margin: 0;
  width: auto;
}
.highlight td {
  border: none;
  padding: 0;
}
.highlight figcaption {
  font-size: 0.85em;
  color: #999;
  line-height: 1em;
  margin-bottom: 1em;
}
.highlight figcaption a {
  float: right;
}
.highlight .gutter pre {
  text-align: right;
  padding-right: 20px;
}
.highlight .line {
  height: 22.400000000000002px;
}
.highlight .line.marked {
  background: #515151;
}
.gist {
  margin: 0 -20px;
  border-style: solid;
  border-color: color-border;
  border-width: 1px 0;
  background: #2d2d2d;
  padding: 15px 20px 15px 0;
}
.gist .gist-file {
  border: none;
  font-family: "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace;
  margin: 0;
}
.gist .gist-file .gist-data {
  background: none;
  border: none;
}
.gist .gist-file .gist-data .line-numbers {
  background: none;
  border: none;
  padding: 0 20px 0 0;
}
.gist .gist-file .gist-data .line-data {
  padding: 0 !important;
}
.gist .gist-file .highlight {
  margin: 0;
  padding: 0;
  border: none;
}
.gist .gist-file .gist-meta {
  background: #2d2d2d;
  color: #999;
  font: 0.85em font-sans;
  text-shadow: 0 0;
  padding: 0;
  margin-top: 1em;
  margin-left: 20px;
}
.gist .gist-file .gist-meta a {
  color: color-link;
  font-weight: normal;
}
.gist .gist-file .gist-meta a:hover {
  text-decoration: underline;
}
pre .comment,
pre .title {
  color: #999;
}
pre .variable,
pre .attribute,
pre .tag,
pre .regexp,
pre .ruby .constant,
pre .xml .tag .title,
pre .xml .pi,
pre .xml .doctype,
pre .html .doctype,
pre .css .id,
pre .css .class,
pre .css .pseudo {
  color: #f2777a;
}
pre .number,
pre .preprocessor,
pre .built_in,
pre .literal,
pre .params,
pre .constant {
  color: #f99157;
}
pre .class,
pre .ruby .class .title,
pre .css .rules .attribute {
  color: #9c9;
}
pre .string,
pre .value,
pre .inheritance,
pre .header,
pre .ruby .symbol,
pre .xml .cdata {
  color: #9c9;
}
pre .css .hexcolor {
  color: #6cc;
}
pre .function,
pre .python .decorator,
pre .python .title,
pre .ruby .function .title,
pre .ruby .title .keyword,
pre .perl .sub,
pre .javascript .title,
pre .coffeescript .title {
  color: #69c;
}
pre .keyword,
pre .javascript .function {
  color: #c9c;
}
figure,
.highlight {
  text-align: unset !important;
}
.post-readmore {
  border: 2px solid #4caf50;
}
.post-readmore:hover {
  background-color: #4caf50;
  color: #fff;
}
.post-header {
  text-align: center;
  position: relative;
  padding: 40px 16px 0px 32px;
}
.mdui-card-media-covered .post-header {
  padding: 24px;
}
.post-header .post-header-title {
  text-decoration: none;
  display: block;
  font-size: 28px;
  line-height: 42px;
  opacity: 0.87;
}
.post-header .post-header-title:visited,
.post-header .post-header-title:link {
  color: unset;
}
.post-header .post-header-meta {
  display: block;
  font-size: 14px;
  line-height: 24px;
  opacity: 0.54;
}
.post-header .post-header-meta>span+span::before {
  content: "|";
  margin: 0 0.5em;
}
.post-header .post-header-meta>span>i {
  margin: 0 0.5em 0 0;
}
.post-header .post-header-meta a:visited,
.post-header .post-header-meta a:link {
  color: unset;
}
.post-tags {
  display: inline-flex;
  position: relative;
  left: 0px;
  height: 0;
  font-weight: bold;
  color: #fff;
  border: 15px solid #009688;
  border-right-color: transparent;
  box-shadow: 0 5px 5px -5px #000;
  margin: 5px 0 5px 0;
}
.post-tags>i {
  align-self: center;
  margin: 0 10px 0 0;
}
.post-tags>i>a {
  text-decoration: none;
}
.post-tags>i>a:visited,
.post-tags>i>a:link {
  color: unset;
}
.post-nav-item {
  padding: 10px 0 0 0;
  width: 45%;
  position: relative;
  display: block;
  line-height: 25px;
  font-size: 14px;
  color: #555;
  border-bottom: none;
  text-decoration: none;
}
.post-nav-item:hover {
  color: #222;
  border-bottom: none;
}
.post-nav-item:active {
  top: 2px;
}
.post-nav-item.mdui-float-left {
  text-align: left;
  padding-left: 5px;
}
.post-nav-item.mdui-float-right {
  text-align: right;
  padding-right: 5px;
}
.post-nav-item.mdui-float-right .fa {
  font-size: 12px;
  margin-right: 5px;
}
.post-nav-item.mdui-float-left .fa {
  font-size: 12px;
  margin-left: 5px;
}
.toc-button {
  position: fixed;
  right: 24px;
  top: 60%;
  height: 100%;
}
.toc-button #toc {
  top: -45% !important;
  max-height: 80%;
}
#toc-header {
  display: block;
  height: unset;
  text-align: center;
  font-size: 24px;
  line-height: 36px;
  opacity: 0.87;
}
.toc {
  padding: 0 20px;
  margin: 10px 0;
  text-align: left;
  list-style: none;
  font-size: 14px;
}
.toc a {
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
  transition-property: all;
  color: #666;
  border-bottom-color: #ccc;
}
.toc a:visited,
.toc a:link {
  color: unset;
}
.toc a:hover {
  color: #000;
  border-bottom-color: #000;
}
.toc .toc-item {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.8;
  opacity: 0.87;
}
.toc .toc-item.toc-level-1 {
  opacity: 0.95;
}
.toc ol {
  margin: 0;
  padding: 0 2px 5px 10px;
  text-align: left;
  list-style: none;
  font-size: 14px;
}
.toc ol > ol {
  padding-left: 0;
}
#achieve-abstract {
  padding-bottom: 24px;
  padding-top: 0px;
}
.tag-line-space {
  padding: 15px;
}
#article .mdui-card-content {
  font-size: 16px;
}
.mdui-card-content .post-abstract {
  margin: 0 0 20px 0;
  font-size: 16px;
}
.posts-collapse {
  position: relative;
  z-index: 100;
  margin-left: 55px;
}
.posts-collapse::after {
  content: " ";
  position: absolute;
  top: 20px;
  left: 0;
  margin-left: -2px;
  width: 4px;
  height: 100%;
  background: #f5f5f5;
  z-index: -1;
}
.posts-collapse .collection-title {
  position: relative;
  margin: 60px 0;
}
.posts-collapse .collection-title::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 50%;
  margin-left: -4px;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  background: #bbb;
  border-radius: 50%;
}
.posts-collapse .collection-title h1,
.posts-collapse .collection-title h2 {
  margin-left: 20px;
}
.posts-collapse .collection-title small {
  color: #bbb;
  margin-left: 5px;
}
.posts-collapse .collection-title>a {
  text-decoration: none;
}
.posts-collapse .collection-title>a:visited,
.posts-collapse .collection-title>a:link {
  color: unset;
}
.posts-collapse .collection-item {
  margin: 30px 0;
  position: relative;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
  transition-property: border;
  border-bottom: 1px dashed #ccc;
}
.posts-collapse .collection-item::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  margin-left: -4px;
  background: #bbb;
  border-radius: 50%;
  border: 1px solid #fff;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
  transition-property: background;
}
.posts-collapse .collection-item:hover {
  border-bottom-color: #666;
}
.posts-collapse .collection-item:hover::before {
  background: #222;
}
.posts-collapse .collection-item h3 {
  padding: 8px;
  margin-left: 90px;
  font-size: 16px;
  font-weight: normal;
  line-height: inherit;
}
.posts-collapse .collection-item h3::after {
  margin-left: 3px;
  opacity: 0.6;
}
.posts-collapse .collection-item h3 a {
  color: #666;
  border-bottom: none;
  text-decoration: none;
}
.posts-collapse .collection-item time {
  position: absolute;
  font-size: 12px;
  left: 20px;
  top: 11px;
}
@media (max-width: 767px) {
  .posts-collapse {
    margin: 0 20px;
  }
}
.tags-contain {
  margin: 20px 60px;
  padding: 0;
}
.tags-contain .tags-chip {
  margin: 10px 10px;
}
.tags-contain .tags-chip>a {
  text-decoration: none;
}
.tags-contain .tags-chip>a:visited,
.tags-contain .tags-chip>a:link {
  color: unset;
}
.page-describe {
  text-align: center;
  padding: 10px;
  font-size: 16px;
}
.category-list {
  margin: 20px 60px;
  padding: 0;
  list-style: none;
}
.category-list .category-list-item {
  margin: 5px 10px;
}
.category-list .category-list-item .category-list-link {
  font-size: 16px;
  line-height: 32px;
}
.category-list .category-list-item .category-list-link:visited,
.category-list .category-list-item .category-list-link:link {
  color: unset;
}
.category-list .category-list-count {
  color: #bbb;
}
.category-list .category-list-count::before {
  display: inline;
  content: " (";
}
.category-list .category-list-count::after {
  display: inline;
  content: ") ";
}
.category-list .category-list-child {
  padding-left: 10px;
}
.header-subtitle {
  margin: 0;
  font-size: 18px;
}
.adsense-contain {
  margin: 10px;
}
#footer .mdui-row {
  margin: 5px 0;
}
#footer .mdui-row a:visited,
#footer .mdui-row a:link {
  color: unset;
}
#sidebar {
  background-color: #fff;
  overflow: hidden;
}
#sidebar #sidebartab {
  width: 48%;
  min-width: unset;
}
#sidebar::-webkit-scrollbar {
  display: none;
}
.mdui-theme-layout-dark #sidebar {
  background: #212121;
}
.sidebar-overview .sidebar-avatar {
  display: block;
  margin: 0 auto;
  max-width: 60%;
  height: auto;
}
.sidebar-overview .sidebar-avatar>img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 1px solid #eee;
}
.sidebar-overview .sidebar-author-name {
  margin: 0;
  text-align: center;
  color: #222;
  font-size: 16px;
  line-height: 32px;
  font-weight: 600;
}
.sidebar-overview .sidebar-description {
  white-space: normal;
  margin-top: 0;
  text-align: center;
  font-size: 14px;
  color: #999;
}
.sidebar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.sidebar-links .mdui-chip {
  margin: 5px;
}
.sidebar-links .mdui-chip>a {
  padding-left: 6px;
  text-decoration: none;
}
.sidebar-links .mdui-chip>a:visited,
.sidebar-links .mdui-chip>a:link {
  color: unset;
}
.mdui-list-item-icon .iconfont {
  font-size: 24px;
}
.mdui-chip .mdui-chip-icon .iconfont {
  font-size: 22px;
}
#linksList {
  overflow-y: auto;
  max-height: calc(100vh - 414px);
}
#linksList::-webkit-scrollbar {
  display: none;
}
#search {
  min-height: 80%;
}
.search-form {
  width: 100%;
  height: 50px;
  background-color: #009688;
}
.search-form-input {
  width: calc(100% - 32px);
  height: calc(100% - 16px);
  margin: 8px 16px;
  padding: 0 8px;
  border: none;
  outline: none;
  font-size: 15px;
  line-height: normal;
  border-radius: 2px;
  color: #fff;
  background: rgba(255,255,255,0.15);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-form-input:hover {
  background: rgba(255,255,255,0.3);
}
.search-form-input:focus {
  color: rgba(0,0,0,0.87);
  background: #fff;
}
.search-form-submit {
  display: none !important;
}
.search-result {
  width: 100%;
  height: calc(100% - 50px);
  overflow-y: scroll;
}
.search-result-list {
  width: 80%;
  padding: 16px 10%;
  word-break: break-all;
}
.search-result-list>li {
  list-style: none;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.search-result-list>li:last-child {
  border-bottom: none;
}
.mdui-theme-layout-dark .search-result-list>li {
  border-color: rgba(255,255,255,0.12);
}
.search-result-title {
  color: #009688;
  text-decoration: none;
}
.search-result-title:hover,
.search-result-title:focus {
  border-bottom: 1px solid;
}
.search-result-content {
  font-size: 13px;
  color: #9e9e9e;
}
.search-result-keyword {
  font-style: normal;
  color: #fff;
  background: #009688;
}
