调整css

This commit is contained in:
2021-06-08 10:35:48 +08:00
parent 73823d24cb
commit ed34892812

View File

@@ -130,7 +130,7 @@ img {max-width: 100%;}
.indexMedia-name img {width: 20px; height: 20px; margin: 10px 10px 0 0;} .indexMedia-name img {width: 20px; height: 20px; margin: 10px 10px 0 0;}
.indexMedia-cont {border: 1px solid #e8e8e8; display: flex; position: relative;} .indexMedia-cont {border: 1px solid #e8e8e8; display: flex; position: relative;}
.indexMedia-img {position: relative; width: 400px; height: 300px; cursor: pointer;} .indexMedia-img {position: relative; width: 400px; height: 300px; cursor: pointer;}
.indexMedia-img::after {position: absolute; content: ''; left: 0; top: 0; width: 100%; height: 100%; z-index: 9; background: rgba(0,0,0,.7);} .indexMedia-img::after {position: absolute; content: ''; left: 0; top: 0; width: 100%; height: 100%; z-index: 9; background: rgba(0,0,0,.1);}
.indexMedia-img img {width: 50px; height: 50px; position: absolute; left: calc(50% - 25px);top: calc(50% - 25px); z-index: 10;} .indexMedia-img img {width: 50px; height: 50px; position: absolute; left: calc(50% - 25px);top: calc(50% - 25px); z-index: 10;}
.indexMedia-essay{width: calc(100% - 400px); padding: 20px; box-sizing: border-box; font-size: 15px; color: #adadad; line-height: 28px;} .indexMedia-essay{width: calc(100% - 400px); padding: 20px; box-sizing: border-box; font-size: 15px; color: #adadad; line-height: 28px;}
.indexMedia-head {height: 80px; color: #000; text-align: center; font-size: 18px;} .indexMedia-head {height: 80px; color: #000; text-align: center; font-size: 18px;}