新增论坛首页所需的图片资源、CSS样式文件、Vue组件和基础功能实现。包括: 1. 添加多个图标图片资源 2. 创建index.css和sectionIndex.css样式文件 3. 实现论坛首页的Vue组件结构和基础交互 4. 添加论坛板块列表和帖子展示功能 5. 实现公共样式和布局组件
47 lines
738 B
CSS
47 lines
738 B
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
body {
|
|
padding: 10px;
|
|
background-color: #eef2f5;
|
|
}
|
|
/* 公共的 css 样式 */
|
|
.flexflex {
|
|
display: flex;
|
|
}
|
|
.flexcenter {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.flexjcenter {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.flexacenter {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.flex1 {
|
|
flex: 1;
|
|
}
|
|
.flexcolumn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.one-line-display {
|
|
word-break: keep-all;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
#sectionIndex .head .logo {
|
|
width: 136px;
|
|
height: 68px;
|
|
}
|