diff --git a/notes2web.py b/notes2web.py index f11ce77..0344643 100755 --- a/notes2web.py +++ b/notes2web.py @@ -332,11 +332,11 @@ def main(args): for entry in indexentries: html += ( - '
' + '' ) html += INDEX_TEMPLATE_FOOT diff --git a/styles.css b/styles.css index 221e72d..1671c17 100644 --- a/styles.css +++ b/styles.css @@ -95,12 +95,15 @@ li { color: #656565; } -#toc li { list-style: none; } -#toc ul { margin-left: 0.75em ; padding-left: 0.75em; } -#toc ul { border-left: 1px solid #b3b3b3;} +ul#articlelist li a { color: #454545 } + +#toc li, ul#articlelist { list-style: none; } +#toc ul, ul#articlelist { margin-left: 0.75em ; padding-left: 0.75em; } +#toc ul, ul#articlelist { border-left: 1px solid #b3b3b3;} #toc > ul { padding; none; padding: 0; margin: 0; border: none;max-width: 100%;} -#toc li > a { +#toc li > a, +ul#articlelist li a { text-decoration: none; display: inline-block; width: 100%; @@ -108,7 +111,8 @@ li { padding: 0.5em; box-sizing: border-box; } -#toc li > a:hover { +#toc li > a:hover, +ul#articlelist li a:hover { background: #d9d9d9; color: black; } diff --git a/templates/indexfoot.html b/templates/indexfoot.html index 9ceded7..a52a4eb 100644 --- a/templates/indexfoot.html +++ b/templates/indexfoot.html @@ -1,3 +1,4 @@ +page generated by notes2web