ReadMe 界面焕然一新!

This commit is contained in:
xushier 2022-11-25 00:57:34 +08:00
parent 0163e3e753
commit d11ac797c1
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@ readme_path = root / "README.md"
# return f'<div style="width: 105px;text-align: center;display: inline-block;font-size: 12px;margin: 5px;"><img style="border: 1.5px dashed white;border-radius: {radius};" src="{folder}/{file.name}" alt="{file.stem}" /><br/>{file.stem}</div>'
def generate_img_tag(file,folder,radius):
return f'<div style=""><img style="width: 105px;text-align: center;display: inline-block;font-size: 12px;margin: 5px;" src="{folder}/{file.name}" alt="{file.stem}" /><br/>{file.stem}</div>'
return f'<img style="width: 105px;text-align: center;display: inline-block;font-size: 12px;margin: 5px;" src="{folder}/{file.name}" alt="{file.stem}" width="105"><br/>{file.stem}'
imgs = sorted(Path("./border-radius").glob("*.png"))