[Style] centering the content, margin on cover photo

This commit is contained in:
2025-10-22 20:29:04 +02:00
parent c5561e8723
commit dda015450b
3 changed files with 9 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ def main():
templateEN = fTempEN.read()
for page in PAGES:
with open(f'pages/sr/{page["name"]}.html') as f:
pageHtml = "<div><img src='/img/students_bug.jpg' alt='Studenti su nasli bug' /></div>"
pageHtml = "<div class='cover-wrap'><img src='/img/students_bug.jpg' alt='Studenti su nasli bug' /></div>"
pageHtml += f.read()
html = buildPage(page['name'], page['titleSR'], pageHtml, page['style'], templateSR)
f = open(f'site/{page["name"]}.html', 'w')