From 80f443ec367cd3a9d15bd7bad50221e3fa75b5ca Mon Sep 17 00:00:00 2001 From: Reorx Date: Wed, 1 Jun 2022 00:51:18 +0800 Subject: add mark and .telegram-channel style for home page entry --- assets/css/common/post-entry.css | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'assets/css/common/post-entry.css') diff --git a/assets/css/common/post-entry.css b/assets/css/common/post-entry.css index f00e78b..57e378c 100644 --- a/assets/css/common/post-entry.css +++ b/assets/css/common/post-entry.css @@ -23,10 +23,11 @@ .first-entry .entry-content { margin: 14px 0; - font-size: 16px; + font-size: 17px; color: var(--primary); - line-height: 1.5em; + line-height: 1.6em; display: block; + overflow: initial; /* fix edge get cut */ } .first-entry .entry-content p, @@ -38,6 +39,21 @@ font-size: 14px; } +.telegram-channel a { + font-weight: bold; + display: inline-block; + transition: var(--link-transition); + text-decoration: underline; +} +.telegram-channel a:hover { + color: #0088CC; +} +.telegram-channel svg { + width: 25px; + height: auto; + vertical-align: text-bottom; +} + .home-info .entry-content { -webkit-line-clamp: unset; } -- cgit v1.2.3