diff --git a/_includes/docs.css b/_includes/docs.css index 72f61c0..7a6de66 100644 --- a/_includes/docs.css +++ b/_includes/docs.css @@ -1,20 +1,38 @@ +body{color:#222} aside{border-top:dotted 2px gray;padding-top:2rem;font-size:var(--aside-font-size)} h2{margin:.5rem 0} h3,h4,h5{margin:0 0} q:after{content:""} q:before{content:""} a,u{text-decoration-skip-ink:none;text-decoration-thickness:calc(1rem/10)} -.bookmark q{white-space:pre-wrap} +.bookmark q{white-space:pre-line} .clamp{display:-webkit-box!important;-webkit-line-clamp:var(--clamp-lines,1);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis} .gap{gap:var(--gap)} .site-title{font-size:2rem} .toc{max-height:min(300px,40vh);position:sticky;top:1rem;font-size:.9rem;z-index:1;width:20px;max-width:20px} .toc a{display:block;text-decoration:none;font-weight:400;white-space:pre;padding:0 4px;line-height:1;color:#222} .toc a:hover{text-decoration:none;background:#eee} -.toc a:hover:after{text-decoration:none;border:0;content:attr(title);position:absolute;right:1.5rem;background:#fff;padding:2px 4px;z-index:1;font-size:.8rem} +.toc a:hover:after{text-decoration:none;border:0;content:attr(title);position:absolute;right:1.5rem;color:#fff;background:#222;padding:2px 4px;z-index:1;font-size:.8rem} .mark q{background:var(--bs-highlight-bg)} .smaller{font-size:var(--smaller-font-size,.85rem)} -.muted{color:#a9a9a9} +.muted{color:var(--bs-gray-500)} +.gray{color:var(--bs-gray-500)} +.g4,.g5,.g6,.g7,.g4h,.g5h,.g6h,.g7h{color:var(--gray)} +.g4{--gray:var(--bs-gray-400)} +.g5{--gray:var(--bs-gray-500)} +.g6{--gray:var(--bs-gray-600)} +.g7{--gray:var(--bs-gray-700)} +.g4h:hover{--gray:var(--bs-gray-400)} +.g5h:hover{--gray:var(--bs-gray-500)} +.g6h:hover{--gray:var(--bs-gray-600)} +.g7h:hover{--gray:var(--bs-gray-700)} + .sans-serif{font-family:var(--bs-font-sans-serif)} .pre{white-space:pre} -.letter-spacing-1{letter-spacing:1px} \ No newline at end of file +.letter-spacing-1{letter-spacing:1px} +table{border-collapse:separate} +.small>a{text-decoration:none} +.tag-text{color:gray;font-weight:400;font-size:.8rem;text-decoration:none;line-height:1.5} +.compact [data-level="2"]{display:none} +.chapters{gap:2rem!important} +.chapters ul{gap:var(--list-gap)} \ No newline at end of file diff --git a/_includes/postlist.html b/_includes/postlist.html index bda4407..0d6d945 100644 --- a/_includes/postlist.html +++ b/_includes/postlist.html @@ -2,7 +2,7 @@ {%- assign books = site.data.books | where: 'tags', pagetag |sort: 'title' %}