1 line
6.3 KiB
CSS
1 line
6.3 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 .code-wrapper{overflow-x:auto;position:relative}article .code-wrapper pre{margin:0;padding-top:2rem}article .code-wrapper pre::-webkit-scrollbar-track{background:transparent}article .code-wrapper pre::-webkit-scrollbar{height:var(--scrollbar-width);width:var(--scrollbar-width)}article .code-wrapper 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 .code-wrapper .btn-wrapper{align-items:center;display:flex;position:absolute;right:8px;top:4px}article .code-wrapper .copy-button{align-items:center;color:var(--color-font-2);cursor:pointer;display:inline-flex;height:24px;padding:2px;width:24px}article .code-wrapper .copy-button:hover{color:var(--color-font)}article .code-wrapper .copy-button svg{height:100%;width:100%}article .code-wrapper .lang{color:var(--color-font-2);font-size:13px;padding-right:6px}article .code-wrapper .lang:first-letter{text-transform:uppercase}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;margin:0}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 ol,article ul{margin:16px 0;padding-left:1.25rem}article ol li,article ul li{color:var(--color-font);line-height:24px}article ol li::marker,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 30px}.post-container .content>main{flex-grow:1;overflow-y:auto;scrollbar-gutter:stable}.post-container .content>main .article-container{display:flex;flex-direction:column;flex-grow:1;margin-left:auto;margin-right:auto;max-width:860px;min-height:100%;position:relative;width:calc(100% - 120px)}.post-container .content>main .article-container>article{display:flex;flex:1;flex-direction:column}.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-con
|