diff --git a/out/static/style.css b/out/static/style.css index fb0667a..74e5f91 100644 --- a/out/static/style.css +++ b/out/static/style.css @@ -129,6 +129,8 @@ footer .links { .pagination a.active { border: 1pt solid black; border-radius: .2em; } +#categories h3 { margin-top: 2em; } + /* domain index */ #dom-top10 { text-align: right; } #dom-top10>div { margin: .4em; } diff --git a/src/html_categories.py b/src/html_categories.py index 111d0f3..aa55776 100755 --- a/src/html_categories.py +++ b/src/html_categories.py @@ -12,14 +12,14 @@ def write_overview_page(base_dir, category_tuples, title): cluster[i].append(x) except KeyError: cluster[i] = [x] - src = '

{}

'.format(title) + src = '

{}

'.format(title) for i, arr in sorted(cluster.items()): mylib.sort_by_name(arr, 1) kind = 'Apps' if i == 6 else 'Games' if i == 7 else 'Other' src += '

{}

'.format(kind) src += '
' src += ''.join([HTML.a_category(*x) for x in arr]) + '
' - HTML.write(base_dir, src, title) + HTML.write(base_dir, src + '
', title) def process(affected=None, per_page=60):