模板:随机梗图/style.css:修订间差异
< 模板:随机梗图
无编辑摘要 |
小 (→[[分类:模板样式]]) |
||
(未显示1个用户的11个中间版本) | |||
第1行: | 第1行: | ||
<includeonly> |
|||
<style> |
|||
#memesimg { |
#memesimg { |
||
width: |
width: 300px; |
||
height: |
height: 300px; |
||
border: 1px solid; |
|||
display:flex; |
display:flex; |
||
align-items:center; |
align-items:center; |
||
justify-content:center; |
justify-content:center; |
||
margin: 0 auto; |
|||
} |
} |
||
#memesimg a img { |
#memesimg a img { |
||
width: |
max-width: 300px; |
||
height: |
max-height: 300px; |
||
max-width: 100%; |
|||
max-height: 100%; |
|||
object-fit: cover; |
object-fit: cover; |
||
} |
} |
||
/* [[分类:模板样式]] */ |
|||
</style> |
|||
</includeonly> |