diff options
| author | Reorx <novoreorx@gmail.com> | 2022-06-01 00:51:18 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-06-01 00:51:18 +0800 |
| commit | 80f443ec367cd3a9d15bd7bad50221e3fa75b5ca (patch) | |
| tree | dd48b5d3b2c7de08dccc826b827878358dc978b9 /assets/css/common/post-entry.css | |
| parent | 5c47607d23d31bda44f2f660df372a924daa2381 (diff) | |
add mark and .telegram-channel style for home page entry
Diffstat (limited to 'assets/css/common/post-entry.css')
| -rw-r--r-- | assets/css/common/post-entry.css | 20 |
1 files changed, 18 insertions, 2 deletions
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 <mark> 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; } |
