diff --git a/_includes/style.css b/_includes/style.css index 4d298fe..cccd2bb 100644 --- a/_includes/style.css +++ b/_includes/style.css @@ -1,7 +1,7 @@ *{box-sizing:border-box} h1,h2,h3,h4{margin:.5rem 0} -html{font-size:10px} -body{scrollbar-width:thin;margin:0 0;padding:0 0;margin:auto;font-family:monospace;font-size:inherit} +html{font-size:14px} +body{scrollbar-width:thin;margin:0 0;padding:0 0} hr{border:0;border-bottom:2px solid #222;margin:1rem 0} h3 a{text-transform:capitalize;text-decoration:none;color:initial} h3[id]:hover:after{content:"#";color:#aaa} @@ -10,9 +10,14 @@ h3[id]:hover:after{content:"#";color:#aaa} .content a{text-decoration:none} .content a:hover{text-decoration:underline} .content span{white-space:pre-wrap} +.content li>a{transition:all 0s;color:#aaa;font-family:sans-serif;text-transform:uppercase;font-size:.85em;font-variant:proportional-nums} +.content li>a:hover{color:#222} aside,footer,header,section{padding:0 0;padding-left:1rem;padding-right:1rem;margin:1rem 0} aside{background:#f2f2f2;padding-top:.5rem;padding-bottom:.5rem} +aside h4 a{font-family:sans-serif;font-size:.8em} ol,ul{padding:0 1.15rem} ul>li{padding:0 .4rem} -aside ol{display:flex;flex-direction:column;gap:.1rem;margin:.5rem 1rem;padding-left:2rem} +aside ol{gap:.1rem;margin:1rem 1rem;padding-left:1rem} +aside a:hover{font-weight:700;background:#fff} +aside ol li{padding-left:.5rem} date{margin-right:.5rem;text-transform:uppercase} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 20d96a1..e86acb1 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,33 +2,27 @@ - - - + + {% if page.title != 'Home' %}{{page.title|default:page.name}} | {%-endif %} {{site.title}} - + + - + - - - - - + - - + - diff --git a/_layouts/genre.html b/_layouts/genre.html index 6611d31..e29b7ae 100644 --- a/_layouts/genre.html +++ b/_layouts/genre.html @@ -2,6 +2,7 @@ layout: default type: genre --- +{%- assign title = page.tag -%} {%- assign pagetag = page.tag -%} {%- assign bookpages = site.data.books | where: 'tags', pagetag -%}
diff --git a/scripts/books.jq b/scripts/books.jq index 4579cd1..bf7d1d1 100644 --- a/scripts/books.jq +++ b/scripts/books.jq @@ -23,7 +23,9 @@ def epublocation($cfi): | map(select(length < 5)|tonumber); def remove_citations($text): - $text | gsub("(?[a-zA-Z][^a-zA-Z0-9\\ ])[0-9]{1,2} ";.period+""; "xs"); + $text + | gsub("(?[^0-9]{3})[0-9]{1,2}(?[^0-9%]{2})"; .a +.b; "x") + | gsub("(?[^0-9]{3})[0-9]{1,2}([\\s]+)?$"; .a +.b; "xs"); def remove_citations: remove_citations(.);