mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
new: Added friends page and adjust page style
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
43
templates/default/assets/css/friend.css
Normal file
43
templates/default/assets/css/friend.css
Normal 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);
|
||||
}
|
||||
@@ -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 * {
|
||||
|
||||
Reference in New Issue
Block a user