2024-04-05 11:14:12 +08:00
|
|
|
pre[class*=language-].line-numbers{counter-reset:linenumber;padding-left:3.8em;position:relative}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{border-right:1px solid #999;font-size:100%;left:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:3em}.line-numbers-rows>span{counter-increment:linenumber;display:block}.line-numbers-rows>span:before{color:#999;content:counter(linenumber);display:block;padding-right:.8em;text-align:right}article{height:100%;overflow-x:hidden;overflow-y:auto;padding:0 12px}article ::-webkit-scrollbar-track{background:transparent}article ::-webkit-scrollbar{height:12px;width:12px}article ::-webkit-scrollbar-thumb{background-clip:content-box;background-color:var(--color-scrollbar);border:3px solid transparent;border-radius:12px;opacity:.2}article ::-webkit-scrollbar-thumb:hover{background-color:var(--color-scrollbar-hover)}article .post-title{color:var(--color-font);line-height:1.5;margin:12px 0}article .flag-paragraph{background:var(--color-blue);border-radius:var(--radius);position:relative}article .flag-paragraph .flag{align-items:center;display:inline-flex;position:absolute;right:100%;top:50%;transform:translate(-10px,-50%)}article .flag-paragraph .flag svg{height:16px;width:16px}article hr{background:var(--color-border-2);border:none;height:1.5px;width:100%}article a{color:var(--color-primary-1);text-decoration:none;transition:color .3s}article a:hover{color:var(--color-primary)}article .code-wrapper{border:1px solid var(--color-border);border-radius:var(--radius-base,4px);margin-bottom:2rem;overflow-x:auto;position:relative}article .code-wrapper pre{font-size:12.8px;margin:0;padding-top:2rem}article .code-wrapper pre .line-numbers-rows{border-right:0!important}article .code-wrapper .btn-wrapper{align-items:center;background:var(--color-bg-2);border-radius:var(--radius-base,4px) var(--radius-base,4px) 0 0;display:flex;height:24px;justify-content:space-between;left:0;padding:0 4px 0 6px;position:absolute;right:0;top:0}article .code-wrapper .copy-button{align-items:center;color:var(--color-font-2);cursor:pointer;display:inline-flex;height:24px;padding:4px;width:24px}article .code-wrapper .copy-button:hover{color:var(--color-font-1)}article .code-wrapper .copy-button svg{height:100%;width:100%}article .code-wrapper .lang{color:var(--color-font-3);font-size:10px;padding-right:6px;text-transform:uppercase}article .code-wrapper .lang:first-letter{text-transform:uppercase}article blockquote{background:var(--color-bg-2);border:1px solid var(--color-border);border-radius:var(--radius-base,4px);color:var(--color-font-2);display:block;font-family:var(--font-regular);margin:10px 0;padding:.5rem;position:relative}article blockquote p{line-height:1.5;margin:0}article>p{color:var(--font-color-2);line-height:2;margin:0;padding:1.2rem 0}article>p img{max-width:100%}article>p code{background:var(--color-bg-3);border-radius:var(--radius-base,4px);color:var(--color-font-1);font-family:var(--font-regular);font-size:.9rem;line-height:1;margin:0 2px;padding:3px 6px}article h1,article h2,article h3,article h4,article h5,article h6{color:var(--color-font-1);font-weight:500;margin:2.5rem 0 1rem;padding:.5rem 0}article h1{font-size:20px}article h2{font-size:18px}article h3{font-size:16px}article h4{font-size:14px}article ol,article ul{margin:16px 0;padding-left:1.25rem}article ol li,article ul li{color:var(--color-font-1);line-height:24px}article ol li::marker,article ul li::marker{color:var(--color-font-2)}article table{border:0;border:1px solid var(--color-border-2);border-collapse:collapse;border-radius:var(--radius-base,4px) var(--radius-base,4px) 0 0;margin-bottom:2rem;overflow:hidden;width:100%}article table thead tr th{background:var(--color-bg-2);font-size:calc(var(--font-size)*.9);padding:12px;text-align:left}article table thead tr th:first-of-type{border-radius:var(--radius-base,4px) 0 0 0}article table thead tr th:last-of-type{border-ra
|