style(css): 移除移动端评论区域容器样式以节省宽度
- 移除评论区域的阴影、边框和圆角样式 - 调整评论区域内边距为零以节省水平空间 - 设置评论区域背景为透明 - 完全移除 artalk-container 的容器化样式 - 统一移动端样式调整以优化显示宽度
This commit is contained in:
@@ -363,6 +363,10 @@
|
|||||||
font-size: 0.95rem !important;
|
font-size: 0.95rem !important;
|
||||||
margin: 0 0 8px 0 !important; /* 移除移动端容器化样式,节省宽度 */
|
margin: 0 0 8px 0 !important; /* 移除移动端容器化样式,节省宽度 */
|
||||||
border-radius: 0 !important; /* 移除圆角 */
|
border-radius: 0 !important; /* 移除圆角 */
|
||||||
|
box-shadow: none !important; /* 移除阴影以节省宽度 */
|
||||||
|
border-left: none !important;
|
||||||
|
border-right: none !important;
|
||||||
|
border-top: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.atk-mobile .atk-avatar {
|
.atk-mobile .atk-avatar {
|
||||||
@@ -536,10 +540,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.atk-comment-wrap {
|
.atk-comment-wrap {
|
||||||
padding: 12px 14px !important;
|
padding: 12px 0 !important;
|
||||||
font-size: 0.95rem !important;
|
font-size: 0.95rem !important;
|
||||||
margin: 0 0 8px 0 !important; /* 移除移动端容器化样式,节省宽度 */
|
margin: 0 0 8px 0 !important; /* 移除移动端容器化样式,节省宽度 */
|
||||||
border-radius: 0 !important; /* 移除圆角 */
|
border-radius: 0 !important; /* 移除圆角 */
|
||||||
|
box-shadow: none !important; /* 移除阴影 */
|
||||||
|
border-left: none !important;
|
||||||
|
border-right: none !important;
|
||||||
|
border-top: none !important;
|
||||||
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.atk-avatar {
|
.atk-avatar {
|
||||||
@@ -558,4 +567,13 @@
|
|||||||
color: #dfe6e9 !important;
|
color: #dfe6e9 !important;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 完全移除评论区域的容器样式以节省宽度 */
|
||||||
|
#artalk-container {
|
||||||
|
border-radius: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
background: transparent !important;
|
||||||
|
border: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user