:root{
	--bright-background: #fafafa;
	--bright-input-background: white;
	--bright-active: #c62627;
	--base-font-family:'Varela Round',"Noto Sans SC", "Noto Sans TC",-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,pingfang sc,source han sans sc,noto sans cjk sc,sarasa gothic sc,microsoft yahei,sans-serif!important;
}
@font-face {
    font-family: "Abscissa";
    src: url(../fonts/Abscissa.eot); src: url("../fonts/Abscissa.eot?#iefix") format("embedded-opentype"), url("../fonts/Abscissa.woff2") format("woff2"), url("../fonts/Abscissa.woff") format("woff"), url("../fonts/Abscissa.ttf") format("truetype"), url("../fonts/Abscissa.svg#Abscissa") format("svg"); }

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Montserrat500.ttf) format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Montserrat700.ttf) format('truetype');
}

@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/firacode/v10/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sFVc.ttf) format('truetype');
}
@font-face {
  font-family: "doghouse";
  src: url(../fonts/doghouse.ttf) format('truetype');
}
.post-icon {
  color: #999;
  font-family: "doghouse" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.post-lock .post-icon {
   color: #fff;
}
.icon-read:before {
  content: "\e861";
}

.icon-eyes:before {
  content: "\e616";
}

.icon-remains:before {
  content: "\e66d";
}

.icon-comment:before {
  content: "\e689";
}

.icon-time:before {
  content: "\ea31";
}

.icon-character:before {
  content: "\e87f";
}

.icon-unlocked:before, .icon-unlock:before {
  content: "\e606"
}
@-webkit-keyframes btn-loading {
    from {
        background-position: -4em 0;
    }
    to {
        background-position: -1.7em 0;
    }
}
@keyframes btn-loading {
    from {
        background-position: -4em 0;
    }
    to {
        background-position: -1.7em 0;
    }
}
main {
	margin: 0 auto;
    padding-top: 20px;
	width: 700px
}
a, button.submit {
    color: #6e7173;
    text-decoration: none;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    cursor: pointer;
}

a {
    background: transparent;
}

html::-webkit-scrollbar-track-piece {
    background: #eee
}

html::-webkit-scrollbar {
    width: 8px;
    height: 6px
}

html::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #cbcbcb
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #bbb
}

body {
    margin: 0;
    background-color: #fafafa;
    color: #444;
    font-size: 14px;
    font-family: var(--base-font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, 
.description, .post-meta, .nav-menu, .al_year, .post-content .more, .archive-title {
    font-family: var(--base-font-family)
}
.archive-title {
    color: #999;
}
.archive-title span {
    color: #555;
    background: #ccc;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
}
a:visited {
    text-decoration:none;
}
/* 分页 */
.page-navigator {
    list-style: none;
    text-align: center;
    padding: 0
}

.page-navigator li {
    display: inline-block;
    margin: 0 2.5px 5px 2.5px;
}

.page-navigator a {
    display: inline-block;
    padding: 0 10px;
    padding: 5px 9px;
    height: 25px;
    /* border: 1px solid #ddd; */
    line-height: 25px;
}

.page-navigator .current a, .page-navigator a:hover {
    background: #000;
    color: white;
    /* border-bottom-color: #d26911; */
}

/* 文章有关 */

.post-title {
	margin: 0;
    color: #6e7173;
    text-align: left;
    font-weight: 700;
    font-size: 24px;
}
.post-content {
    color: #6e7173;
    font-size: 14.4px;
    line-height: 1.92;
    text-align: justify;
    word-break: break-all;
}
.post-content blockquote, .comment-content blockquote {
    box-sizing: border-box;
    margin: 1.8em 0 1.8em 0;
    padding: 0 0 0 1.6em;
    border-left: .4em solid #4a4a4a;
    color: #888;
    font-style: italic;
}
/* 文章列表的图片 */
.post-content img {
    clear: both;
    display: block;
    margin: auto;
    padding: 1em 0;
    max-width: 100%;
    height: auto;
}

.post-content a, .comment-content a {
	border-bottom:1px dotted  black;
	overflow-wrap: break-word;
}
/* 数学公式 */
.post-content div.katex, 
.post-content div.mermaid, 
.comment-content div.katex, 
.comment-content div.mermaid {
	text-align: center
}
.post-content div.mermaid,  
.comment-content div.mermaid {
	line-height: 1
}

.katex {
    font-size:1.1em!important;
}
.cjk_fallback {
	font-family: -webkit-body;
    font-size:.8em!important;
}
/* 代码块 */
pre {
    background: #f8f8f8;
    overflow: auto;
    /* margin: 1em 2em; */
    text-overflow: clip;
    display: -webkit-box;
    word-break: break-word;
    /* white-space: normal; */
}
code, pre {
    display: block;
    font-size: .92857em;
    font-family: 'Fira Code',Menlo,Monaco,Consolas,Lucida Console,Courier New,Microsoft YaHei,monospace;
}
pre.line-numbers>code {
    white-space: inherit;
    padding-left: 4em;
}
pre.line-numbers > code {
    position: relative;
    white-space: inherit;
}
.comment-content pre code, .post-content pre code {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}
pre code {
    display: block;
}
code {
    margin: 0 2em;
    background: #f8f8f8;
}

/* 段落中的代码片段 */
.comment-content p code,
.post-content p code,
.post-content li code,
.post-content div.mermaid *:not(pre) code,  
.comment-content div.mermaid *:not(pre) code {
    display: inline;
    margin: 0 5px;
    padding: 3px 5px;
    color: #ff4913;
}

.post-content div.mermaid *:not(pre) code,  
.comment-content div.mermaid *:not(pre) code {
    background: none;
}
/* 表格 */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    overflow: auto;
    page-break-inside: auto;
    margin-bottom: 1.5em;
    text-align: left;
}
table tr:nth-child(2n), thead {
    background-color: #fafafa;
}
table tr th {
    font-weight: bold;
    border: 1px solid #dfe2e5;
    border-bottom: 0;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}
table tr th:first-child, table tr td:first-child {
    margin-top: 0;
}
table tr th:last-child, table tr td:last-child {
    margin-bottom: 0;
}
table tr td {
    border: 1px solid #dfe2e5;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}

.post-lock-input {
	text-align: center
}

.post-lock-input input[type="password"] {
    background-color: #fafafa99;
    border: none;
    height: 32px;
    border-radius: 3px;
    padding: 1.1em;
    font-size: 14px;
    line-height: 28px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.post-lock-btn-div {
	padding-bottom: 15px;
    height: 18px;
    margin: 12px auto 0;
    position: relative;
    width: fit-content;
}

.post-lock-btn {
	cursor: pointer;
    padding-left: 25px;
    padding-right: 25px;
    width: auto;
    border: none;
    right: 0;
    top: 0;
    background-color: #000;
    color: #fff;
    height: 32px;
    line-height: 32px;
    border-radius: 20px;
    text-decoration: none;
}

.post-lock-btn:not(.btn-loading):before{
    content: "提交密码";
}
.post-lock-btn.btn-loading {
    pointer-events: none;
    user-select: none;
}
.post-lock-btn.btn-loading:before{
    content: "　　　　";
}
.post-lock-btn.btn-loading:after {
    -webkit-animation: btn-loading 1s linear infinite;
    animation: btn-loading 1s linear infinite;
    background: -webkit-repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15) 1em, rgba(0, 0, 0, 0.15) 1em, rgba(0, 0, 0, 0.15) 2em);
    background: repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15) 1em, rgba(0, 0, 0, 0.15) 1em, rgba(0, 0, 0, 0.15) 2em);
    background-size: 200%;
    left: 0;
    content: "提交中";
    position: absolute;
    top: 0;
    width: 100%;
    border-radius: 20px;
    overflow: hidden
}
.post-pass-error {
    text-align: center;
    font-size: 14px;
    color: #ff3133;
    font-family: var(--base-font-family);
}
.comment-content hr, .post-content hr {
    position: relative;
    margin: 2.4em auto;
    border: 1px dashed #ddd;
    border-width: 1px 0 0;
}

.archives .year {
    padding: 10px 0;
    width: 60px;
    font-weight: 900;
}
.archives ul {
    margin-top: -2.2em;
    margin-left: 90px;
    font-size: 14.4px;
    border-left: 1px solid #ddd;
}
.archives li {
	list-style: none;
    overflow: hidden;
    line-height: 2em;
    word-break: break-word;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.archives table {
	table-layout:fixed;
    margin: 0
}
.archives table, .archives table * {
    border: none;
}
.archives table td {
    padding: 0;
    list-style: none;
    overflow: hidden;
    line-height: 2em;
    word-break: break-word;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.archives table td:first-of-type {
    width: 45px;
}
.archives a {
	margin-left: 1.5em
}

.author-ava {
    overflow: hidden;
    margin: 10px auto 20px;
    /* padding: 10px 5px 0; */
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background-color: #fff;
}
.author-ava img {
    width: 100%!important;
    height: 100%!important;
}
table.friend-link img {
    padding: 6px;
    width: 16px;
    float: left;
}
table.friend-link td {
    border: none;
}



i {
	font-style: normal
}
.server-error-info {
    margin: 0 auto;
    width: 3em;
    text-align: center;
    letter-spacing: 2px;
    font: 700 88px/1.2 ff-tisa-web-pro,Cambria,Times New Roman,Georgia,Times,sans-serif;
    
}
.server-error-title p {
    margin: .5em 0 .6em;
    font-size: 20px;
}
.info404 {
    position: absolute;
    top: 50%;
    margin-top: -10pc;
    width: 100%;
    text-align: center;
}

.info404 footer {
	margin-top: 20px
}
.index404 {
    display: inline-block;
    margin-top: 13px;
    padding: 14px 27px 14px 29px;
    border-radius: 50px;
    background: #444;
    color: #fff;
    text-align: center;
    text-shadow: none;
    white-space: nowrap;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    cursor: pointer;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.index404:hover {
    background-color: #000;
    color: #fff;
}

@media print, screen and (max-width: 740px){
    main {
       padding: 20px 20px 0;
       width:auto
    }
    .archives ul {
        margin-left: 50px;
        padding-inline-start: 20px;
    }
}