mirror of
https://github.com/msikma/pokesprite.git
synced 2026-04-25 08:07:20 -05:00
Small style fixes
This commit is contained in:
parent
3f720120d1
commit
2b14a5b6ad
|
|
@ -56,8 +56,15 @@
|
|||
.markdown-body .pokesprite tbody:not(.alternating) tr td[rowspan] {
|
||||
background: var(--shade-0);
|
||||
}
|
||||
.markdown-body .pokesprite tbody tr td.group {
|
||||
.markdown-body .pokesprite tbody tr th.group {
|
||||
font-weight: 500;
|
||||
text-align: left;
|
||||
}
|
||||
.markdown-body .pokesprite tbody tr th.group:hover {
|
||||
background: var(--shade-0);
|
||||
}
|
||||
.markdown-body .pokesprite tbody:not(:nth-child(3)) tr th.group {
|
||||
padding-top: 25px;
|
||||
}
|
||||
.markdown-body .pokesprite tbody tr td.item-id {
|
||||
padding-bottom: 0;
|
||||
|
|
|
|||
|
|
@ -415,7 +415,7 @@ def generate_misc_table(misc, meta, curr_page, json_file, version = '[unknown]',
|
|||
# Ribbons and marks
|
||||
for misc_set in ['ribbon', 'mark']:
|
||||
buffer.append('<tbody>')
|
||||
buffer.append('<tr><th></th><td colspan="6" class="group" id="%s">%s</td></tr>' % (misc_set, groups[misc_set]['name']['eng']))
|
||||
buffer.append('<tr><th></th><th colspan="6" class="group" id="%s">%s</th></tr>' % (misc_set, groups[misc_set]['name']['eng']))
|
||||
buffer.append('</tbody>')
|
||||
buffer.append('<tbody>')
|
||||
buffer.append('<tr class="header"><th>#</th><th>Name</th><th>名前</th><th>Origin</th><th>Sprite</th><th colspan="2">Filename/gen</th></tr>')
|
||||
|
|
@ -546,7 +546,7 @@ def generate_items_table(itm, itm_unl, inv, etc, dirs, curr_page, json_file, ver
|
|||
if not len(items): continue
|
||||
title = inv['item-groups'].get(group, None)
|
||||
title = title['name']['eng'] if title else group.title()
|
||||
buffer.append(f'<tr><td></td><td colspan="7" class="group">{title}</td></tr>')
|
||||
buffer.append(f'<tr><th></th><th colspan="7" class="group">{title}</th></tr>')
|
||||
for item in items:
|
||||
count = get_counter()
|
||||
name = item['name']
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user