From 1d96d195779a816ba6626f6da0b193fdc61ad87e Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Mon, 24 Oct 2022 19:47:16 +0800 Subject: [PATCH] timeline --- source/css/_layout/tag-plugins/timeline.styl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/css/_layout/tag-plugins/timeline.styl b/source/css/_layout/tag-plugins/timeline.styl index c9fc058..b8e50ec 100644 --- a/source/css/_layout/tag-plugins/timeline.styl +++ b/source/css/_layout/tag-plugins/timeline.styl @@ -120,14 +120,19 @@ p.title font-size: 1rem font-weight: 700 - margin: 0 - padding: 0.5rem 0 0.75rem + margin: 0.5rem 0 0.75rem line-height: 1.25 - border-bottom: 1px dashed var(--block-border) a color: inherit &:hover color: $color-hover + a + &:has(img):after + display: none + img + margin: 0 auto + img + margin: 0.5rem auto pre code font-size: $fs-12