diff --git a/theme/src/client/components/Blog/BlogExtract.vue b/theme/src/client/components/Blog/BlogExtract.vue index 87da7102..7009970f 100644 --- a/theme/src/client/components/Blog/BlogExtract.vue +++ b/theme/src/client/components/Blog/BlogExtract.vue @@ -62,6 +62,16 @@ const showBlogExtract = computed(() => {

{{ avatar.description }}

+
+
+ +

+

+
+ +

+

+
@@ -87,7 +97,7 @@ const showBlogExtract = computed(() => { bottom: 30%; z-index: calc(var(--vp-z-index-nav) - 1); display: block; - padding: 4px 10px; + padding: 6px 10px; cursor: pointer; background-color: var(--vp-c-bg); border: solid 1px var(--vp-c-divider); @@ -212,4 +222,26 @@ const showBlogExtract = computed(() => { height: 1em; margin-right: 4px; } + +.avatar-info { + display: flex; + flex-wrap: wrap; + gap: 0 20px; + align-items: center; +} + +.avatar-location, +.avatar-organization { + display: flex; + align-items: center; + justify-content: center; + font-size: 14px; + color: var(--vp-c-text-3); + transition: color var(--t-color); +} + +.avatar-location p, +.avatar-organization p { + margin: 0 4px; +} diff --git a/theme/src/client/components/Blog/BlogProfile.vue b/theme/src/client/components/Blog/BlogProfile.vue index 079aaf33..4220962b 100644 --- a/theme/src/client/components/Blog/BlogProfile.vue +++ b/theme/src/client/components/Blog/BlogProfile.vue @@ -38,13 +38,11 @@ const avatar = computed(() => theme.value.avatar) border-radius: 8px; box-shadow: var(--vp-shadow-1); transition: var(--t-color); - transition-property: background-color, color, box-shadow, transform; - transform: scale(1); + transition-property: background-color, color, box-shadow; } .avatar-profile:hover { box-shadow: var(--vp-shadow-2); - transform: scale(1.002); } .avatar-profile img { diff --git a/theme/src/node/blogTags.ts b/theme/src/node/blogTags.ts index 5efaf802..b47150a7 100644 --- a/theme/src/node/blogTags.ts +++ b/theme/src/node/blogTags.ts @@ -1,4 +1,5 @@ import { hasOwn, random, toArray } from '@pengzhanbo/utils' + export type BlogTagsColorsItem = readonly [ string, // normal color string, // hover color