new: Added friends page and adjust page style

This commit is contained in:
2024-12-19 15:21:36 +08:00
parent 4491e806e0
commit 2fa6e78626
16 changed files with 240 additions and 148 deletions

View File

@@ -16,9 +16,10 @@ tr, th, td {
color: var(--primary-text-color);
}
.about-title-wrap {
text-align: center;
.root-container {
max-width: 1000px;
margin-left: auto;
margin-right: auto;
}
.about-title {
@@ -27,7 +28,6 @@ tr, th, td {
.about-content {
line-height: 1.6;
max-width: 1000px;
color: var(--primary-text-color);
}

View File

@@ -0,0 +1,43 @@
.friend-title {
color: var(--primary-color);
}
.friend-item {
margin-top: 20px;
padding: 10px;
display: flex;
align-items: center;
color: var(--primary-text-color);
border: var(--secondary-text-color) 1px dashed;
border-radius: 4px;
}
.friend-item:hover {
cursor: pointer;
border: var(--primary-color) 1px solid;
}
.friend-avatar {
width: 64px;
height: 64px;
object-fit: cover;
border-radius: 50%;
}
.friend-info-wrap {
padding-left: 10px;
}
.friend-name {
font-size: 18px;
font-weight: bolder;
}
.friend-description {
width: 200px;
font-size: 14px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--secondary-text-color);
}

View File

@@ -40,8 +40,8 @@
width: 100%;
height: 100%;
opacity: 0.4;
mask-image: radial-gradient(at 100% 0%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
-webkit-mask-image: radial-gradient(at 100% 0%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
mask-image: radial-gradient(at 100% 100%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
-webkit-mask-image: radial-gradient(at 100% 100%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}
.tag-word-cloud-canvas * {