From 0b11093e97a00b7119ae6ce873b64f57fd139daf Mon Sep 17 00:00:00 2001 From: mose Date: Wed, 30 Aug 2017 19:41:14 +0800 Subject: [PATCH] add description to posts on cercles, and a readmore link ref #6 --- public/css/addon.css | 16 ++++++++++++++++ syspages/cercles.md | 7 ++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/public/css/addon.css b/public/css/addon.css index b1a7df0..fdaa874 100644 --- a/public/css/addon.css +++ b/public/css/addon.css @@ -43,6 +43,22 @@ .posts.list .post-date { margin: 0; } +.post-list li .description { + font-size: .9em; +} +.post-list li .description .readmore { + padding: 0 10px; + border: 1px solid #90a959; + border-radius: 4px; + margin-left: 10px; + white-space: nowrap; + font-size: .8em; +} +.post-list li .description .readmore:hover { + color: #000; + background-color: #90a959; + text-decoration: none; +} .custom-footer { margin-top: 40px; diff --git a/syspages/cercles.md b/syspages/cercles.md index bb868cd..c2f1e00 100644 --- a/syspages/cercles.md +++ b/syspages/cercles.md @@ -16,7 +16,12 @@ category: base

{{ this_word }}

{% endunless %}{% endfor %}