summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-12-09 16:15:17 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-12-09 16:15:17 +0800
commit87175801b75d4e67a4f33e93bd7c63c79c7ee4f3 (patch)
treea8862cd86c38700406188d8f4aa9ee4421a98320
parent391c4c53416dfbaf70f71da33fe42528042c4277 (diff)
add abbr for markdown
-rw-r--r--www/assets/style.css8
-rwxr-xr-xwww/scripts/build.sh2
2 files changed, 7 insertions, 3 deletions
diff --git a/www/assets/style.css b/www/assets/style.css
index 04bc72e..55f5223 100644
--- a/www/assets/style.css
+++ b/www/assets/style.css
@@ -10,14 +10,18 @@ footer * {
10 10
11main { 11main {
12 h1 { 12 h1 {
13 margin: auto auto; 13 margin: 1.5rem auto;
14 width: fit-content; 14 width: fit-content;
15 } 15 }
16 h2 { 16 h2 {
17 margin: 2.5rem 0 0 -0.7rem; 17 margin: 1.5rem 0 1.5rem -0.7rem;
18 } 18 }
19} 19}
20 20
21abbr {
22 cursor: help;
23}
24
21blockquote { 25blockquote {
22 color: gray; 26 color: gray;
23 font-size: 1.2rem; 27 font-size: 1.2rem;
diff --git a/www/scripts/build.sh b/www/scripts/build.sh
index cec10fd..f5f50c9 100755
--- a/www/scripts/build.sh
+++ b/www/scripts/build.sh
@@ -3,7 +3,7 @@
3set -e 3set -e
4 4
5# Executable command for markdown 5# Executable command for markdown
6markdown_bin="markdown -f fencedcode,autolink,alphalist,autolink,footnote" 6markdown_bin="markdown -f fencedcode,autolink,alphalist,autolink,footnote,definitionlist"
7 7
8# Directory for input/output 8# Directory for input/output
9input_dir=${input_dir:?ENV \"input_dir\" is not set} 9input_dir=${input_dir:?ENV \"input_dir\" is not set}