邓洁 commit : 修改新闻中心,本科教育,研究生教育和党群工作细节样式
This commit is contained in:
@@ -180,12 +180,13 @@ export default {
|
||||
|
||||
.card_title {
|
||||
width: 90%;
|
||||
font-size: 2rem;
|
||||
font-size: 1.7rem;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #1C1C1C;
|
||||
text-align: left;
|
||||
//width: 36rem;
|
||||
//padding: 1rem 0;
|
||||
margin: 0 auto;
|
||||
overflow: hidden; //超出的文本隐藏
|
||||
text-overflow: ellipsis; //溢出用省略号显示
|
||||
@@ -303,11 +304,11 @@ export default {
|
||||
|
||||
li {
|
||||
width: 22rem !important;
|
||||
height: 22rem !important;
|
||||
height: 23rem !important;
|
||||
|
||||
.card_title {
|
||||
font-size: 1.6rem;
|
||||
margin: 1rem 1rem;
|
||||
margin: 0.6rem 1rem;
|
||||
display: -webkit-box; //作为弹性伸缩盒子模型显示。
|
||||
-webkit-box-orient: vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
|
||||
-webkit-line-clamp: 2; //显示的行
|
||||
|
||||
Reference in New Issue
Block a user