Обновить build.py

This commit is contained in:
masterpmi 2026-07-23 14:37:01 +03:00
parent ae4b2553b3
commit e975cc21ac

View File

@ -14,12 +14,12 @@ TEMPLATE = """<!DOCTYPE html>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js" onload="renderMathInElement(document.body);"></script>
<style>
body::before {{
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 0 L60 60 M60 0 L0 60' stroke='%23003366' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
background-size: 60px 60px;}}
body {{
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 900px; margin: 0 auto; padding: 20px; line-height: 1.6; color: #333;
background-image: url('/static/images/bg-math.svg');
background-repeat: repeat;
background-size: 800px 600px;
background-attachment: fixed; }}
}}
header {{ border-bottom: 2px solid #003366; padding-bottom: 10px; margin-bottom: 30px; }}
h1 {{ color: #003366; }}
h2 {{ color: #004080; border-bottom: 1px solid #eee; padding-bottom: 5px; margin-top: 30px; }}