From 9487b247dc6f34d0d86edcd08fc02c5b981b4578 Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Sat, 17 Jul 2021 12:30:38 -0700 Subject: [PATCH] doc: update style --- themes/butterfly/source/css/_layout/post.styl | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/themes/butterfly/source/css/_layout/post.styl b/themes/butterfly/source/css/_layout/post.styl index 2785ae1..2f5c17d 100644 --- a/themes/butterfly/source/css/_layout/post.styl +++ b/themes/butterfly/source/css/_layout/post.styl @@ -231,15 +231,18 @@ no-beautify() padding: .5rem .8rem border: 1px solid var(--light-grey) transition: box-shadow .3s ease-in-out + overflow: hidden + border-radius: 12px !important + background-color: rgb(239 241 243) &:before - @extend .fontawesomeIcon position: absolute - top: .1rem - right: .6rem - color: $theme-color - content: '\f1f9' - font-size: 1rem + right: -26px + top: -120px + content: '\f25e' + font-size: 200px + font-family: 'Font Awesome 5 Brands' + opacity: .2 &:hover box-shadow: 0 0 8px 0 rgba(232, 237, 250, .6), 0 2px 4px 0 rgba(232, 237, 250, .5) @@ -253,11 +256,14 @@ no-beautify() padding-left: .3rem a - text-decoration: underline + text-decoration: none word-break: break-word &:hover text-decoration: none + + .post-copyright-cc-info + color: $theme-color; .post-outdate-notice position: relative