blog-hexo/themes/hexo-theme-linear/source/css/24d35213.css
2023-10-20 15:07:29 +08:00

1 line
5.6 KiB
CSS

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-y:auto}article hr{background:repeating-linear-gradient(to right,var(--color-border),var(--color-border) 5px,#fff 5px,#fff 10px);border:none;height:1.5px}article a{color:var(--color-primary);text-decoration:none}article a:hover{text-decoration:underline}article>pre{position:relative}article>pre::-webkit-scrollbar-track{background:transparent}article>pre::-webkit-scrollbar{height:var(--scrollbar-width);width:var(--scrollbar-width)}article>pre::-webkit-scrollbar-thumb{background-clip:content-box;background-color:var(--scrollbar-color);border:3px solid transparent;border-radius:var(--scrollbar-width);opacity:.2}article>pre:before{color:var(--color-font-3);content:attr(data-language);font-size:12px;font-size:10px;left:3px;line-height:1;position:absolute;top:3px}article blockquote{background:var(--color-bg-4);border-radius:4px;color:var(--color-font);display:block;font-family:var(--font-monospace);margin:10px 0;padding:1em}article blockquote p{line-height:1.5;margin:0}article p{color:var(--font-color-2);line-height:2}article p img{max-width:100%}article p code{background:var(--color-bg-3);border-radius:var(--radius);color:var(--color-font);margin-bottom:1px;padding:4px 6px}article h1,article h2,article h3,article h4,article h5,article h6{color:var(--color-font);font-weight:600;margin:2.5rem 0 .5rem;padding-top:12px}article ul{margin:0 0 10px;padding-left:27px}article ul li{color:var(--color-font);line-height:24px}article ul li::marker{color:var(--color-font-2)}article table{border:0;border-collapse:collapse;margin-bottom:24px;overflow:hidden;width:100%}article table thead tr th{background:var(--color-primary-2);font-size:13px;padding:12px;text-align:left}article table thead tr th:first-of-type{border-radius:var(--radius) 0 0 0}article table thead tr th:last-of-type{border-radius:0 var(--radius) 0 0}article table tbody tr:hover{background:var(--color-tiny-hover)}article table tbody tr td{border-bottom:1px solid var(--color-border-2);padding:12px;text-align:left}.post-container{display:flex;height:100%}.post-container .content{border-right:1px solid var(--color-border-2);display:flex;flex-basis:760px;flex-direction:column;flex-grow:2;min-width:0;overflow-y:hidden}.post-container .content>header{align-items:center;border-bottom:1px solid var(--color-border-2);display:flex;min-height:57px;padding:0 37px}.post-container .content>main{flex-grow:1;overflow-y:auto;scrollbar-gutter:stable}.post-container .content>main .article-container{flex-grow:1;margin-left:auto;margin-right:auto;max-width:860px;position:relative;width:calc(100% - 120px)}.post-container .content>main .article-container .tags{align-items:center;color:var(--color-font-2);display:flex;flex-wrap:wrap;margin:20px 0;max-width:860px;padding:0}.post-container .content>main .article-container .tags li{font-size:12px;list-style:none;margin-bottom:8px;margin-right:6px}.post-container .content>main .article-container .tags li a{background:var(--color-primary-2);border-radius:var(--radius);color:var(--color-font-2);display:inline-block;padding:2px 4px;text-decoration:none}.post-container .content>main ::selection{background:var(--color-article-selection)}.post-container .content>main article{padding-bottom:2rem}.post-container .content>main .vbtn,.post-container .content>main .vinput,.post-container .content>main .vwrap{border-color:var(--color-border);border-bottom-color:var(--color-border)}.post-container .meta-container{background:var(--color-bg);display:flex;flex-direction:column;flex-grow:1;max-width:380px;min-width:320px;position:relative}.post-container .meta-container>header{align-items:center;border-bottom:1px solid var(--color-border-2);display:flex;min-height:57px;padding-left:2rem}.post-container .meta-container .toc-wrapper{flex:1;margin:0;overflow-x:hidden;overflow-y:auto;padding:0 1rem}.post-container .meta-container .toc-wrapper .catalog{align-items:center;color:var(--color-font-3);display:flex}.post-container .meta-container .toc-wrapper .catalog svg{height:16px;width:16px}.post-container .meta-container .toc-wrapper .catalog span{font-size:13px;padding-left:8px}.post-container .meta-container .toc-wrapper ol{list-style:none;margin:0;padding-left:0}.post-container .meta-container .toc-wrapper::-webkit-scrollbar{display:none}.post-container .meta-container .toc-wrapper .toc{margin:0;padding-bottom:2rem}.post-container .meta-container .toc-wrapper .toc .toc-item a{border-radius:var(--radius);display:block;font-size:13px;line-height:2rem;overflow:hidden;position:relative;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.post-container .meta-container .toc-wrapper .toc .toc-item a:hover{background:var(--color-tiny-hover)}.post-container .meta-container .toc-wrapper .toc .toc-item a.active{background:var(--color-primary-2);color:var(--color-font)}.post-container .meta-container .toc-wrapper .toc .toc-level-1 a{color:var(--color-font);padding-left:1rem}.post-container .meta-container .toc-wrapper .toc .toc-level-2 a{color:var(--color-font-2);padding-left:2rem}.post-container .meta-container .toc-wrapper .toc .toc-level-3 a{padding-left:3rem}