summaryrefslogtreecommitdiff
path: root/themes/theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/theme')
-rw-r--r--themes/theme/source/css/partials/footer.styl2
-rw-r--r--themes/theme/source/css/partials/profile.styl4
-rw-r--r--themes/theme/source/css/post/code.styl6
-rw-r--r--themes/theme/source/css/post/mermaid.styl10
4 files changed, 11 insertions, 11 deletions
diff --git a/themes/theme/source/css/partials/footer.styl b/themes/theme/source/css/partials/footer.styl
index 5819da88..eac9a8d5 100644
--- a/themes/theme/source/css/partials/footer.styl
+++ b/themes/theme/source/css/partials/footer.styl
@@ -12,7 +12,7 @@
margin-top $margin-l-0
.footer-text
- font-size 10*$px
+ font-size 0.625rem
margin-top $margin-s-1
margin-bottom $margin-s-1
diff --git a/themes/theme/source/css/partials/profile.styl b/themes/theme/source/css/partials/profile.styl
index 44025cdb..2fa14552 100644
--- a/themes/theme/source/css/partials/profile.styl
+++ b/themes/theme/source/css/partials/profile.styl
@@ -26,7 +26,7 @@
.profile-link
margin-top 0
margin-bottom $margin-m-1
- font-size 15*$px
+ font-size 0.9375rem
a
text-decoration underline
@@ -59,7 +59,7 @@
margin-top $margin-m-0
.profile-link
- font-size 14*$px
+ font-size 0.875rem
.profile-image
width 100%
diff --git a/themes/theme/source/css/post/code.styl b/themes/theme/source/css/post/code.styl
index f641f8d2..bd90c04e 100644
--- a/themes/theme/source/css/post/code.styl
+++ b/themes/theme/source/css/post/code.styl
@@ -84,14 +84,14 @@ pre
@media (max-width: 688px)
code
- font-size 12*$px
+ font-size 0.75rem
.highlight
pre
- font-size 12*$px
+ font-size 0.75rem
td.gutter
width $margin-m-2
padding-right $margin-s-2
- font-size 11*$px
+ font-size 0.6875rem
background-color $color-code-background
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