diff --git a/_config.yml b/_config.yml index fd3ecab..19e1337 100755 --- a/_config.yml +++ b/_config.yml @@ -77,7 +77,7 @@ style: url: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-fonts/UbuntuMono/UbuntuMono-Regular.ttf weight: normal style: normal - offset: 0.05rem # Correct baseline + offset: 0.08rem # Correct baseline for zh-CN codefont: fontfamily: 'Menlo, UbuntuMono, Monaco' # name: 'Monaco' diff --git a/source/css/_base/index.styl b/source/css/_base/index.styl index 6726a64..cedfa74 100644 --- a/source/css/_base/index.styl +++ b/source/css/_base/index.styl @@ -246,9 +246,9 @@ table th background-color: darken($color-block, 2) td,th - padding: 6px 16px + padding: 8px 16px border: 2px solid darken($color-block, 2) - line-height: normal + line-height: 1.5 font-size: 90% tr word-break: keep-all diff --git a/source/css/_layout/main.styl b/source/css/_layout/main.styl index ea6895b..8d1cdc4 100644 --- a/source/css/_layout/main.styl +++ b/source/css/_layout/main.styl @@ -243,8 +243,8 @@ justify-content: center align-items: center img - height: 1.2em - width: 1.2em + height: 16px + width: 16px margin-right: 5px p margin: 0 @@ -259,7 +259,7 @@ img,i border-radius: 100% img - transform: translateY(-1px) + transform: translateY(-0.5px) @media screen and (max-width: $device-mobile) .share