Files
PC-Light-Forum/css/bi.less
DESKTOP-RQ919RC\Pc 5cdbeb249f feat: 优化页面布局和交互体验
- 使用sticky定位替代fixed定位,提升滚动体验
- 添加视频播放图标和图片展示功能
- 实现搜索框热门关键词轮播效果
- 优化编辑器链接插入功能
- 调整组件样式和布局细节
2025-11-10 19:06:58 +08:00

207 lines
4.5 KiB
Plaintext

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
color: #333;
margin: 0;
padding: 0;
}
.bi-container {
width: 1027px;
// height: 755px;
padding-top: 22px;
margin-top: 20px;
* {
padding: 0;
margin: 0;
}
.bi-icon {
width: 29px;
height: 32px;
margin-right: 8px;
background-image: url(../img/bi-icon.png);
background-size: contain;
background-repeat: no-repeat;
}
.title {
display: flex;
align-items: center;
margin: 0 12px 20px;
img {
width: 29px;
height: 34px;
margin-right: 8px;
}
h2 {
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: rgb(0, 0, 0);
line-height: 30px;
}
}
.bi-main-title {
display: flex;
align-items: center;
margin: 0 12px 20px;
&-icon {
width: 29px;
height: 34px;
margin-right: 8px;
}
&-heading {
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: rgb(0, 0, 0);
line-height: 30px;
}
}
.bi-table {
width: calc(100% - 24px);
border-collapse: collapse;
margin: 0 12px 25px;
&-header {
background-color: #f5f5f5;
font-weight: bold;
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 14px;
color: rgb(0, 0, 0);
text-align: center;
height: 33px;
}
&-row {
&:nth-child(even) {
background-color: rgb(245, 245, 245);
}
}
&-cell {
color: rgb(51, 51, 51);
font-size: 14px;
text-align: center;
height: 33px;
}
}
.supplement {
margin: 0 12px 30px;
}
.supplement h3 {
font-weight: bold;
font-size: 14px;
line-height: 25px;
}
.supplement ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.supplement li {
font-size: 14px;
line-height: 25px;
}
.bi-supplement {
margin: 0 12px 30px;
&-title {
font-weight: bold;
font-size: 14px;
line-height: 25px;
}
&-list {
list-style-type: none;
padding: 0;
margin: 0;
}
&-item {
font-size: 14px;
line-height: 25px;
}
}
.divider {
height: 1px;
background-color: #eee;
margin-bottom: 37px;
}
.usage {
display: flex;
flex-direction: column;
margin-bottom: 8px;
}
.usage img {
width: 29px;
height: 34px;
margin-right: 8px;
}
.usage h3 {
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: rgb(0, 0, 0);
line-height: 30px;
}
.usage ul {
list-style-type: none;
padding: 0 0 0 32px;
margin: 0;
}
.usage li:not(:last-child) {
margin-bottom: 4px;
}
.bi-usage {
display: flex;
flex-direction: column;
margin-bottom: 35px;
&-title {
display: flex;
align-items: center;
margin-bottom: 0 12px 20px;
}
&-icon {
width: 29px;
height: 34px;
margin-right: 8px;
}
&-heading {
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: rgb(0, 0, 0);
line-height: 30px;
}
&-list {
list-style-type: none;
padding: 0 0 0 32px;
margin: 0;
}
&-item {
margin-bottom: 4px;
font-size: 14px;
color: #333;
}
}
}