summaryrefslogtreecommitdiff
path: root/themes/theme/source/css/post/mermaid.styl
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-08-18 21:06:28 +0800
committerSomhairle H. Marisol <[email protected]>2026-08-18 21:06:28 +0800
commit410346c15dffdc48b6b8e6c04bdcb48bab48bd85 (patch)
tree999a7d5723e7b5875ac6a6c6888cd59d6f199e27 /themes/theme/source/css/post/mermaid.styl
parentb25a60db33d20ca651a2b1d404c72dbc58bc1a22 (diff)
downloadblog-410346c15dffdc48b6b8e6c04bdcb48bab48bd85.tar.gz
docs(medicine): publish atrial fibrillation thrombosis article
Diffstat (limited to 'themes/theme/source/css/post/mermaid.styl')
-rw-r--r--themes/theme/source/css/post/mermaid.styl10
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/theme/source/css/post/mermaid.styl b/themes/theme/source/css/post/mermaid.styl
index aae47ec5..1ac0d390 100644
--- a/themes/theme/source/css/post/mermaid.styl
+++ b/themes/theme/source/css/post/mermaid.styl
@@ -19,7 +19,7 @@
// 悬停效果
&:hover
border-color $color-accent
- box-shadow 0 4*$px 12*$px rgba(0, 0, 0, 0.1)
+ box-shadow 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)
// 提示文字
&::after
@@ -62,8 +62,8 @@
position absolute
top $margin-m-2
right $margin-m-2
- width 48*$px
- height 48*$px
+ width 3rem
+ height 3rem
background $color-background
border $line-third solid $color-border
border-radius 50%
@@ -71,7 +71,7 @@
display flex
justify-content center
align-items center
- font-size 24*$px
+ font-size 1.5rem
color $color-text-primary
transition all $transition-duration
@@ -88,7 +88,7 @@
background $color-background
padding $margin-l-0
border-radius $margin-s-2
- box-shadow 0 8*$px 32*$px rgba(0, 0, 0, 0.3)
+ box-shadow 0 0.5rem 2rem rgba(0, 0, 0, 0.3)
svg
display block