Template:Related pages/Related pages.css:修订间差异
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
| (未显示同一用户的3个中间版本) | |||
| 第1行: | 第1行: | ||
.hovers-fade-shallow{ | |||
height: 100px; | height: 100px; | ||
width: 310px; | width: 310px; | ||
| 第15行: | 第12行: | ||
text-align:center; | text-align:center; | ||
overflow:hidden; | overflow:hidden; | ||
} | |||
#picture-box img { | |||
min-height: 100%; | |||
} | } | ||
#text-box{ | #text-box{ | ||
2021年7月21日 (三) 13:32的最新版本
.hovers-fade-shallow{
height: 100px;
width: 310px;
position:relative;
display: inline-block;
}
#picture-box{
height:100px;
width:100px;
position:absolute;
top:0;left:0;
text-align:center;
overflow:hidden;
}
#picture-box img {
min-height: 100%;
}
#text-box{
position:absolute;
top:0;
left:100px;
width:210px;
height:90px;
}