Обновить build.py
This commit is contained in:
parent
ae4b2553b3
commit
e975cc21ac
8
build.py
8
build.py
@ -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/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>
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js" onload="renderMathInElement(document.body);"></script>
|
||||||
<style>
|
<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 {{
|
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;
|
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; }}
|
header {{ border-bottom: 2px solid #003366; padding-bottom: 10px; margin-bottom: 30px; }}
|
||||||
h1 {{ color: #003366; }}
|
h1 {{ color: #003366; }}
|
||||||
h2 {{ color: #004080; border-bottom: 1px solid #eee; padding-bottom: 5px; margin-top: 30px; }}
|
h2 {{ color: #004080; border-bottom: 1px solid #eee; padding-bottom: 5px; margin-top: 30px; }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user