feat: 友情链接页 外观切换过渡效果

This commit is contained in:
pengzhanbo 2024-02-04 10:18:07 +08:00
parent a44a6ad2ee
commit 062cc88a6a
2 changed files with 4 additions and 2 deletions

View File

@ -128,7 +128,7 @@ const list = computed(() => matter.value.list || [])
line-height: 32px;
color: var(--vp-c-brand-1);
border: 0;
transition: color 0.25s;
transition: color var(--t-color);
}
.edit-link-button:hover {

View File

@ -45,7 +45,7 @@ defineProps<{
border: 1px solid var(--vp-friends-border-color);
border-radius: 6px;
box-shadow: var(--vp-shadow-1);
transition: all 0.25s;
transition: all var(--t-color);
}
.friend:hover {
@ -79,6 +79,7 @@ defineProps<{
font-weight: 700;
color: var(--vp-friends-link-color);
border-bottom: 1px dashed var(--vp-friends-border-color);
transition: color var(--t-color), border-bottom var(--t-color);
}
.content p {
@ -88,6 +89,7 @@ defineProps<{
font-size: 0.875rem;
line-height: 1.5;
color: var(--vp-friends-text-color);
transition: color var(--t-color);
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;