aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/template.html27
1 files changed, 18 insertions, 9 deletions
diff --git a/templates/template.html b/templates/template.html
index c3b0c1c..769b1c1 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -8,21 +8,21 @@
@font-face { font-family: Inter; font-weight: 700; src: url("https://albertttan.github.io/daily-bulletin/files/Inter-Bold.ttf") format("truetype"); }
@font-face { font-family: "Noto Sans SC"; font-weight: 400; src: url("https://albertttan.github.io/daily-bulletin/files/NotoSansSC-Regular.otf") format("opentype"); }
@font-face { font-family: "Noto Sans SC"; font-weight: 700; src: url("https://albertttan.github.io/daily-bulletin/files/NotoSansSC-Bold.otf") format("opentype"); } */
- html { font-family: "Arial", "Noto Sans SC", sans-serif; }
+ html { font-family: system-ui, "Noto Sans SC", sans-serif; line-height: 1.3; }
body { max-width: 60rem; margin: auto; padding: 1rem; }
header { margin-top: 1rem; text-align: center; margin-bottom: 1.5rem; }
h2 { padding-top: 1.2rem; }
h3, h4, h5, h6 { padding-top: 0.8rem; }
- span.location { text-decoration: underline; }
+ span.location { text-decoration: underline; }
time { text-decoration: underline; }
- a:link, a:visited, a:hover, a:active { color: #791a9c; }
- table { width: 100%; border-collapse: collapse; border: 2px solid rgb(180, 180, 180); font-size: 90%; }
+ a:link, a:visited, a:hover, a:active { color: #791a9c; text-decoration-color: #80808080; text-decoration-thickness: 1.5px; }
+ table { width: 100%; border-collapse: collapse; border: 2px solid rgb(180, 180, 180); font-size: 90%; line-height: 1.3; }
caption { margin: 1ex 1em; font-weight: bold; font-size: 105%; }
/* tr.today { background-color: rgb(210, 221, 247); } */
- tr.today { background-color: #e7d2ec; }
+ tr.today { background-color: #791a9c20; }
tr.not-today { color: rgb(150, 150, 150); }
td, th { border: 1px solid rgb(150, 150, 150); padding: 0.4rem; }
- table#community_time td { text-align: center;}
+ table#community_time td { text-align: center; }
td { min-width: 4.8rem; vertical-align: top; }
table#menu { min-width: 55em; } /* I think the mail clients will just resize the table */
table#menu ul { padding-left: 1.2em; }
@@ -42,16 +42,20 @@
footer { padding-top: 1rem; text-align: center; }
.wtitle + ul { margin-top: 0rem; }
</style>
+<title>Daily Bulletin {{stddate}}</title>
</head>
<body dir="auto">
-<title>Daily Bulletin {{stddate}}</title>
-<header>
+<center>
+<header align="center">
+ <center>
<h1>Daily Bulletin 每日公告</h1>
<p><time datetime="{{stddate}}">{{stddate}}</time>, {{weekday_english}}, Day {{day_of_cycle}}</p>
<p style="font-weight: bold; color: #AA0000;">
Internal beta testing edition
</p>
+ </center>
</header>
+</center>
<article>
<p>
Happy {{weekday_english}}! Thank you for supporting the Daily Bulletin. Please note that this is supplementary to <a href="{{the_week_ahead_url}}">The Week Ahead</a> and is not an official source of information, and the Daily Bulletin staff accept no liability for the accuracy or validity. Please fill in the respective forms to <a href="https://ykps.runxiyu.org/sjdb/submit">share inspirations</a> or <a href="https://ykps.runxiyu.org/sjdb/unsub">unsubscribe</a>.
@@ -411,6 +415,9 @@
Please feel free to <a href="https://ykps.runxiyu.org/sjdb/submit">submit one</a>.
</p>
{% endif %}
+ <p>
+ (Actually, we have inspirations, the system is just kind-of broken and I&rsquo;m a bit too busy to fix it for now.)
+ </p>
{% if on_this_day_html_en or on_this_day_html_zh %}
<h2>On This Day 以史为鉴</h2>
@@ -447,7 +454,8 @@
<p class="ps" style="font-weight: bold;">Disclaimer: Please check The Week Ahead for official information.</p>
</article>
<footer>
- <p>
+ <center>
+ <p align="center">
<a href="https://ykps.runxiyu.org/sjdb/">Home Page</a>
{#
·
@@ -456,6 +464,7 @@
·
<a href="mailto:s22537@stu.ykpaoschool.cn">Contact</a>
</p>
+ </center>
</footer>
</body>
</html>