From a23166e4fac771238a90ae5ddc5b1e53a1c7afb8 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Thu, 25 Aug 2022 18:10:21 +0800 Subject: [PATCH] 更新后的细节调整 --- src/assets/md.less | 33 +++++++++++++++++++++++++++++++-- 1 files changed, 31 insertions(+), 2 deletions(-) diff --git a/src/assets/md.less b/src/assets/md.less index 3e3c733..9458078 100644 --- a/src/assets/md.less +++ b/src/assets/md.less @@ -1,4 +1,8 @@ .markdown-body{ + *{ + max-width: 100% !important; + } + body{ margin: 0 auto; font-family: "Microsoft YaHei", arial,sans-serif; @@ -12,6 +16,30 @@ margin: 10px auto; } } + + p{ + text-indent: 2rem; + } + img:hover{ + transform: scale(1.05); + //box-shadow: 0 0 4px rgba(0,0,0,0.5); + -webkit-filter: drop-shadow(4px 4px 10px rgba(0,0,0,.5)); + filter: drop-shadow(4px 4px 10px rgba(0,0,0,.5)); + } + img{ + border-radius: 12px; + margin: 10px auto; + transition: all .5s; + } + // img{ + // max-width: -webkit-fill-available; + // display: inline; + // box-shadow: 0 0 4px rgba(0,0,0,0.5); + // overflow: visible; + // border-radius: 12px; + // -webkit-filter: drop-shadow(4px 4px 10px rgba(0,0,0,.5)); + // filter: drop-shadow(4px 4px 10px rgba(0,0,0,.5)); + // } h1, h2, h3, h4 { color: #111111; font-weight: 400; @@ -53,6 +81,7 @@ color: #0099ff; margin: 0; padding: 0; + word-wrap: break-word; vertical-align: baseline; } a:hover { @@ -146,8 +175,8 @@ width: 390px; } blockquote { - border-left:.5em solid #eee; - padding: 0 0 0 2em; + border-left:.5em solid #cfcfcf; + //padding: 0 0 0 2em; margin-left:0; } blockquote cite { -- Gitblit v1.9.1