From f817765913e706a58d12e6777f3136044924d553 Mon Sep 17 00:00:00 2001 From: mxr612 Date: Sun, 9 Mar 2025 10:38:10 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86list=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 1 + static/styles.css | 8 ++++++++ templates/list.html | 8 ++++---- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index 9edb95c..5b5aaf5 100644 --- a/app.py +++ b/app.py @@ -28,6 +28,7 @@ def load_all_scales(): scale = yaml.safe_load(f) scale['instructions']=markdown.markdown(scale['instructions'], extensions=['fenced_code','tables','mdx_math']) scale['descriptions']=markdown.markdown(scale['descriptions'], extensions=['fenced_code','tables','mdx_math']) + scale['abstract']=markdown.markdown(scale['abstract'], extensions=['fenced_code','tables','mdx_math']) if 'tag' not in scale or scale['tag'] not in tagmap: scale['tag']='other' tags[scale['tag']]=tagmap[scale['tag']] diff --git a/static/styles.css b/static/styles.css index a3993d8..00b7e71 100644 --- a/static/styles.css +++ b/static/styles.css @@ -78,6 +78,14 @@ main { margin: 0 auto; } +.scale-list .title { + text-decoration: none; + font-weight: 700; + font-size: x-large; + transition: color 0.3s ease; + color: #34495e; +} + @media (max-width: 768px) { nav { .menu-toggle { diff --git a/templates/list.html b/templates/list.html index cb54c80..685f431 100644 --- a/templates/list.html +++ b/templates/list.html @@ -5,12 +5,12 @@ {% endblock %} {% block main %} - + {% endblock %} \ No newline at end of file