mirror of
https://github.com/handsomezhuzhu/handsomezhuzhu.github.io.git
synced 2026-02-20 20:00:14 +00:00
友链部分样式优化
This commit is contained in:
@@ -22,4 +22,26 @@ html:not(.dark) .VPHome::before {
|
||||
.blog-item .pin.pin::before {
|
||||
// 修改颜色
|
||||
background-image: linear-gradient(#1E90FF, #1E90FF);
|
||||
}
|
||||
|
||||
/* 友链描述支持多行 */
|
||||
.friend-list li .des {
|
||||
white-space: pre-wrap !important;
|
||||
display: -webkit-box !important;
|
||||
-webkit-line-clamp: 2 !important;
|
||||
-webkit-box-orient: vertical !important;
|
||||
text-overflow: ellipsis !important;
|
||||
line-height: 1.4 !important;
|
||||
height: auto !important;
|
||||
overflow: hidden !important;
|
||||
font-size: 13px !important;
|
||||
}
|
||||
|
||||
/* 增加间距,让文字靠右一点 */
|
||||
.friend-list li .info-wrapper {
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
.friend-list li {
|
||||
padding: 0 4px !important;
|
||||
}
|
||||
Reference in New Issue
Block a user