调整css

This commit is contained in:
2022-01-21 13:06:36 +08:00
parent 12986ea892
commit 8b927799d6

View File

@@ -124,7 +124,7 @@ img {max-width: 100%;}
/* 媒体报道+党建文化 */
.indexParty {padding: 40px 0;}
.indexMedia-title {border-bottom: 4px solid #ebebeb; position: relative;height: 44px; margin-bottom: 20px;}
.indexMedia-title {border-bottom: 4px solid #ebebeb; position: relative;height: 44px; margin-bottom: 20px;position: relative;}
.indexMedia-name {background-color: #203175; color: #fff; display: inline-block; font-size: 17px; height: 44px; line-height: 44px; padding: 0 10px 0 20px;display: flex; position: absolute; left: 0; bottom: -4px; z-index: 9;}
.indexMedia-name::after{ width: 0;height: 0;border-bottom: 44px solid #203175;border-right: 30px solid transparent; position: absolute; content: ''; right: -30px; top: 0;}
.indexMedia-name img {width: 20px; height: 20px; margin: 10px 10px 0 0;}
@@ -459,6 +459,14 @@ img {max-width: 100%;}
.tdrcBrief-label li>span {display: inline-block;color: #000; width: 100px; text-align: right; font-weight: 600; margin-right: 20px;}
.tdrcBrief-label li>p {width: calc(100% - 200px);}
.tdrc {width: 170px; height: 200px;}
.tdrcImg {width: 170px; padding-top: 28%; position: relative; overflow: hidden;}
.tdrcImg {width: 170px; height: 220px; position: relative; overflow: hidden;}
.tdrcCont-title {background: #f4f8fe; line-height: 44px; border-left: #203175 6px solid; padding-left: 15px; font-weight: 700;font-size: 18px; color: #203175; margin-bottom: 20px;}
.tdrcCont-text {font-size: 16px; line-height: 32px;}
/*媒体报道新增*/
.mediaNew {padding: 20px 20px 0; box-sizing: border-box; width: calc(100% - 400px)}
.mediaNew li {margin-bottom: 30px;}
.mediaNew li:last-child {margin-bottom: 0}
.mediaNew li span {width: 100%; text-align: right; color: #afafaf; display: block;}
.mediaNew-more { position: absolute;right: 0;top: 10px; font-size: 16px; cursor: pointer;}